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/

Reply via email to