Added by Andrey K. Korolyov, last edited by Matthew Weier O'Phinney on Aug 02, 2006  (view change)

Labels

 

Zend Framework: Zend_Json_RpcServer Component Proposal

Proposed Component Name Zend_Json_RpcServer
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Json_RpcServer
Proposers My E-mail Address
Revision 1.1 - 1 August 2006: Updated from community comments. (wiki revision: 6)

Table of Contents

1. Overview

Zend_Json_RpcServer is a simple component that generates code to make JSON-RPC service.
Example http://php.com.ua/begemot/dojo_example.rar

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • Simple Method Description (SMD)

4. Dependencies on Other Framework Components

  • Zend_Json for encode and decode data

5. Theory of Operation

It's worked but not handle of all situations of method calls.

6. Milestones / Tasks

zone: Missing {zone-data:milestones}

7. Class Index

  • Zend_Json_Rpc_Server

8. Use Cases

UC-01

9. Class Skeletons

A JSON RPC server implementation is fine, but I don't think that it should be dojo specific. Generating an SMD should be a separate class (Zend_Json_Smd?) and the server class should probably be named Zend_Json_Server. It should implement 1.0 of the http://json-rpc.org specification fully and most/all of 1.1 draft.

That is how I have it currently setup.