O'Reilly logo

Microsoft® ASP.NET and AJAX: Architecting Web Applications by Dino Esposito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required