Preparing to use the EGL Dojo widgets
You can develop with the EGL Dojo widgets by using either a local or remote version of the Dojo Toolkit. In either case, you must specify the Dojo Toolkit provider on your EGL build path.
- Local
- The Dojo Toolkit must be imported into your workspace to provide the necessary code for the EGL Dojo widgets to run locally.
- Remote
- To use the Dojo Toolkit remotely, you must connect to the toolkit though a provider such as Google or AOL. The provider hosts the Dojo Toolkit for use by Dojo developers.
You might use a local version of the toolkit instead of a remote version for many reasons. The next table reviews the advantages and disadvantages of local and remote access.
| Local | Remote |
|---|---|
Flexibility
|
Performance
|
Slower at deployment and run time
|
Dependency on third parties
|
One scenario is to develop with a remote version of the toolkit and to deploy with a local version. In this way, you have the fastest development experience and can control the version of the Dojo toolkit that is hosted on the application server to which you deploy your application.