O'Reilly logo

Learning Dojo by Peter Svensson

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 4. Ajax Communication

Ajax is the very backbone of an Ajax toolkit, providing the developer with useful methods to take full control of the JavaScript client's communication with the server it was loaded from.

In recent years, new ways of transporting data have been implemented that do not require the data to be located on the same server. Even though those methods of transport are of another kind (dojo.io.script, below, for example), they are still managed in a similar manner in Dojo.

Dojo also provides some interesting abstractions on top of Ajax communications, such as remote procedure calls and data stores (which will be covered in a chapter of their own).

Dojo Ajax features

XHR is an acronym for XmlHttpRequest. It doesn't actually force ...

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