[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mailutils

From: Alain Magloire
Subject: Re: mailutils
Date: Wed, 13 Mar 2002 12:18:25 -0500 (EST)

> On Wed, Mar 13, 2002 at 12:00:18PM -0500, Alain Magloire wrote:
> > > I haven't tried it, but shouldn't it be possible to write C++
> > > functions that use C linking conventions?
> > Yes. extern "C" { ... } But that would be funny 8-) i.e. making the
> > implementation in C++ and providing a C level API for C programs 8-)
> > totally wicked, usually its the opposite.
> I've been exploring C++ more and more over the last few years and have
> com to really prefer it.  My friend Jamu is now introducing me to
> ``cppunit'' - so I'm slowly learning about testing infrastructures.

junit 8-)
Did not know they made a cpp one, cool.
Is there a cunit?

> I'm also trying to grok design patterns.  So far I get the concept and
> don't yet know how to think using them enough to put them to good
> use. =)

What you need my friend is a ... good project to apply your newly
found knowledge.  How about (just throwing things from the top of
my head) ... mailutils!  8-)  Lots of pattern can be apply to
- Factory (modify mailbox_t for a factory that will produce
  different mailboxes)
- Observer/listeners (how to handle event, connection close etc ..)
- Adapters (making a bridge between IMAP4 and POP3)
- Proxy (using proxy to provide a cache that we can use in
  disconnected mode for IMAP and POP)
- ...

The possibilities are .. endless 8-) Sky is the limit!!
or rather freetime is the limit 8).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]