Documentation

17.1. Introduction

Zend Framework ships Dojo Toolkit to support out-of-the-box rich internet application development. Integration points with Dojo include:

  • JSON-RPC support

  • dojo.data compatibility

  • View helper to help setup the Dojo environment

  • Dijit-specific Zend_View helpers

  • Dijit-specific Zend_Form elements and decorators

The Dojo distribution itself may be found in the externals/dojo/ directory of the Zend Framework distribution. This is a source distribution, which includes Dojo's full javascript source, unit tests, and build tools. You can symlink this into your javascript directory, copy it, or use the build tool to create your own custom build to include in your project. Alternatively, you can use one of the Content Delivery Networks that offer Dojo (Zend Framework supports both the official AOL CDN as well as the Google CDN).

Table of Contents

17.1. Introduction
17.2. Zend_Dojo_Data: dojo.data Envelopes
17.2.1. Zend_Dojo_Data Usage
17.2.2. Adding metadata to your containers
17.2.3. Advanced Use Cases
17.2.3.1. Available Methods
17.3. Dojo View Helpers
17.3.1. dojo() View Helper
17.3.1.1. Programmatic and Declarative Usage of Dojo
17.3.1.2. Themes
17.3.1.3. Using Layers (Custom Builds)
17.3.1.4. Methods Available
17.3.2. Dijit-Specific View Helpers
17.3.2.1. Dijit Layout Elements
17.3.2.2. Dijit Form Elements
17.3.2.3. Custom Dijits
17.4. Dojo Form Elements and Decorators
17.4.1. Dijit-Specific Form Decorators
17.4.1.1. DijitElement Decorator
17.4.1.2. DijitForm Decorator
17.4.1.3. DijitContainer-based Decorators
17.4.2. Dijit-Specific Form Elements
17.4.2.1. Button
17.4.2.2. CheckBox
17.4.2.3. ComboBox and FilteringSelect
17.4.2.4. CurrencyTextBox
17.4.2.5. DateTextBox
17.4.2.6. Editor
17.4.2.7. HorizontalSlider
17.4.2.8. NumberSpinner
17.4.2.9. NumberTextBox
17.4.2.10. PasswordTextBox
17.4.2.11. RadioButton
17.4.2.12. SimpleTextarea
17.4.2.13. Slider abstract element
17.4.2.14. SubmitButton
17.4.2.15. TextBox
17.4.2.16. Textarea
17.4.2.17. TimeTextBox
17.4.2.18. ValidationTextBox
17.4.2.19. VerticalSlider
17.4.3. Dojo Form Examples
17.5. Zend_Dojo build layer support
17.5.1. Introduction
17.5.2. Generating Custom Module Layers with Zend_Dojo_BuildLayer
17.5.2.1. BuildLayer options
17.5.2.1.1. Setting the view object
17.5.2.1.2. Setting the layer name
17.5.2.1.3. Including onLoad events in the generated layer
17.5.2.1.4. Including captured JavaScript in the generated layer
17.5.3. Generating Build Profiles with Zend_Dojo_BuildLayer
17.5.3.1. Build Profile options

Previous topic

Prev

Next topic

Next

Copyright

© 2006-2017 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts