<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_Json_Server makes it easy to build a JSON-RPC server. This proposal is about extending this component to also support JSONP.Zend Framework: Zend_Json_Server Component Proposal
Proposed Component Name
Zend_Json_Server
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Json_Server
Proposers
Lode Blomme
Zend Liaison
TBD
Revision
1.0 - 7 December 2009: Initial Draft. (wiki revision: 8)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Json_Server
5. Theory of Operation
When a request is received by the Zend_Json_Server, it is checked for either being a JSON-RPC request or a JSONP request (request resides in POST or in GET). A JSONP request has an extra parameter, the name of the callback method. Once a JSONP request is processed the response data should be wrapped in a function call, calling the callback method.
6. Milestones / Tasks
- Milestone 1: design notes will be published here
- Milestone 2: Working prototype checked into the incubator supporting all use cases.
- Milestone 3: Unit tests exist, work, and are checked into SVN.
- Milestone 4: Initial documentation exists.
7. Class Index
- Zend_Json_Server
- Zend_Json_Server_Request
- Zend_Json_Server_Smd
8. Use Cases
Zend_Json_Server should keep working as it does today. You create the server, and let it handle the request.
1 Comment
comments.show.hideFeb 05, 2011
Dolf Schimmel (Freeaqingme)
<p> Archiving this proposal, feel free to recover it when you want to work on it again. For more details see <a href="http://framework.zend.com/wiki/display/ZFDEV/Archiving+of+abandoned+proposals+(Feb+5+2011)">this email</a>.</p>