Chapter 2. The Easy Way to AJAX

If you know how to spend less than you get, you have the philosopher’s stone.

Benjamin Franklin

The core technology of the whole AJAX paradigm is the XMLHttpRequest object. Any AJAX frameworks you might happen to work with will use this object under the hood. If you end up using a different application programming interface (API), well, it’s only an abstraction layer built to overcome browser differences and simplify programming.

By this definition, the programming model of AJAX applications seems to be clear and unquestionable. You write code that captures client-side events, conduct an operation on the server via XMLHttpRequest, get the results, and update the user interface. All the client-side programming is ...

Get Microsoft® ASP.NET and AJAX: Architecting Web Applications 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.