Ajax Remoting

A fair request should be followed by the deed...

—Dante Alighieri (1265–1321)

When most developers think about Ajax, they are thinking about the XMLHttpRequest object—the special object that allows JavaScript to make requests of the server without refreshing the entire page. After the server returns the request, the response data can be used to manipulate the page in some way. It is this object that is the key to creating Ajax-enabled web pages. And as you might imagine, Dojo provides powerful functions for creating and working with request objects. This chapter describes those functions and their uses.

15.1. Remoting

To set the context for this chapter, let’s remind ourselves of the technique used by pre-Ajax web pages to provide ...

Get Dojo: Using the Dojo JavaScript Library to Build Ajax Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.