3

Using Dojo to Workwith the Server

You’re gonna have to serve somebody.

—Bob Dylan

This chapter describes how we can use Dojo to communicate with a server. Two of the primary purposes that the server can fill are to run processes and provide data. Examples of both of these are provided in this part of the tutorial.

3.1. Adding Server-side Features

Although Dojo calls itself a JavaScript library, it is often categorized as an Ajax library instead. Though the characterization might not be accurate, it is understandable. Because there is no “International Organization For the Definition of Ajax,” the term has been used in a variety of ways. In general, it’s used to refer to web pages that access the server without benefit of a full page refresh ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.