Changes between Version 13 and Version 14 of LancelotModules


Ignore:
Timestamp:
Aug 4, 2011, 7:16:55 PM (6 years ago)
Author:
anselm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LancelotModules

    v13 v14  
    1 = Lancelot Modules =
     1= Project Lancelot Modules =
    22
    33[[TOC(start=2,depth=2,LancelotModules)]]
    44
    55This is a brief overview of the various processing modules that can be
    6 used in Lancelot workflows. A ''workflow'' in Lancelot is a chain of steps to be taken
     6used in Project Lancelot workflows. A ''workflow'' in Project Lancelot is a chain of steps to be taken
    77when a message arrives to a specific address, such as ''LIST+subscribe@DOMAIN''.
    88In general, mail to ''LIST+foo@DOMAIN'' is handled by a workflow defined by the
     
    1010suitably redefining these configuration parameters so as to include or omit different
    1111processing modules, and you can configure the processing modules themselves in a list's
    12 configuration database. This makes Lancelot highly configurable for all sorts of
     12configuration database. This makes Project Lancelot highly configurable for all sorts of
    1313mailing list applications.
    1414
     
    2626== Writing processing modules ==
    2727
    28 Lancelot processing modules live in the '''Lancelot::Module''' namespace and are
     28Project Lancelot processing modules live in the '''Lancelot::Module''' namespace and are
    2929simple Perl modules. A very simple processing module is the following:
    3030{{{
     
    4343interesting points:
    4444
    45  * Every Lancelot processing module must define a subroutine called ''execute''. Other than
     45 * Every Project Lancelot processing module must define a subroutine called ''execute''. Other than
    4646   that it may contain arbitrary subroutines or references to other Perl modules, objects,
    4747   etc.
    4848 * The ''execute'' subroutine takes two mandatory parameters, namely a reference to the
    49    Lancelot configuration database object (of class '''Lancelot::DB''') and a reference
     49   Project Lancelot configuration database object (of class '''Lancelot::DB''') and a reference
    5050   to the message under consideration (of class '''Lancelot::Message'''). The third,
    5151   optional, argument is a reference to a hash containing any parameters mentioned