New answers tagged

1

Also, don't be afraid tot tell me it's a silly idea. It's a silly idea :P And here's why: Data caps. The primary hog when it comes to data are things that happen in the background without any user's consent. You wouldn't want to be leeching off a person's data. Battery and heat. Of course, processing takes up resources and resources doesn't come free, ...


1

The examples shown is correct, but Zend\Form is not exactly what you want to use in your controllers. I'm talking about Exhibit A, where it shows how much code to create, populate and style a form with two elements. It is tedious to create forms that way. To avoid turning the controller into a form factory, you need to create a factory that will create the ...


0

I would propose a more objective basis. Go to your existing HTTP logs. Assuming this is an update to an already in the field app, simply pull the logs and examine the HTTP requests which are included. This provides an absolute objective basis fore your load modeling instead of a wetted finger in the air to test the wind. Also, keep in mind from a QA ...


2

It's pretty clear that the main difference, all other things being equal, is related to the number of HTTP requests. For example if your server-generated page uses the right cache control headers and best practices for all of the static assets, then a page navigation will only result in a single http request. It can be very very fast. If your SPA issues ...


1

Absolutely, there is no reason they can not run on the same server. By default the web server runs on port 80 and tomcat runs on port 8080 so there are no port conflicts. I have configured a setup where a static/promo website is served by apache2 and then once the user logs in to the site they will be directed to www.bla.com/app which apache2 directs ...


5

To a large degree, they are both for beginners and veterans alike, although I posit that it will be more attractive to beginners. First off Let's deal with the terminology. Bootstrap is a front end framework, which also offers ready templates. Its only purpose is for you to have a set of tools for the visual parts of your website. Wordpress is a Content ...


-3

A quarter of all websites on the Internet use Wordpress which is about 60 million sites. I would certainly not say that Wordpress is only for beginners, some people make a very healthy career out of working with Wordpress


2

If you must really go that way (sometimes it's a requirement imposed by the "up-aboves"). you could create long explicit String codes ie : ERROR__PROJECT_COULD_NOT_CREATE_THAT_UBER_IMPORTANT_RESOURCE and through a deterministic hashing function turn it into a 32 bit integer. Ideally to be global you should probably have some sort of centralized ...


8

Connecting to a server using ssh coding directly on the server, while it can be beneficial at first because the changes are directly deployed, will usually prove to be bad, because if you realize you have changed a lot of code and the code does not work, you need to go through all the code again and carefully remove it. The pretty much standard today are ...


1

Start small. For any project, ask yourself what you need to have done, bare minimum. Don't worry about what jQuery plugins are available or what version control software to use or what preprocessers you should code for or anything too technical. Start with two files: index.html and script.js. Maybe a few small libs for POC work. A little further down the ...


1

I would say there is always a certain amount of set-ups required to get a project going and I know this can get sometimes annoying. However, if the system turns into a large scale system, this time is well spent and will save you later headaches. To cut down the time ensure to pick a framework that is appropriate for your needs - a lightweight library will ...



Top 50 recent answers are included