[patch] User-defined backends for XML_RPC2

From: Date: Mon, 16 Oct 2006 23:47:32 +0000
Subject: [patch] User-defined backends for XML_RPC2
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-44585@lists.php.net to get a copy of this message
I'm submitting this for discussion purposes only; This code has NOT been tested, the intent is to see if I'm on the right track, or if anyone cares about this feature except me. ;) This allows a developer to write their own back-end classes for XML_RPC2. This is the first step in porting my own XML-RPC code, which offers several features including diagnostic trace and performance measurement capabilities. Example to use a backend in mylib/xmlrpc/debug/: <code> $options = array( 'backend' => array( 'type' => 'User', 'classname' => 'Debug_*', 'path' => 'mylib/xmlrpc/debug/*.php' ) ); $server = XML_RPC2_Server::create('MyServer', $options); </code> This would use the class Debug_Server from mylib/xmlrpc/debug/Server.php for the backend server component. If this looks useful, I will test it and build some QA tests for it as well.

« previous php.pear.dev (#44585) next »