RE: [PEAR-DEV] New classes

From: Date: Mon, 04 Feb 2002 22:29:44 +0000
Subject: RE: [PEAR-DEV] New classes
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4398@lists.php.net to get a copy of this message
On Sun, 2002-02-03 at 15:59, Richard Heyes wrote: > > I don't think HTTP_POST should be a separate class, but rather a > > customization of HTTP_Request. But if you make HTTP_Request you should > > complement it with HTTP_Response. HTTP_Response could store headers and > > maybe have a MIME content interface. > > How about having a structure like this: > > HTTP_Client > | > +-HTTP_Request > | > +-HTTP_Response Careful about overdesigning, objects are still expensive in PHP. What would HTTP_Client provide that would not make sense to have in HTTP_Request? - Stig

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