Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Make sure documentation you read pertains to as recent a release as possible, since a lot has changed very quickly in the Dojo architecture.</p> <p>Also a great way to see how some Dojo or Dijit widget is used is to look at the source code for the tests - for example, the <a href="http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/grid/tests/" rel="nofollow noreferrer"><code>DataGrid</code></a> has poor documentation but the tests show a lot of use cases and configurations.</p> <p>Sitepen is a good resource for <a href="http://www.sitepen.com/blog/category/dojo/" rel="nofollow noreferrer">Dojo articles</a>.</p> <p>Also, read up on <code>Deferred</code> (and<code>DeferredList</code>), as well as <code>hitch()</code> - two extremely flexible and powerful features of Dojo. SitePen has a great article on demystifying <code>Deferred</code>s.</p> <p>Check out <a href="http://code.google.com/p/plugd/" rel="nofollow noreferrer">plugd</a>, a collection of Dojo extensions that make some things more convenient or adds some clever functionalities to the language. It's made by one of the core Dojo authors so it's rather reliable. It even brings some jQuery niceties into the framework.</p> <p>Some more things: look into data stores, they're very useful and a much cleaner way to handle Ajax. DojoX has a lot of nice ones too, just remember that DojoX ranges in how well documented or how experimental the components are. Learn the differences between dojo.byId and <code>dijit.byId</code>, as well as the HTML attributes <code>id</code> versus <code>jsId</code> (again, Sitepen has an article).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload