develooper Front page | perl.qpsmtpd | Postings from February 2005

Re: IPC::DirQueue support

Thread Previous | Thread Next
From:
Ask Bjørn Hansen
Date:
February 11, 2005 15:29
Subject:
Re: IPC::DirQueue support
Message ID:
c176142d823585ae34797b632a9320e1@develooper.com

On Feb 10, 2005, at 10:34, Justin Mason wrote:

> (Thanks for the qpsmtpd plugin API btw!  very simple... quick design  
> q: I
> find it interesting that you've chosen to abstract out the new() ctor  
> code
> and call a register() hook instead.  is there any reason for this? to
> insulate plugin developers from the vagaries of perl object syntax with
> all that wierd "bless"ing and so on?  I'm thinking maybe we should
> do something similar for SpamAssassin plugins.)

The first version of qpsmtpd didn't have the plugin/extension system,  
but people hacked on it anyway of course.

The point of the plugin system was to make it Super Easy to make  
enhancements and tweak how things work.

I started out with making it like Apache::Registry (so people don't  
have to specify the name inside the plugin in addition to in the file  
system) and then the rest grew out of "how can I make this simpler"[1].

I don't remember if it was to make it easy for people new to Perl and  
SMTP to work with or if it was to just make it less work, but it had  
both effects.   :-)


  - ask

[1] "this" being the quit_fortune plugin...
http://cvs.perl.org/viewcvs/cvs-public/qpsmtpd/plugins/quit_fortune? 
rev=1.3

-- 
http://www.askbjoernhansen.com/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About