Getting Started with Dojo in CE
gpapayia 110000S454 Visits (2852)
Of the 5 projects that are loaded by default when you start CE, 3 of them are related to Dojo. These are the Dojo Widgets, Samples and Runtime. You'll notice when using the Visual Editor the palette has the Dojo Widgets populated automatically. We encourage you to jump right into using Dojo in your EGL applications, go ahead and take a look at the Dojo Samples and see just what you can do. A great place to get started is the Gallery sample. This includes all the 0.7.1 Dojo widgets in a single sample.
Remoate vs Local Dojo
As I mentioned above, Dojo is extreamly powerful. What I didn't mention was that power brings not only complexity, but size. Luckily Dojo allows for their runtime to downloaded remotly through content providers like Google, Yahoo or AOL. This paradigm is widely on numerous sites including hpn.to & TechCrunch to name a few. This means you don't need to have the Dojo runtime in your local filesystem, instead Dojo will download the necessary files as your application is loading.
Sounds great, doesn't it? For the most part - but what if you don't have an internet connection or you want to deploy your application with Dojo available locally? Not to fear, we make it easy for you to switch between the remote version of Dojo to a compressed local version. Just follow these steps:
1) Click on the Help Menu -> Search
2) Search for 'Local Dojo'
3) Click on 'Loading the Dojo Toolkit into your local environment'
4) Click 'Get the Dojo Toolkit Project' under 'Import Projects'
At this point you'll see the new project in your worksapce holding the local Dojo Runtime (doj
I think that's enough for now, I hope everyone enjoys CE!