On Thu, 2004-09-23 at 07:31, Mark Stosberg wrote:
> - I wonder if the REALLY_FIRST, FIRST... position system could be
> simplified/improved. The way I think about it, either want you
> plug-in to run at one of three times at a particular stage:
>
> - before everything else
> - after everything else
> - you don't care.
>
The names work fine for me. They are the same as Apache 2.0 uses, minus
the leading HOOK_. Apache 1.3 didn't have that ability you had to fiddle
with the AddModule directive order to get modules in the right order, it
was a pain. I admit Apache is written in C and this is Perl, but still.
In Apache REALLY_FIRST and REALLY_LAST are sort of reserved for special
cases; you wouldn't normally use them. That leaves you with FIRST,
MIDDLE, LAST where MIDDLE == DONTCARE.
One thing Apache does that this doesn't though: With Apache 2.0 you can
specify a list of modules names that should be before this one and a
list of module names that should be after this one. I think internally
Apache uses some type of tree structure for tracking the order of hooks.
I don't know if that kind of behaviour would be useful here or not
though.
--
Tony Fraser
suppressed
Sybaspace Internet Solutions System Administrator
phone: (250) 246-5368 fax: (250) 246-5398
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.