Hmm, I think I hit msg instead of reply, sorry.

I was curious as to what those architectural differences were in an installed system. The difficulty of installing mod_perl and Mason is comparable to a mod_php install, and even easier if you have a packaging system. The only real difference being a split up config file versus a single config, and Mason's caching system. I may be wrong, and there's more, so feel free to enlighten me.

Once it's installed, using Mason is as simple as setting a handler on a file type (which is what one does for PHP), or designating a directory tree as handled by Mason. With the installation being the main difference, most users of the code don't have to worry about it, as very few of the PHP programmers I've come across administer the servers they code on as well.

I will concede that there are definite hurdles to installing a Perl handled scripting system versus PHP, which can use some work. As I stated in my previous post, I had to restrict myself to just playing with Mason, because it didn't have proper mod_perl2 support at the time I wanted to use it. My main point however, was that once installed, it is functinally no different then PHP itself, you are simply using perl instead of php code. And you can additionally toss in extra code blocks for more flexibility with init/argument/etc handlers.

In reply to Re^4: The REAL reason for why they choose PHP over Perl. by Azhrarn
in thread The REAL reason for why they choose PHP over Perl. by Spidy

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.