The installation of Dojo is done in three steps: download, inclusion on the site and loading Dojo when the opening the site.
Once downloaded, you will have three folders: "dojo", "dijit" and "dojox" (the latter is in fact an extension of the basic framework).
Copy the three folders to the root of your website (or in a subfolder).
Loading Dojo when the opening the site
Last step, the most important: ask the user's browser to load the framework when loading the site. For this, simply place the following in the "head": a tag source in the "head"
That's it! Dojo is now ready for use on your site!
How to use the framework?
The addOnLoad method
The dojo.addOnLoad() method: This method is called when the site us loaded. To end the session simply use the dojo.addOnUnload() method, upon closing the website.
Simply place in the home page of your site a JS script calling this method:
// Place the code to be launch when site is loaded here
The "Application" class
Start by creating a "Application.js" file.