The Basic of mod_perl Support
Dennis Melentyev
dennis.melentyev at infopulse.com.ua
Mon Jun 19 12:44:06 UTC 2006
Max,
Could you please also tell us, what other things we should know to make
code compatible with mod_perl? I mostly mean common mistakes and good
code patterns/practices.
I personally am not really aware of data objects scopes/accessibility.
Do we need anything like mutexes to access module common data, etc...
And also mod_perl related comments in code are not clear enough.
Or, just point me to some good docs on mod_perl.
PS. Googling does not work for me so far...
В пн, 19/06/2006 в 05:23 -0700, Max Kanat-Alexander пишет:
> Hey all. I just realized that with all of our work toward mod_perl,
> some people might not know *why* we're doing the re-architecture that
> we're doing.
>
> Basically, the most important thing to know is this:
>
> Under mod_perl, your .pm files will be compiled once. Ever. You can
> reload that page 100 times, but it will only compile the .pm files the
> first time. For you, or for anybody who ever accesses the server.
>
> (Technically, it happens once for every httpd process, but you don't
> have to worry about that too much.)
>
> So just think with that when you're writing your code. Your .pms only
> get compiled once.
>
> -Max
More information about the developers
mailing list