-- Julian Davchev <[EMAIL PROTECTED]> wrote (on Wednesday, 20 June 2007, 04:49 PM +0300): > I cannot find anything in mail archive and would like to ask. > Is there easy way to make xmlrpc client component standalone, cause this > is more or less > important so that it is easily pluggable into other systems.... > > I see Zend_Xmlrpc_Client depends on Zend/Http/Client.php which in turn > depend on Zend/Uri.php > and list goes beyound...
Zend_XmlRpc_Client has the dependencies it has so that it doesn't duplicate code from elsewhere in the framework. Zend_Http_Client is used to do the actual HTTP transfer, which in turn relies on Zend_Uri to validate and split the request URI into the necessary components. It also uses the Zend_XmlRpc_Value classes in order to create the XML-RPC values for the request and parse the XML-RPC response into PHP values. Sure, you could try and create a super-file containing all the dependencies, but it would be work to maintain. -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
