[dev] hooks

Eric Rostetter eric.rostetter at physics.utexas.edu
Fri May 9 19:19:31 PDT 2003


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Eric Rostetter <eric.rostetter at physics.utexas.edu>:
>
> > Sounds interesting.  Maybe use the xinetd example also?  The hook file
> > could include a disabled/enabled setting, or we could use the file name
> > also for this (hook.disabled, hook.enabled, or something like that).  If
> > using a file name convention, we don't have to include/read all them, only
> > the ones matching the pattern.  Could save some cpu/disk time.
>
> I don't think this makes sense since we're talking about potentially having
> to include many multiple files on every single page load. File includes are
> expensive.

Ah, I get that now.  I didn't realize they would be loaded so often.
Yes, then, I agree.  Leave it as a single file...

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the dev mailing list