Dojo provider |
A hosted server |
A local workspace project |
Project name |
com.ibm.egl.rui.dojo.runtime.google_1.3.2 |
com.ibm.egl.rui.dojo.runtime.local_1.3.2 |
Advantages |
The best development performance:
- Performance is much better as the browser can cache more resources.
- You have fewer things in your workspace, making everything in the IDE a bit faster.
- You deploy only your own application, and you don't have to deploy thousands of Dojo files.
|
More flexibility:
- You can work off-line; you don't need the Internet during development.
- You control where Dojo is coming from.
- If you want, you can develop new Dojo widgets yourself and debug the JavaScript.
|
Disadvantages |
Dependency on third parties:
- You have to be online; over a slow connection the very first run can be slow.
- Hosted servers usually implement usage tracking, which you may want to avoid.
- You rely on a third party to maintain the integrity of the Dojo libraries.
|
Slower deployment:
- When you deploy your application, EGL CE will need to copy the thousands of Dojo files to your Web server.
- You will have to serve up the Dojo files from your server, leading to extra bandwidth.
- The startup time for your application may be slower due to browser caching and performance characteristics.
|