Product Details
Dojo: Using the Dojo JavaScript Library to Build Ajax Applications (Developer's Library)

Dojo: Using the Dojo JavaScript Library to Build Ajax Applications (Developer's Library)
By James E. Harmon

List Price: $39.99
Price: $26.39 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

32 new or used available from $17.99

Average customer review:

Product Description

Dojo offers Web developers and designers a powerful JavaScript toolkit for rapidly developing robust Ajax applications. Now, for the first time, there’s a complete, example-rich developer’s guide to Dojo and its growing library of prepackaged widgets. Reviewed and endorsed by the Dojo Foundation, the creators of Dojo, this book brings together all the hands-on guidance and tested code samples you need to succeed.

Expert Web developer James E. Harmon begins by demonstrating how to “Ajax-ify” existing applications and pages with Dojo, adding Ajax features such as client- and server-side validation as quickly and nondisruptively as possible. Next, he presents in-depth coverage of Dojo’s user interface, form, layout, and specialized Widgets, showing how they work and how to use them most effectively. Among the Widgets, he covers in detail: Date Pickers, Rich Text Editors, Combo Boxes, Expandable Outlines, and many others.

In conclusion, Harmon introduces the Dojo toolkit’s powerful capabilities for simplifying Ajax development. He thoroughly explains Dojo’s helper functions, shortcuts, and special methods, illuminating each feature with examples of the JavaScript problems it can solve. This section’s far-ranging coverage includes strings, JSON support, event handling, Ajax remoting, Dojo and the DOM, testing, debugging, and much more. All source code examples are provided on a companion Web site, including source code for a complete tutorial case study application.


Product Details

  • Amazon Sales Rank: #164264 in Books
  • Published on: 2008-06-21
  • Number of items: 1
  • Binding: Paperback
  • 336 pages

Editorial Reviews

About the Author

James E. Harmon is the President and Senior Instructor at Object Training Group in Chicago. He is an experienced developer who spent a majority of his career building large scale online applications at Accenture and for several other Web-centric consulting firms. He now specializes in training Java Developers to be more productive by using the latest technologies and frameworks.

The book’s web site is http://www.ObjectTrainingGroup.com/dojobook.


Customer Reviews

Good introduction to Dojo4
This book provides a good introduction to Dojo. It answers these questions:
1. What is Dojo?
2. What can Dojo do for me?
3. How can I start using Dojo right now?

You've probably created at least a few (if not many) web forms to gather input from your users and thought "Shouldn't there be an easier way to (insert your complaint here)?" The author goes through a list of these common gripes and shows how you can tackle each one with Dojo. In the beginning, he highlights a few key areas - such as form widgets, validating fields, and form submission. Once you begin to grasp the power and usefulness of Dojo, he goes through a deeper look into all the widgets (form, layout, and specialized) and the base Dojo libraries (string utilities, AJAX utilities, event handling, etc.)

This book is not a complete reference to all things Dojo, but it does a great job of focusing on the common and most used features to get you started. This approach allows you to wade into the Dojo pool at your own pace rather than diving into the deep end and getting quickly overwhelmed by the total package that Dojo offers.

A weak introduction to Dojo2
I was a little disappointed in this book, but before I go on to the reasons let me explain what I am looking for. I am not new to programming, web development, or writing fairly complicated applications with Javascript. I am already fairly familiar with toolkit such as Ext and Dojo before the version jump. I was hoping this book would be a good reference and guide to working with the features of Dojo. I am not as interested in "dojoifying" web pages as I am in creating Javascript applications that heavily integrate with Dojo. This book may be decent for a web developer that wants an introduction to adding Dojo to web pages, but for a software engineer that wants to really get in depth in Dojo this book seems fairly week to me.

The book has 316 pages and is broken down into 3 sections.

Section I is called "Dojo a Tutorial." This walks the reader through a standard web form implemented without Dojo and then the process of switching to Dojo Widgets and simple client/server communication. (63 pages)

Section II is "Dojo Widgets." This section is a decent reference to many widgets including the layout widgets which get their own chapter. It includes HTML Markup Examples and Javascript constructor examples. I really like these, but they usually seem to be very basic. It also has nice pictures of many of the widgets and layouts to help you understand what they are. I like this section, but unfortunately it is limited to the core features of each widget. The examples are pretty bare, and many of the non-essential features are left out. I do see this being one of the more useful parts of the book, but I really wish there was more depth to it. (121 pages)

Section III is "Dojo in Detail."
This contains a lot more of the meat of the book, but everything remains pretty lightweight. Some examples and references are given to the Dojo API and various helper function included in Dojo. There is some talk of JSON, event handling, XMLHttpRequests, and testing. This is all good stuff, but it really lacks depth. Everything just seems to brush against the surface. It still is essential and will help someone get started, but I don't think it will take you very far beyond that. (112 pages)


I have only had this book a few days now. I am really glad that books on Dojo are starting to come out. I haven't yet received any of the other new Dojo books, so I can't compare them. This book is alright for getting started and for a light reference to common features. My big complaint is the lack of depth.

I wish there were more examples and more details of the features and internals of Dojo. A chapters on making your own widgets instead of a 3/4 page mostly irrelevant section would have been nice. More details on customizing and overriding Dojo's CSS to make your application look the way you want it to would have been great. I think Dojo's grid feature deserves a chapter since it is something that so many applications can take advantage of. There are many things of this sort that the book either left out or just lightly touched.

Overall I'm giving this 2 stars. It's alright, but it's not what I need. I don't think this book contains nearly enough depth to help people far along into building Ajax Applications. It is a good intro and a reference to basic features. It can be helpful to a web developer looking to add some Dojo functionality to a site. For the serious user though this book really doesn't have enough content to take you very far into using Dojo.