Modern web applications make intensive use of AJAX. This is a concept that can be defined as a technique of using the JavaScript programming language for sending the HTTP request to a remote server without the need to reload the page. The main advantage of this technique is the speed, no doubt. We don't need to reload all the content of the page causing many extra requests. Other times, reloading a page implies that we carry out only one request but if this requests returns a lot of information - for example, 50 records with 10 fields for each one, we need more time. Apart from the speed, another clear advantage of AJAX is the savings in bandwidth consumption. If we make few requests, we're saving bandwidth. In fact, the user can perceive this savings bandwidth as a faster response.
AJAX is a set of technologies such as XML, XHTML, and the DOM model where JavaScript acts as glue between them. Thanks to JavaScript, developers can invoke server-side code from the client side avoiding...