Big site with its own dedicated (virtual) server that you can configure and maintain yourself: Perl with mod_perl.

Site on shared bulk hosting where you have to choose between mod_php and mod_cgi: PHP if dynamic programming is necessary for every page, otherwise static pregenerated content with CGI scripts for the less often accessed dynamic pages.

Amazon.com, a huge high-traffic makes heavy use of Perl, but thousands of small web shops are built with PHP. Just the purpose of your site-to-be is no indication for the language to use. I think the most important thing is how skilled the programmers involved are or want to be. PHP is very limiting, and it'll forever keep its users at a beginner's level. Perl on the other hand has a steep learning curve, but allows one to reach a level at which you're no longer scripting or writing dynamic templates, but are actually programming a complex system much more easily.

If you start learning both PHP and Perl at the same time and spend equal time learning them, very quickly will you have become a PHP expert knowing all there is to know. At that point, your Perl skills will be considered merely intermediate. Once you reach Perl expert level, you start laughing at PHP :)

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }


In reply to Re: Perl/CGI Vs PHP Vs ASP by Juerd
in thread Perl/CGI Vs PHP Vs ASP by sk

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.