Start reading Dojo: The Definitive Guide: The Definitive Guide on the free Kindle Reading App or on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.
Programming Books C Java PHP Python Learn more Browse Programming Books

Deliver to your Kindle or other device

Enter a promotion code
or gift card

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Sorry, this item is not available in
Image not available for
Image not available

To view this video download Flash Player


Dojo: The Definitive Guide: The Definitive Guide [Kindle Edition]

Matthew A. Russell
3.6 out of 5 stars  See all reviews (27 customer reviews)

Digital List Price: $31.99 What's this?
Print List Price: $39.99
Kindle Price: $17.27
You Save: $22.72 (57%)


Amazon Price New from Used from
Kindle Edition $17.27  
Paperback $28.40  
Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now
This title is not available for Kindle 1st generation devices, but is available for newer Kindle devices and free Kindle reading applications.

Book Description

Of all the Ajax-specific frameworks that have popped up in recent years, one clearly stands out as the industrial strength solution. Dojo is not just another JavaScript toolkit—it's the JavaScript toolkit—and Dojo: The Definitive Guide demonstrates how to tame Dojo's extensive library of utilities so that you can build rich and responsive web applications like never before. Dojo founder Alex Russell gives a foreword that explains the "why" of Dojo and of this book.

Dojo provides an end-to-end solution for development in the browser, including everything from the core JavaScript library and turnkey widgets to build tools and a testing framework. Its vibrant open source community keeps adding to Dojo's arsenal, and this book provides an ideal companion to Dojo's official documentation.

Dojo: the Definitive Guide gives you the most thorough overview of this toolkit available, showing you everything from how to create complex layouts and form controls closely resembling those found in the most advanced desktop applications with stock widgets, to advanced JavaScript idioms to AJAX and advanced communication transports. With this definitive reference you get:

  • Get a concise introduction to Dojo that's good for all 1.x versions
  • Well-explained examples, with scores of tested code samples, that let you see Dojo in action
  • A comprehensive reference to Dojo's standard JavaScript library (including fundamental utilities in Base, Dojo's tiny but powerful kernel) that you'll wonder how you ever lived without
  • An extensive look at additional Core features, such as animations, drag-and-drop, back-button handling, animations like wipe and slide, and more
  • Exhaustive coverage of out-of-the-box Dijits (Dojo widgets) as well as definitive coverage on how to create your own, either from scratch or building on existing ones
  • An itemized inventory of DojoX subprojects, the build tools, and the DOH, Dojo's unit-testing framework that you can use with Dojo—or anywhere else

If you're a DHTML-toting web developer, you need to read this book—whether you're a one-person operation or part of an organization employing scores of developers. Dojo packs the standard JavaScript library you've always wanted, and Dojo: The Definitive Guide helps you transform your ideas into working applications quickly by leveraging design concepts you already know.

Editorial Reviews

Book Description

Powering Up Ajax Development Techniques

About the Author

Matthew A. Russell is a computer scientist who currently lives in Franklin, TN. Hacking and writing are two activities essential to his renaissance man regimen.

Product Details

  • File Size: 2461 KB
  • Print Length: 500 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (February 9, 2009)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B0043EWVGK
  • Text-to-Speech: Enabled
  • X-Ray:
  • Lending: Not Enabled
  • Amazon Best Sellers Rank: #570,558 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

Customer Reviews

Most Helpful Customer Reviews
23 of 27 people found the following review helpful
5.0 out of 5 stars The First Book of Its Kind June 21, 2008
Format:Paperback|Verified Purchase
I'm up against a deadline for a web application. The going is slow when you
have to hand-carve the HTML, JavaScript, CSS and PHP. Dojo saves you at least
two-thirds of the work, so I'm very grateful for it. But it takes some getting
used to, and the on-line documentation is, well, succinct.

Russell's book came along just in time. It's a lifesaver.

The Introduction alone is worth the price. I found out about
some invaluable Web development debugging tools that I'd never seen before.
Russell provides a clear, concise explanation of some very important JavaScript
notions: Closures, Context, and Anonymous Functions. And all of this before
we even get to the toolkit!

