Changes between Version 29 and Version 30 of ModParrotArchitecture

Show
Ignore:
Timestamp:
11/30/08 20:09:00 (13 years ago)
Author:
jhorwitz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModParrotArchitecture

    v29 v30  
    144144Each HLL module can register a hook for each Apache phase.  It is not required to register a hook for every phase, though you must register at least one. 
    145145 
    146 Metahandlers are HLL-specific hooks that implement the semantics of that particular HLL module.  For example, mod_perl6 request phase handlers expect to receive an Apache::RequestRec object as the first argument.  The mod_perl6 metahandlers would be responsible for making sure that happens. 
     146Metahandlers are HLL-specific hooks that implement the semantics of that particular HLL module.  For example, mod_perl6 request phase handlers expect to receive an Apache::RequestRec object as the first argument.  The mod_perl6 metahandlers would be responsible for making sure that happens.  Metahandlers are also responsible for running the actual HLL handler code and returning an appropriate status. 
    147147 
    148148Apache cannot call HLL code directly, so mod_parrot registers generic hook functions that call HLL code on its behalf.  These functions are in {{{src/mod_parrot.c}}} and have a {{{modparrot_meta_}}} prefix.