Re: Re: Preferred way of generating XML in pear packages?
| From: | Justin Patrin | Date: | Tue, 05 Apr 2005 18:12:24 +0000 |
| Subject: | Re: Re: Preferred way of generating XML in pear packages? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37097@lists.php.net to get a copy of this message | ||
On Apr 5, 2005 11:05 AM, James Carr <james.r.carr@gmail.com> wrote:
> Philippe,
>
> Currently I have a custom class I had used for some gateway
> intergation I did for a few clients, basically all it does is send
> auth transactions and returns the response as an array. Although I
> have been toying with the idea of implementing the full feature set,
> perhaps those should just be seperate packages?
>
It only really makes sense to make another package if you're going to
implement features that Payment_Process doesn't. And even then it
would be good to make a Payment_Process wrapper which allows use of
your class from Payment_Process.
> Thanks,
> JC
>
> On Apr 5, 2005 5:51 PM, Philippe Jausions
> <Philippe.Jausions@11abacus.com> wrote:
> > James Carr wrote:
> > > Hi,
> > >
> > > I'm currently touching up my payfuse/clearcommerce package to submit
> > > as a proposal, and I'm curious what is the preferred method of
> > > generating XML in pear packages? I am currently using DOM, but am
> > > wondering if I should shy away from it due to the differences in
> > > implementation between php4 and php5?
> > >
> > > Thanks,
> > > JC
> >
> > Hi JC,
> >
> > Please consider making a backend processor for Payment_Process package
> > instead of creating a whole new package.
> >
> > -Philippe
> >
> > --
> > PEAR Development Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Justin Patrin