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

Where i can find dojo

Where i can find dojo tutorial in PDF format?

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

eBook

Hello! Does anyone have .pdf or .chm available? if so, post the link to it please...

Google Chrome browser issues

I've noticed that several widgets do not function in the new Google Chrome browser. This is a very nice browser and as such I anticipate it being popular with web users. To be specific the "inline edit" and "number spinner" aren't working (I haven't looked beyond those yet). Is support for Google Chrome anticipated? BTW They work fine to my knowledge elsewhere.

Yes, we plan to support

Yes, we plan to support Google Chrome, but as it has recently come out, we will likely not fully support it until Dojo 1.3 or perhaps 1.4, depending on if 1.3 needs to be released soon.

Acrobat PDF version

I am new to dojo - and one of my major frustrations is not dojo itself -- but the amount of time I spend pulling my hair out only to learn that what I am working with is an older version.. specifically grids and trees. I am amazed with TreeV3 (at least from what I read) and with the new grid --- I just wish that I hadn't spent three days each on both with older versions... only to find the new one by accident.

Perhaps it is just me (not always the brightest card in the deck); but at least it helps me appreciate everything new that I find.

So -- I don't know if this will help or not. I used acrobat 7 to scrape a lot of the dojo book into a single searchable pdf of about 2300 pages (21 mb). If anyone's interested (and assuming its cool to do so), I can submit it.

CT

TreeV3 is obsolete

I do not believe it is even available in the latest versions. dijit.Tree is the supported widget now. Where are you downloading it from and what version are you using? You'll want to start with Dojo's latest release -- see the link on dojotoolkit.org -- or if you want to live on the edge, you can grab a nightly from archive.dojotoolkit.org.

If you need more assistance, you should try the forums or IRC.

Request Printable version of Dojo book 1.0

Could you kindly submit the printable version of Dojo Book 1.0. Your help will be greatly appreciated. My email is tss4004@yahoo.com

I need the book to learn to

I need the book to learn to develop apps basing on dojo.