Hello,

On 12/08/2003 11:06 PM, Justin Patrin wrote:
You may want to try this class that lets you make HTTP requests like a normal browser:

http://www.phpclasses.org/httpclient


Or even better, use PEAR's HTTP_Client. http://pear.php.net/package/


> HTTP_Client

Why better? Have you tried both packages?




No, however, the httpclient system is a lot of code that is part of one

No? If you have not tried it at all WTF are you claiming that something else is better? Better than what? Something you have not tried?



class. HTTP_Client is based on lots of sub-systems, each of which can be used seperately and for other purposes (and each of which is maintained by seperate, multiple people). For instance, there is the Socket API,

Are you telling me that to make HTTP requests, loading half of dozen classes is better than doing it all with just one?



URL parsing, the HTTP Request, etc. All of which HTTP_Client is built upon instead of re-inventing.

AFAIK, this HTTP client class was released for the first time in 1999. The way I see it, if anybody reinvented anything, that must have been whoever came after that to do the same.



Also, and just as important, using PEAR packages gives you a centralized way of dealing with errors.

You meant that 800 line fat base class that many PEAR classes inherit and require in order to run even when developers do not want anything from it?


No thanks, I am not interested in bloated software development.


--


Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to