CHAPTER 8

image

Introduction to Ajax

Ajax is a term coined by Jesse James Garrett of Adaptive Path to describe the asynchronous client-to-server communication that is made possible using the XMLHttpRequest object, which is provided by all modern browsers. An acronym for Asynchronous JavaScript and XML, Ajax has evolved into a term used to encapsulate the techniques necessary to create a dynamic web application. Additionally, the individual components of the Ajax technique are completely interchangeable—using JSON instead of XML (for example) is perfectly valid.

Since the first edition of this book, usage of Ajax has changed significantly. Once an exotic ...

Get Pro JavaScript Techniques, Second Edition 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.