Re: proposal for extending XML/RPC.php

From: Date: Fri, 12 Mar 2004 22:57:59 +0000
Subject: Re: proposal for extending XML/RPC.php
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26360@lists.php.net to get a copy of this message
Sebastien Person wrote:
Your package shouldn't output anything at all, if at all possible. Imagine this running from an included file, and no longer being able to send headers. A better solution would be to return the text in whichever format you want. IE: A toHTML() function to return HTML would be fine, since many other classes also work this way :)
I totally agree with you, but the purpose of this method is primarly for debugging .
We will need this in order to support channels for PEAR as a very non-debugging oriented usage. I like the use of introspection, I would rather see the methods named after the RPC methods, "listMethods," "methodHelp" and "methodSignature" than "discover" etc. Thanks, Greg

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