Skip to end of metadata
Go to start of metadata

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_View_Helper_Ajax Component Proposal

Proposed Component Name Zend_View_Helper_Ajax
Developer Notes
Proposers Truppe Steven
Revision 1.1 - 1 August 2006: Updated from community comments. (wiki revision: 12)

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.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



Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.