O'Reilly logo

Dojo: Using the Dojo JavaScript Library to Build Ajax Applications by James E. Harmon

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

Remoting

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

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