On Mon, 20 Nov 2000, Gunther Birznieks wrote:
> Most normal applications do not require every bit of speed eeked out
> of them that may be possible with an Apache handler. In the mod_perl
> guide, a reasonably fast machine (which most production mod_perl sites
> run on) shows very little time difference between a real-world app
> (what I would categorize the heavy Apache::Registry vs heavy hander)
> running in Apache::Registry versus being written as a handler.
We've already discussed this one into the ground, but for anyone here who
hasn't heard all this before, the main reason to use handlers instead of
Registry is to avoid the odd compromises caused by writing something that
is going to be wrapped in a generated package name and eval'ed into a
subroutine. It's a pretty cool trick, but it's also limiting. For
example, not being able to use subroutines unless you put them in an
external module is troublesome.
I also use handlers invoked as class methods so that I can do some
inheritance stuff in my modules. I don't think Apache::Registry can deal
with that at this point.
- Perrin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]