mod_perl allows for programmatic control of all phases of the request cycle for the popular Apache webserver...

Or put another way ... mod_perl exposes the the Apache Webserver API to Perl and thus exposing the API to the Perl Programmer.

This has always suggested to me a much more powerful flexible way of extending apache functionality than just a backend transaction handler (CGI). The trick has always been to step outside of the 'CGI BOX' by asking ourselves how can I extend the server to do what I want. This is in fact the approach with newer server technologies like 'Tomcat' take.

The problem with mod_perl in my view is that it has never been 'formally' exploited. It solved one big problem almost from its birth: run CGIs faster and then got pidgeoned holed. It is easier just to write mod_perl friendly CGI's then delve deeper into designing and implementing trans_handlers and such. The deeper more interesting ways of using mod_perl, after some initial interest, never got persued. PHP exploited this lack of interest and snuck right up the middle or should I say 'right up the apache request cycle'.

But I am still using mod_perl but not exclusivley, recently our projects have begged for other solutions as the need for more specialized servers continues to grow. As usual princepawn in his special way has got me headed towards another head space minefield. What we really need is a formal structure in which to create Perl extendible 'Application Servers'. There I said it the 'A' word. Are you happy now princepawn.

mitd-Made in the Dark
'My favourite colour appears to be grey.'


In reply to Re: How do you feel about mod_perl? by mitd
in thread How do you feel about mod_perl? by princepawn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.