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

  • 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: Envelopes
17.2.1. Zend_Dojo_Data Usage
17.2.2. Adding metadata to your containers
17.2.3. Advanced Use Cases Available Methods
17.3. Dojo View Helpers
17.3.1. dojo() View Helper Programmatic and Declarative Usage of Dojo Themes Using Layers (Custom Builds) Methods Available
17.3.2. Dijit-Specific View Helpers Dijit Layout Elements Dijit Form Elements Custom Dijits
17.4. Dojo Form Elements and Decorators
17.4.1. Dijit-Specific Form Decorators DijitElement Decorator DijitForm Decorator DijitContainer-based Decorators
17.4.2. Dijit-Specific Form Elements Button CheckBox ComboBox and FilteringSelect CurrencyTextBox DateTextBox Editor HorizontalSlider NumberSpinner NumberTextBox PasswordTextBox RadioButton SimpleTextarea Slider abstract element SubmitButton TextBox Textarea TimeTextBox ValidationTextBox 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 BuildLayer options Setting the view object Setting the layer name Including onLoad events in the generated layer Including captured JavaScript in the generated layer
17.5.3. Generating Build Profiles with Zend_Dojo_BuildLayer Build Profile options

Previous topic


Next topic



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

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