In the beginning, the Web was built on top of a model that consists of the following:
The client sending an HTTP request to the web server
The web server returning an HTTP response with the requested resource
This works really well, and almost every web application is entirely based on this model.
As web applications got more advanced and pages more dynamic, a new model emerged, called Ajax.1 Using Ajax , it’s possible to perform an HTTP request and get the HTTP response without having to refresh the whole page, which is amazing because pages now can be very dynamic. When using JavaScript ...