Cool feature from mod_perl : Configure Apache with Perl

2006-02-13 Thread Nicolas Lehuen
Hi,

I'm currently reading the feature section from mod_perl. Initially, I
was trying to find information about how they cope with
multithreading, multiple interpreter instantiation and code reloading,
but I stumbled upon this :

http://perl.apache.org/start/tips/config.html

Now, I can't stand Perl, but this feature is quite cool, isn't it ?
Would it be difficult to implement, say, in mod_python 4.0 ?

Regards,
Nicolas


Re: Cool feature from mod_perl : Configure Apache with Perl

2006-02-13 Thread Jim Gallacher

Nicolas Lehuen wrote:

Hi,

I'm currently reading the feature section from mod_perl. Initially, I
was trying to find information about how they cope with
multithreading, multiple interpreter instantiation and code reloading,
but I stumbled upon this :

http://perl.apache.org/start/tips/config.html

Now, I can't stand Perl, but this feature is quite cool, isn't it ?
Would it be difficult to implement, say, in mod_python 4.0 ?


Wow, that is cool! And yes, mp 4.0 is likely a pretty good time frame. :)

Jim


Re: Cool feature from mod_perl : Configure Apache with Perl

2006-02-13 Thread Graham Dumpleton
Nicolas Lehuen wrote ..
 Hi,
 
 I'm currently reading the feature section from mod_perl. Initially, I
 was trying to find information about how they cope with
 multithreading, multiple interpreter instantiation and code reloading,
 but I stumbled upon this :
 
 http://perl.apache.org/start/tips/config.html
 
 Now, I can't stand Perl, but this feature is quite cool, isn't it ?
 Would it be difficult to implement, say, in mod_python 4.0 ?

I had seen that feature as well. I also thought it would be interesting to
look at it but also figured it would be much later rather than sooner. As
you can see from all the JIRA reports lately I think there is enough work
to do to fill out even the current stuff with little bits that are missing and
making mod_python work properly in the Apache way.

In general I think there is probably a lot of ideas we can get from looking
at mod_perl. BTW, if you haven't stumbled across it already, someone
has a full copy of Writing Apache Modules with Perl and C online at:

  http://162.105.203.19/apache-doc/1.htm

I'm probably still going to go and buy the dead tree version today if I
can get the time. Easier to flick through then.

Anyway, there is a really good description of the basic Apache life cycle
for requests in there which even people only using mod_python may
find it worthwhile to read at some point to help understand the different
request phases. Pity that mod_python doesn't quite get it right.

Graham