Dojo Build System Example

» 02 March 2010 » In development, tech »

So one of the questions that comes up time and time again on the Dojo mailing list is how to get a build working.

Like most things Dojo, it’s not that hard, but the system is designed to be flexible enough to fit around your workflow as well as providing the bells and whistles needed to optimise for more advanced use cases. This has a couple of problems:

  1. Writing documentation is tricky – it’s hard to get the basics down and cover all the extras in the same document, and
  2. there’s a steep learning curve – as a newbie it’s hard to know which knobs to turn, which to ignore, and which to tinker with

Additionally in my experience working examples are easier to understand than written documentation. They allow you to play with the options and convert them incrementally to your project.

So I created a simple example, and added it to the Dojo wiki. You can find it here (new site) or here (old site). Hope it helps!

Tags:

Trackback URL

  1. mrtom
    Tobias Klipstein
    15/03/2010 at 12:00 am Permalink

    You can find your simple build example in the reference guide by appending .html to the url:

    http://dojotoolkit.org/reference-guide/build/simpleExample.html

  2. mrtom
    mrtom
    15/03/2010 at 9:45 am Permalink

    Thanks Tobias. Post updated!