Re: Re: Package proposal: Payment_Exchange
| From: | Alan Knowles | Date: | Thu, 28 Aug 2003 00:44:51 +0000 |
| Subject: | Re: Re: Package proposal: Payment_Exchange | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20700@lists.php.net to get a copy of this message | ||
I'd turn the thing into a factory patern - defaulting to euro central bank.
Imagine in Asia or the US - it's going to be alot better to query a local source... (which may provide the data in a different format)
Someone may want to write a driver to do factory('mybank') and get real rates....
Usefull though...
+1 assuming it made generic
Regards
Alan
Marshall Roch wrote:
Marshall Roch wrote:-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comIt uses XML_Unserialize to parse the XML feeds (a patch to support attributes is required). The patch for XML_Unserialize that I've provided below works for what I need, but hasn't been tested in other situations, and breaks BC. When we find a better way to support attributes, I'll update this package accordingly.Ok, I've stopped using XML_Unserialize, at least until attributes are working (Stephan said he'll work on it), in favor of XML_Tree. Everything works with released packages. :-DPackage: http://www.exclupen.com/misc/php/pear_patches/Payment_Exchange/Payment_Exchange-0.1.tgzNow 0.2 (see package.xml for changes): http://www.exclupen.com/misc/php/pear_patches/Payment_Exchange/Payment_Exchange-0.2.tgz For everything else, just see: http://www.exclupen.com/misc/php/pear_patches/Payment_Exchange/ -- Marshall Roch