Chapter 22. Advanced Ajax Database Interaction

Now that we have covered basic database interaction with Ajax, we will learn advanced ways of creating database-driven XHRs and their responses. We will cover how to minimize the number of requests to the server by sending bulk data formatted as arrays, XML, or JSON. We will also learn how minimizing the number of requests will speed up our application, help us to create more advanced interactions with the database, and provide us with the beginnings of an API that can be accessible via HTTP in which developers can send requests, pass specific data as parameters, and either receive structured data responses from the web application or store data in the database. The second part of this chapter will ...

Get Ajax for Web Application Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.