Using the Dojo JavaScript Library to Build Ajax Applications

Using the Dojo to build better websites.

By: Staff


As one of the many quotes, at the start of each chapter, suggests, it's best to show rather than tell. So Using Dojo takes a practical approach by taking the reader through building registration form over the course of the first section. The first five chapters that make up the first section start with an introduction and is followed by chapters covering how Dojo can help in the different areas of form processing.

This starts with client-side validation; here the reader gets an introduction to Dojo's style of adding attributes to html tags. Dojo takes the route of adding custom attributes to standard html tags, probably familiar to users of other JavaScript libraries. This is followed by a chapter on some of Dojo's Ajax processing features, with a demonstration of the built-in auto-completion widget. The next chapter introduces more of Dojo's widgets, showing how to add rich text forms. Finally, the first section ends with a chapter on processing the form.

While some JavaScript libraries are only now getting an official user interface library (jQuery) or animation is handled by a separate library (Prototype), a major feature of Dojo has been making a desktop-like interface possable from the start. The middle section of the book is all about Dojo's widgets. There is an extensive section documenting the dozens of widgets available and will probably be the most marked-up section of this book.

Finally, the third section takes an in-depth look at Dojo. Here the reader learns a bit more about Dojo's past and future, and its system of modules. Following chapters cover: objects and classes, strings and JSON functions, event handling, using Dojo's aspect-orientated features, Ajax remoting, working with DOM, and finally testing and debugging.

Date published: 24-Jul-2008





Learning jQuery 1.3

Learning to use jQuery to build better websites, though examples and popular plug-ins.

Prototype and script.aculo.us

Using the Prototype and script.aculo.us Javascript libraries to simply your life.

Pro Javascript Techniques

John Resig knows Javascript.

High Performance JavaScript

Performance is in the details.

Map Scripting 101

Beyond GoogleMaps, using Bing and Yahoo maps in your web apps.


2019 YYZTech

For American computers stores, visit: AmericanComputerDealer.com