Re: Re: HTTP_Request2

From: Date: Tue, 28 Oct 2008 21:47:52 +0000
Subject: Re: Re: HTTP_Request2
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50960@lists.php.net to get a copy of this message
> > >> Again, why do we need "adapters" ? sorry but I just don't get it. >> It makes sense for a db package but here... >> Sockets are fine, shipped by default and available on any platform you can >> imagine. >> > Handling all the processing in php is slow and uses more memory > Sockets don't do ssl > Curl and the HTTP extension give use extra features like having multiple > inflight http requests > Don't forget that if there was a mock http adapter which can provide canned/simulated responses, loads of packages in PEAR just got a lot more easy to unit test.

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