This is my first habrapost, therefore I ask to criticize constructively. The purpose of this lesson is to give a starting point for those who have not experienced Dojo before. We will deal with setting up and connecting Dojo, as well as writing a small example of Dojo AJAX interaction.
Requirements
First of all, of course, you need a working Dojo.
Then you need a web server. Although the Dojo JavaScript library can be used without a server, in this tutorial we will analyze AJAX, so let's use some server-side scripting language, for example, PHP or ASP.
IE6 / 7, Firefox 2 (with the third version there are problems) or Safari will work as a browser.
There are three Dojo installation methods:
Without installing anything, use the Dojo from AOL CDN
Install the latest release on your server
Get Dojo from Subversion
Connecting Dojo from CDN
This is the quickest and most painless method. You simply load Dojo via the tag.