There are three primary ways you can download Dojo and prep for development: downloading an official release, checking out the latest and greatest from Subversion, and using a cross-domain (XDomain) build that’s available from AOL’s Content Developer Network (CDN). Let’s walk through each of these options. Although downloading an official release to your local machine is the most typical approach, you’ll see there can be tremendous value in the other approaches as well.
Downloading the latest official Dojo release from http://dojotoolkit.org/ is by far the most traditional way to prep for development. An “official” release is really nothing more than a tagged, blessed snapshot from the Subversion repository that has been well-tested and that comes with some helpful release notes. Heading on over to http://dojotoolkit.org/ and downloading the latest and greatest is the first step to getting started, so go ahead and knock that one out.
The examples in this Short Cut assume that you’ve downloaded and
uncompressed your build of Dojo into a folder named
www so that your build of Dojo ends up sitting at a
path like www/dojo-release-1.0.0. However, to keep
your setup as generic as possible, let’s also agree that you’ll create a
symbolic link called
js (short for
your build of Dojo. This small modification had the advantage of
allowing you to use a relative path such as
www/js to point ...