Re: Seperation of Mail-classes (was Mail_Box RFC (?))
| From: | Jan Schneider | Date: | Tue, 15 Jul 2003 14:22:07 +0000 |
| Subject: | Re: Seperation of Mail-classes (was Mail_Box RFC (?)) | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18259@lists.php.net to get a copy of this message | ||
Zitat von Wolfram Kriesing <wolfram@visionp.de>:
> i partly agree with that too. I definetly would reduce some overhead.
> But you always have to watch out for common functionality that might
> be used in each of those classes, that should not be copy-pasted.
> The naming for those different packages might be an issue to think about.
> For the mailing, i would suggest: since there is already a package
> 'Mail' i think we might create packages such as
> Mail_Box_POP3
> Mail_Box_IMAP
> Mail_Box_...
> I think the prefix Net_ should be used here for the protocol
> implementation.
>
> The common classes, such as Mail_[Box_]Message and
> Mail_[Box_]Attachment for building and reading those parts could be
> seperate packages which might be used by the above listed classes.
I disagree. The classes for messages, attachments etc have nothing to do
with mail protocols at all and should be completely seperated.
We (Horde) will perhaps soon propose our MIME package for PEAR that is
definetely the most complete PHP solution available for MIME handling.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft