15
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access