Login Register

The Book of Dojo

Welcome to the Book of Dojo. This book covers versions 0.9, 1.0, and all follow-on 1.x releases; additions from minor releases are clearly marked for your enjoyment. Please use the forums for support questions, but if you see something missing, incomplete, or just plain wrong in this book, please leave a comment.

For an offline version, click on the Printer-Friendly Page link at the bottom. This assembles the entire book into one long HTML page, which you can then save offline. Caveats: it takes a long time to load, you will get approximately 150 JavaScript errors (which you can ignore), and images won't appear. However, all the text and code will be intact.

Table of Contents



Contributors

Simon Bates David Bolter Matt Bowen Pete Brunet Dipen Chaudhary
Jeff Chimene Lance Duivenbode Sam Foster Becky Gibson Peter Higgins
Martin Humphreys Bill Keese Carla Mott Brad Neuberg Shane O'Sullivan
Shelita Overton Ashish Patil Adam Peller Leesa Payne Craig Riecke, editor
Alex Russell Gerwood Stewart Peter Waegener

A few old names that might be worth adding to the list above...

From the Jot Wiki (original book data that was imported into Drupal)


-Karl

Test Classes - Example Code

The test classes contain a lot of example code. Why not link to them?
http://download.dojotoolkit.org/release-0.9.0/dojo-release-0.9.0-src/dij...

I mean, under dijit.TitlePane documentation, there should be a link to http://download.dojotoolkit.org/release-0.9.0/dojo-release-0.9.0-src/dij...

Yes, I guess we just treat

Yes, I guess we just treat it as assumed: you can always browse the nightly checkouts, or a version and all it's tests and demos at whatever point in time via http://archive.dojotoolkit.org and http://download.dojotoolkit.org ...

the plan is that, rather than use the random tests we put the dijits through (which are nothing more than tests to ensure they work and render and all the various params act as expected) to premier their performance via links in documentation, that we create the API to work with "example" and "demo" packages, premiering and documenting different aspects, or simply just showing it's parameters more clearly.

we just got dojo 0.9 release working with drupal, which is a first step to the inclusion within the API site, http://redesign.dojotoolkit.org

see:
http://dojotoolkit.org/forum/dojox-dojox/dojox-development-discussion/la...

chm

hi, if you creat .chm file for this book ,it is very compact.Thanks

It is highly unlikely

... that a CHM file will be built anytime soon. If anyone would like to do so, along with developing a way to keep it in synch with the real online book, please do!

PDF (via Princexml)

I just managed to build a PDF version via Princexml (after creating a custom.css that hides comments/links etc)
The PDF is 4.2MB and contains 531 pages !!!!!

Issues that should be fixed by editors:
---------------------------------------------------
1) http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fdojotoolkit.org...
2) The "Table Of Contents" needs a hierarcial markup. Nested ul's w/different class names maybe?
3) Each part or maybe "sub-chapter" should be possible to view as one single HTML.

I can make a PDF availiable online and setup a nightly build pretty soon..

Could you please share the

Could you please share the build process with us?

...

The dojo-doc editors have now made a HUUGE printer-friendly HTML available (see 2nd paragraph on-top) ...and it is way better than my css/princexml PDF. I'm currently working on a test using Cocoon2.2 to see if I can make a better "HUGE html" version (maybe 5 smaller HTML's? ).

I'll post a new comment if I succeed (..before the dojo-guys catch up that is :-)

requried pdf file

hi
gr8 job buddy
can u send me that pdf file of dojo tutorial i need that very much

my email id is pankaj139@gmail.com

thanks

try this

try this: fake watches

I'd like the chm or package's html file.

I'd like the chm or package's html file.

Some time i working in the offline.

Printable Version

Looks like the printer friendly version of the entire book has hundreds (thousands?) of these comments before any html/js code (in FF 2.0.0.11):

/* GeSHi (C) 2004 - 2007 Nigel McNie (http://qbnz.com/highlighter) */ ...

Anyone know how to get rid of em?

Josh

Here's How

With firefox's web developer toolbar you can edit the CSS for the printable version and add this style:

.geshistyle { display:none; }

Should remove all those GeSHI comments. You might want to also press the "Stick" button so it stays when you close the editor.

Not sure if there is an IE equivalent - ideally this would go in the print.css file...

Josh

1.1

References should be to dojo 1.1 now.

Josh