[Mimedefang] MimeDefang Framework

Dave O'Neill dmo at roaringpenguin.com
Fri May 25 12:43:24 EDT 2007


On Fri, May 25, 2007 at 11:48:58AM -0400, Daniel Aquino wrote:
> Has anyone ever thought about making mimdefang into more of a framework ?

Thought, yes.  Our CanIt application has an OO-style API that sits above
MIMEDefang, and at some point, we'd like to push some of this down to
MIMEDefang.  Things like a message object instead of a pile of global
variables, a cleaner API for filters, and the ability to unit test
individual components are part of this.

When it will actually happen depends on available time, though.  

The first step along this path will be the cleanup of the virus scanning
code, as mentioned in an earlier thread.  Virus scanner integration is a
very large chunk of mimedefang.pl, with a lot of duplicate code.  If
you've got comments along those lines, please add them.

> 
> Everything is shoved into one giant mimdefang.pl script!!!
> 
> Imagine mimedefang structured like some of these big web frameworks
> today such as Catalyst, Ror...

The operative word for those web frameworks is "big".  Really big.
"Install 50% of CPAN to make your appliation run" big.  That's probably
not where we want MIMEDefang to go. 

Cheers,
Dave
-- 
Dave O'Neill <dmo at roaringpenguin.com>    Roaring Penguin Software Inc.
+1 (613) 231-6599                        http://www.roaringpenguin.com/
For CanIt technical support, please mail: support at roaringpenguin.com



More information about the MIMEDefang mailing list