Re: XML_RPC for php5

From: Date: Wed, 29 Sep 2004 03:26:14 +0000
Subject: Re: XML_RPC for php5
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33581@lists.php.net to get a copy of this message
I'm still not ready to do a release of my implementation, but to help with the idea mill, I've posted the existing code. It's fully tested, but not regression-tested. source is at http://www.chiaraquartet.net/XML_RPC5 Greg Sergio Carvalho wrote:
Great minds think alike :-) I've been trying for a month now to get Stig, who is the current maintainer of XML_RPC, to get a look at my implementation. Its now under production use internally at my employer. It is also meant as a showcase of Exception usage. It's fully documented, and available for integration in PEAR as soon as the method for evolving packages to PHP 5 is defined. The library is a complete departure from Useful Inc's codebase. BC compatibility is broken to make it possible the use of PHP5's __call catchall. With the new version, executing an XML_RPC call is as easy as: $client = new XML_RPC_Client('http://rpc.example.com/1.0/'); $client->exampleMethod(1,2,'abc'); Encoding and decoding is done automatically, there's no need for all the low level wrangling Useful Inc's library required. It also leans more heavily on PHP5's XML abilities, whereas Useful Inc's library implemented its own XML parser. You can have a look at the source code here: http://files.sergiocarvalho.com/2004/XML_RPC/ Examples, namely, are here: http://files.sergiocarvalho.com/2004/XML_RPC/doc/examples/ A complete tgz of the package is here: http://files.sergiocarvalho.com/2004/XML_RPC/XML_RPC.tgz


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