Re: object-oriented XML_RPC
| From: | Marshall Roch | Date: | Thu, 21 Aug 2003 01:09:29 +0000 |
| Subject: | Re: object-oriented XML_RPC | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20194@lists.php.net to get a copy of this message | ||
Marshall Roch wrote:
I want to use XML_RPC, but it's a very messy looking package (i.e. $GLOBALs all over the place and repetitive function names like XML_RPC_ee and XML_RPC_xh). I think it'd be nicer as a class, and even perhaps as two packages: XML_RPC_Client and XML_RPC_Server.haha, I feel dumb. I wrote that before taking a good look at the code and missed the fact that they are classes, with a bunch of functions at the top. Maybe someone could explain why those functions are outside the class. For example, in Server.php, there are several functions called "XML_RPC_Server_XXXX()", Why wouldn't those be in the class too? I still feel like there is some cleaning up to be done, even if the class part is more-or-less already done. -- Marshall Roch