Chapter 4. Ajax Techniques
One of the core characteristics of making responsive web applications is Ajax. Traditionally, in server-side postbacks, whenever a user performs any action, the information supplied in the form is sent back to the server and the same page loads again, containing all the images, CSS, and JavaScript files loaded again on the client side. This approach is quite heavy in terms of the size of the request and response being sent from the client and server. Thus, the application becomes less responsive and the user has to wait for the page to refresh every time any action is taken. In this chapter, we will discuss how to simplify the whole process and avoid heavy server-side postbacks through Ajax.