Re: Net_IMAP Class
| From: | Damian Alejandro Fernandez Sosa | Date: | Sat, 15 Feb 2003 22:09:45 +0000 |
| Subject: | Re: Net_IMAP Class | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13351@lists.php.net to get a copy of this message | ||
I just finish the high level IMAP's API
This is API compatible with Richard Heyes's Net_POP3
Please Take a Look
Comments/Ideas/ +1?
On Sat, 2003-02-15 at 17:13, Damian Alejandro Fernandez Sosa wrote:
> >
> > I think you're plan for the Net_IMAP being the high level API is a good one,
> Thanks!
>
> > whilst what you suggest above could be done as something like a
> > Net_MailStore based on the factory pattern. Eg:
> >
> > $mailAccessObj = new Net_MailStore('pop3://user:password@domain');
>
> Thats what I was thinking! I also like the name Net_MailStore for what
> class!
>
>
> >
> > This would make the $mailAccessObj a Net_POP3 object, or perhaps a wrapper
> > (eg. Net_MailStore_POP3), with a common set of methods that apply to
> > imap/pop3. This MailStore wrapper could in theory then encompass other
> > methods of storage, including Mail_Mbox (currently exists IIRC),
> > Mail_MailDir, Mail_Foo etc.
>
>
> That kind of abstraction is great!
>
> We sould have only one class to access a Mbox file, a pop, IMAP, NNTP or
> Etc!
>
>
> The imap protocol is very complex and I have a lot of work to do. I was
> focused in the low level API, (basicaly the FETCH response parser).
>
> If you want I can make now the high level api compatible with the
> Net_POP3 class and we can make Net_MailStore together. What do you
> think?
>
>
>
>
>
>
> >
> > --
> > Richard Heyes
> > V-webmail - http://www.v-webmail.co.uk