The book makes the Dojo easy to use and easy to understand. There's a wealth
of coding examples, as well as complete lists of objects, methods, and so forth.
Comment | 
Was this review helpful to you?
13 of 16 people found the following review helpful
5.0 out of 5 stars The Dojo Mojo July 1, 2008
Format:Paperback|Verified Purchase
Matthew Russell has captured what makes Dojo the "magic sauce" of the Ajax world. As he indicates in the book's dedication, Dojo can be your friend in combating browser idiosyncrasies. Since Russell has been an active participant in the Dojo development community for a long time, he's in an excellent position to write from an expert's viewpoint. Another Amazon reviewer has covered the book's contents thoroughly. "Dojo: The Definitive Guide" is very well-organized and covers lots of ground. I appreciate the fact that the author doesn't simply rehash online documentation; instead he provides real insight and coherent explanations. Like most O'Reilly books, the table of contents and index are invaluable in rapidly honing in on a particular subtopic.

To get the most out of this book, you do need to have some web development background (JavaScript, CSS, HTML), but then who else would be purchasing this book? While the book might have benefited from a discussion of Dojo use with YUI, Google Gear, or other toolkits, the author points out this is out of scope. I imagine this saved more than a few trees. (Check out the ongoing efforts of the OpenAjax Alliance if you need to combine multiple frameworks.) I would have preferred access to the code examples packaged in a convenient zip file; perhaps the author will add that to his O'Reilly catalog page (URL given in the preface or just search for "Dojo" at However, these points do not detract from the thoroughness in which Russell has covered a difficult and rapidly changing topic.

This book is certainly worthy of the fine O'Reilly imprint. The fact that it is edited by the always discerning Simon St. Laurent is definitely a plus. If you are a web developer who needs cross-browser support, you need this book in your library.
Comment | 
Was this review helpful to you?
7 of 8 people found the following review helpful
5.0 out of 5 stars A must Have for Dojo Developers September 30, 2008
Format:Paperback|Verified Purchase
This book is an outstanding resource for anyone who plans to work with the Dojo Toolkit. Dojo is my personal favorite toolkit for JavaScript development. This book really helps to explain not only the "how to" of Dojo but also the "how come". It is a great reference for Dojo's core functionality, for Dojo's Dijit widgeting system and for the Dojo build system and test harness. It gives great practical advice on how to exploit the power of dojo.query, and provides great coverage of Dojo's data stores for data source abstraction. It has excellent coverage of dojo.fx for animations, it provides an invaluable desktop reference for Dijit. There is also a excellent coverage Dojo's Data Transport apis like XmlHttpRequest, Script Tag injection for JSONP or JSON with a check string mechanism), as well as the use of iframes for data transport.
If you are working with Dojo this book will make your life a whole lot easier.

One thing you should know before buying this book. It does not have in depth coverage of anything in the Dojox package, so you will not find anything in this book on the Data Grid!

Take a few days and give it a read, then keep it on your desk for reference. You can't go wrong.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
Any computer library strong in web development will find DOJO: THE DEFINITIVE GUIDE an excellent introduction which covers all 1.x versions and offers plenty of examples and tested code sets. From customizing Dojo to overseeing developers using Dojo in larger settings, this offers the programmer/manager a set of keys to working efficiently with Dojo to produce superior layouts and web applications.

Diane C. Donovan
California Bookwatch
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Excellent, but dated May 25, 2010
I concur with all the excellent reviews here, but it only covers Dojo 1.1 and we are now at 1.4 and so much has changed, I can't even get his examples working. How about updating the is 2 years old!!!
Comment | 
Was this review helpful to you?
7 of 9 people found the following review helpful
5.0 out of 5 stars Fills in the necessary blanks on Dojo June 22, 2008
Dojo is a comprehensive JavaScript toolkit that provides a layer of insulation between you and browser inconsistencies by leveraging JavaScript and other web technologies. Dojo is very good in situations where YUI is already being used. Dojo has a standard JavaScript library with a collection of drop-in replacements for customized HTML controls and CSS layout hacks, build tools, and unit tests.

Part 1 of this book is a standard library reference that exposes you to the various nooks and crannies of Base and Core, the parts of the toolkit that comprise a JavaScript standard library. Base contains rich functionality as diverse as AJAX calls, DOM querying based on CSS selector syntax, standardized event propagation, and functional programming utilities like map and filter. Core includes lots of additional features for operations like animations and drag-and-drop. While this can be incredibly useful, these features just aren't as common to all use cases as the features in Base.

Part 2 explores the rest of the toolkit, including complete coverage of Dijit, the rich layer of drop-in replacements for customized HTML controls. Dijit is designed so that it can be used in the markup with little to no programming required, and makes it possible to build attractive web pages that already look and behave much like user interface controls from desktop applications.

Part 2 concludes with a discussion of the build system and unit testing framework provided by Util. The build system includes a highly configurable entry point to ShrinkSafe, a tool that leverages the Rhino JavaScript engine to compress code by as a third or more. DOH stands for the Dojo Objective Harness, and provides a standalone system for unit testing your JavaScript code. This is also discussed here.
Read more ›
Was this review helpful to you?
Most Recent Customer Reviews
3.0 out of 5 stars Decent, but flawed
While this book is a reasonably complete introduction to Dojo, it has several flaws.

One: it's badly out of date, and needs to be expanded to cover the many changes made... Read more
Published 7 months ago by E. Rothmayer
1.0 out of 5 stars Almost Useless for My Professional Use
Great material for Dojo v1.5 and earlier. Unfortunately, I had to use Dojo v1.8.1, and the book was useless, since the entire syntax for Dojo commands changed for v1.8... Read more
Published 12 months ago by Robert E. Ryan
2.0 out of 5 stars OK, but outdated.
Good for an introduction to DOJO, but the book is outdated and DOJO has moved forwards. Sadly the pace of software changes rapidly outpaces the speed at which books can be... Read more
Published 14 months ago by skykam
3.0 out of 5 stars Good intro, but a bit outdated
This book sadly needs updating. It corresponds to a version that has been replaced by the newer stuff. . .
Published 18 months ago by Dan P
1.0 out of 5 stars cant really complaint since i only paid 2.35 for used
this author introduces API but doesnt really go into them. fine, he basically tell you to check online. kinda wonder why we need to buy this book. Read more
Published 23 months ago by anonymous
2.0 out of 5 stars Ask Felgall - Book Review
This book is well written and covers the material in a consistent way but it gives me the impression that the JavaScript library that it is describing how to use leaves much to be... Read more
Published on November 29, 2011 by Stephen Chapman
1.0 out of 5 stars Examples and Explanations are Incomplete
I was trying to create a Dojo Tree object from a large JSON string that I was generating at runtime on a server. Read more
Published on October 26, 2011 by Timothy Rogers
4.0 out of 5 stars Covers all you need to know for getting started with a serious Dojo...
Content was what I expected. There are a few more typos than I hoped for in an O'Reilly book, but the examples are clear enough
Published on May 22, 2011 by JoshN
5.0 out of 5 stars Very Decent Book
I kind of wish it wasn't so out of date but for dojo 1.1/1.2 this is a great guide (Dojo is now on 1.6 I think)
Published on September 17, 2010 by Benjamin Bronson
3.0 out of 5 stars Not comparable to Javascript the definitive guide
This book covers most of the main dojo/dijit components - but is quite lacking with regards to the dojox area. As a "Definitive" guide - these topics should be covered in depth. Read more
Published on April 30, 2009 by J. McGroarty
Search Customer Reviews
Search these reviews only

More About the Author

Matthew Russell (@ptwobrussell) is Chief Technology Officer at Digital Reasoning, Principal at Zaffra, and author of several books on technology including Mining the Social Web (O'Reilly, 2013), now in its second edition. He is passionate about open source software development, data mining, and creating technology to amplify human intelligence.

Matthew studied computer science and jumped out of airplanes at the United States Air Force Academy. When not solving hard problems, he enjoys practicing Bikram Hot Yoga, CrossFitting and participating in triathlons.

What Other Items Do Customers Buy After Viewing This Item?


Search Customer Discussions
Search all Amazon discussions

Start a new discussion
First post:
Prompts for sign-in

Look for Similar Items by Category