Setting Up Dojo Integration in Zend Framework Projects
The Dojo library can also be added to Zend Framework projects through the New Zend Framework Project wizard. When creating a Zend Framework project, mark the 'Enable Dojo Support' checkbox in the Dojo Support category. This will create a link to the external Dojo toolkit library, allowing for Dojo development functionality.
Note:
This option will only be available if Zend Framework version 1.6 was selected.
Figure 103 - New Zend Framework Project - Dojo Support In addition, you can select to import the JavaScript library into your project. The link to the external library will still be maintained, so you do not have to add this Dojo library to your JavaScript Build Path (this will speed up the JavaScript build process).
Figure 103 - New Zend Framework Project - Dojo Support In addition, you can select to import the JavaScript library into your project. The link to the external library will still be maintained, so you do not have to add this Dojo library to your JavaScript Build Path (this will speed up the JavaScript build process).
Note:
The Dojo library may take a couple of minutes to import. If you are using Dojo for development purposes only, we recommend that you do not import it into your project.
If you did not enable Dojo support for the project during its creation, you can do so by adding the Dojo for Zend Framework library to the project's build path.
See the Adding Built-in Libraries section of Setting the JavaScript Build Path topic for more information.
Post a comment