About Net_Curl package
| From: | Philippe Jausions | Date: | Wed, 27 Oct 2004 00:55:24 +0000 |
| Subject: | About Net_Curl package | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-34096@lists.php.net to get a copy of this message | ||
Hi,
Couple of remarks regarding the Net_Curl package (1.0.1 beta):
- All the CURL properties are set as class members. Currently there is only a subset of properties in the package. IMHO this is not a good approach given the rather larger number of properties. Only a very limited of them are currently implemented in the package,
- All the properties are reset everytime for each "execute" call adding possible significant overhead for network intensive application,
- The package relies on the PHP extension only, i.e. no support of command line CURL... I propose to use a factory method to use either backend.
- Does anybody know if PHP 5.x will have a OOP interface to Curl library...?
- Finally, will there be some collaborative work around this package and HTTP_Request?
I once wrote a similar package a "long" time ago, it's not top but if that can help... I just want to migrate my application to using PEAR packages instead, and at the same time improving the later.
Thanks,
-Philippe