Zend Framework: Zend_View_Helper_Ajax Component Proposal
| Proposed Component Name | Zend_View_Helper_Ajax |
|---|---|
| Developer Notes | http://framework.zend.com/wiki/display/ZFDEV/Zend_View_Helper_Ajax |
| Proposers | Truppe Steven |
| Revision | 1.1 - 1 August 2006: Updated from community comments. (wiki revision: 11) |
Table of Contents
1. Overview
Zend_View_Helper_Ajax is a simple view helper to use the javascript library of your preference to send AJAX requests.
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
- This view helper will provide a way to use different javascript libraries to send AJAX requests.
- It will be able to send formular data.
- It will be able to send and recieve text & json & xml.
- It will provide global options for handling multiple AJAX request with same basic settings.
4. Dependencies on Other Framework Components
- Zend_View
5. Theory of Operation
6. Milestones / Tasks
At the moment i try to find the common use cases that should get solved and i'm working on the basic implementation to get a few working examples.
- Milestone 1: "[DONE]" think about how to implement things
- Milestone 2: get user feedback to find basic use cases
- Milestone 3: final implementation
- Milestone 4: unit tests
7. Class Index
- Zend_View_Helper_Ajax
- Zend_View_Helper_Ajax_Adapter_Interface
- Zend_View_Helper_Ajax_Adapter_Abstract
- Zend_View_Helper_Ajax_Adapter_Prototype
- Zend_View_Helper_Ajax_Adapter_Jquery
8. Use Cases
| UC-01 | send Form data |
|---|---|
| UC-02 | insert result of AJAX request into DOM element (clear-and-insert, append.top, append.bottom) |
| UC-03 | pass result of AJAX request to a callback (onSuccess, onError) |
Please make comments on other use cases that might be of interest.
9. Class Skeletons
Labels:
None