Re: XML-RPC implementation for a channel server

From: Date: Mon, 12 Apr 2004 23:36:49 +0000
Subject: Re: XML-RPC implementation for a channel server
References: 1 2  Groups: php.pear.core 
Request: Send a blank email to pear-core+get-269@lists.php.net to get a copy of this message
Stig S. Bakken wrote:
Hi Greg, I get the idea, but I don't quite get how you wanted to represent this? In the array below, does the key ("pear-install") represent the function/command name? Is the URL the XML-RPC server URL, or something abstract like a namespace URL? I would like to see this part of the infrastructure simplified, instead of adding more bloat/complexity (which I consider SOAP to be :-). I have some code locally that implements "PHP-RPC" as an alternative, which essentially does the same as XML-RPC but uses serialize() and unserialize() to pass around values.
Hi, the key is an abstract representation for the xml-rpc functions that would be necessary to install a package (i.e., package.listLatestReleases, package.info, versions 1.0). other keys might be the commands needed to implement the remote-list or search commands. the URL is a namespace-style abstraction SOAP implemented in PHP would definitely be bloat. This would only work if using the standard ext/soap in PHP 5 only. I like PHP-RPC except for the inability to interoperate with servers written in other languages (which may happen someday). Greg

« previous php.pear.core (#269) next »