On Thu, Apr 23, 2009 at 6:07 PM, Matthew Weier O'Phinney
<[email protected]>wrote:

> -- Vadim Gabriel <[email protected]> wrote
> (on Thursday, 23 April 2009, 05:45 PM +0300):
> > I have been working on a Zend_Payment component @link
> http://framework.zend.com
> > /wiki/display/ZFPROP/Zend_Payment
> > And there were a lot of good feedback, Since this is something that a lot
> will
> > was wondering what you guys think about the following:
> >
> > 1. Should the gateways use the zend http component and it's adapters such
> as
> > the Curl to process the payments or use the PHP Curl extension as is? The
> > former will limit the usage of this component while the later will allow
> using
> > this without any critical dependencies.
>
> I'd recommend using Zend_Http_Client. That allows you to mock it for
> testing. The Curl adapter for the HTTP client is now in trunk and
> releases with 1.8.0, which will give you the flexibility you need as
> well. If need be, you can even limit the adapters it accepts to the Curl
> and Mock adapters, though if you can allow any adapter, that would be
> preferred.
>
> What "limits" do you see to using Zend_Http_Client, btw?


Yes, I will do just that.

I was referring to the dependencies, Currently the component depends only on
Zend_Exception so anyone willing to use it will need just that, But that's
really nothing to worry about. :)

>
>
> > 2. I have worked out one small gatewat already and i am adding/editing as
> i go
> > when i see fit. I would appreciate any feedback regarding the updates i
> he made
> > already (updated today) and throwing anything you might find required or
> > helpful. I could probably do this without the need of any feedback but
> knowing
> > what developers will prefer is important when writing down something like
> this.
> >
> > Anyhow the proposal was updated if anyone finds the time a comment on the
> > mailing list or directly to the proposal page will be much apprecaited
> and will
> > bring us few steps forward with actually finishing this up.
>
> --
> Matthew Weier O'Phinney
> Project Lead            | [email protected]
> Zend Framework          | http://framework.zend.com/
>



-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to