Zend Framework

Allow explicit mapping of xmlrpc calls to object/class/method calls

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.7.0
  • Component/s: Zend_XmlRpc_Server
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

Add support for explicit namespace.name => function/method mapping.

Similar in nature to:

http://scripts.incutio.com/xmlrpc/basic-server-construction.php

Essentially, expected api:

$server->addMethod($functionName, $functionMethodCallback);

if ($this) was passed in $functionmethodCallback, the server SHOULD NOT attempt to clone or recreate the object, instead it should map the call the to already passed in object. This will be useful when embedding an XMLRPC server inside a controllers action.

Addionally, if a valid callback is presented as strings, an object should be created.

For more info, contact me if need be.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Tentatively scheduling for 1.1.0. It requires changes to Zend_Server_Reflection, as well as to each server class.

Show
Matthew Weier O'Phinney added a comment - Tentatively scheduling for 1.1.0. It requires changes to Zend_Server_Reflection, as well as to each server class.
Hide
Wil Sinclair added a comment -

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Show
Wil Sinclair added a comment - This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.
Hide
Matthew Weier O'Phinney added a comment -

Scheduling for next minor release.

Show
Matthew Weier O'Phinney added a comment - Scheduling for next minor release.
Hide
Matthew Weier O'Phinney added a comment -

A new component, Zend_Server_Definition, was added to allow better, more performant caching ability in Zend_XmlRpc_Server (and the JSON-RPC server). This component also achieves the goal of this request – you can define your own Zend_Server_Method_Definition objects, attach them to the Zend_Server_Definition, and pass this to loadFunctions(). This allows for fully customizable server definitions.

Show
Matthew Weier O'Phinney added a comment - A new component, Zend_Server_Definition, was added to allow better, more performant caching ability in Zend_XmlRpc_Server (and the JSON-RPC server). This component also achieves the goal of this request – you can define your own Zend_Server_Method_Definition objects, attach them to the Zend_Server_Definition, and pass this to loadFunctions(). This allows for fully customizable server definitions.
Hide
Wil Sinclair added a comment -

Changing issues in preparation for the 1.7.0 release.

Show
Wil Sinclair added a comment - Changing issues in preparation for the 1.7.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
8h
Original Estimate - 8 hours
Remaining:
8h
Remaining Estimate - 8 hours
Logged:
Not Specified
Time Spent - Not Specified