<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Amf_Server provides Action Message Format (AMF3) support for the Zend Framework that is compatible with the Flash Player 9 and above. The Adobe Integrated Runtime (AIR) and Flash Player uses AMF to communicate between an application and a remote server. AMF encodes remote procedure calls (RPC) into a compact binary representation that can be transferred over HTTP/HTTPS protocol. Objects and data values are serialized into this binary format, which increases performance as the AMF serialization is a highly optimized procedure in the Flash Player. Zend_Amf_Server will act as an AMF gateway to the Zend Framework by exposing through introspection custom class objects and functions that will respond as callbacks through the Zend_Amf_Server gateway.Zend Framework: Zend_Amf Component Proposal
Proposed Component Name
Zend_Amf
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Amf
Proposers
Wade Arnold
Zend Liaison
Stanislav Malyshev
Revision
1.0 - 1 January 2008: Initial Draft. (wiki revision: 7)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend_Server_Interface
- Zend_Server_Reflection
- Zend_Server_Reflection_Function_abstract
- Zend_Server_Reflection_Method
5. Theory of Operation
Zend_AMF3_Server is composed of several components, ranging from the server itself to request, response, encoding, decoding, and fault objects.
To implement Zend_AMF3_Server, the developer must attach one or more classes or functions to the server instantiation, via the setClass() and addFunction() methods.
The Zend_AMF3_Server will decode request objects that are received via php://input and deserialized the request and check for an existing instantiated session. Zend_AMF3_Server will check the AMF header for the matching name space of the requested remote object to be called. The remote object will be instantiated and the result of the method call will be serialized and returned to the requested http connection.
6. Milestones / Tasks
Zend_AMF3_Server_HTTP handle incoming requests.
Zend_AMF3_Server_Serialization
Zend_AMF3_Server_Deserialization
Add the following data types in order.
AS PHP
Null null
boolean boolean
String string
Array array
Object associative array
XML string
Date float *not in first release
ArrayCollection Resource *not in first release
Zend_AMF3_Server_Fault
Work on handling fault events eloquently.
7. Class Index
- Zend_Amf_Fault
- Zend_Amf_Request
- Zend_Amf_Request_Http
- Zend_Amf_Response
- Zend_Amf_Server
- Zend_Amf_Server_Exception
- Zend_Amf_Server_Fault
- Zend_Amf_Util_BinaryStream
- Zend_Amf_Value
- Zend_Amf_Value_Number
- Zend_Amf_Value_Boolean
- Zend_Amf_Value_String
- Zend_Amf_Value_Object
- Zend_Amf_Value_Null
- Zend_Amf_Value_Undefined
- Zend_Amf_Value_Refrence
- Zend_Amf_Value_MixedArray
- Zend_Amf_Value_Array
- Zend_Amf_Value_Date
- Zend_Amf_Value_Xml
- Zend_Amf_Value_TypedObject
- Zend_Amf_Value_Amf3_Intiger
- Zend_Amf_Value_Amf3_Date
- Zend_Amf_Value_Amf3_String
- Zend_Amf_Value_Amf3_Xml
- Zend_Amf_Value_Amf3_ByteArray
- Zend_Amf_Value_Amf3_Array
- Zend_Amf_Value_Amf3_Object