RE: [PEAR-DEV] Mail_Box RFC (?)
| From: | Lukas Smith | Date: | Tue, 15 Jul 2003 12:36:38 +0000 |
| Subject: | RE: [PEAR-DEV] Mail_Box RFC (?) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18256@lists.php.net to get a copy of this message | ||
> From: Yavor Shahpasov [mailto:yavo@siava.org]
> Sent: Tuesday, July 15, 2003 2:32 PM
>
> I actually posted a message about this a while ago, that some common
> packages should follow the same api and if not possible to implement a
> function should return a not supported error.
>
>
> for example instead of making one class which has different
subclasses,
> you
> cold have classes which follow the same api (implement an interface if
you
> will), in that way you would not not need to care whether it is a
Net_POP3
> class NET_IMAP class or a NET_MBOX class or even a NET_Maildir (I wish
:O)
> class.
>
> this should be applied to many places in pear
I agree.
Actually I just started a little discussion that goes into a similar
direction on pear-qa@
Regards,
Lukas