|
QuickStart
Everything you need to know to get going with dAIR
IntroductiondAIR is a new Dojo namespace, created to ease the development of Adobe AIR applications by utilizing the Dojo Toolkit library. The goal is to brige the gap between the incredible features provided in AIR and the easy-to-use conventions you already know as a Dojo developer. First Steps ... InstallationIn order to use this package, you will need the Adobe AIR SDK installed: http://www.adobe.com/products/air/tools/sdk/ And a copy of the Dojo Toolkit: http://dojotoolkit.org/downloads Place the dojo/, dijit/ and dojox/ folders inside the js/ folder located in this archive. You should have a tree like: application/ README Application.xml js/ dojo/ dojo.js dijit/ dojox/ dair/ AIR.js util/ tests/ Application.html The 'dair' folder can be placed as a sibling to any Dojo tree 1.1 or higher, and will work out of the box. If you wish to work directly from subversion and omit the tests and sample applications, you can checkout just the dair/ source folder from SVN, and place it as a sibling to your dojo/, dijit/, and dojox/ folders within your application: svn co http://dair.googlecode.com/svn/trunk/js/dair/ dair Run the first test by executing the 'adl' program provided by the AIR SDK: #bash$ adl ./Application.xml If adl is not found, you may need to add the SDK/bin folder to your $PATH setting. New to Dojo?If you have not previously used Dojo, the Dojo QuickStart provides a wealth of getting started information, and is suggested you read that before continuing. |
Sign in to add a comment