in reply to mod_perl vs. mod_php in multi-user environments

I work a lot in both PHP and Perl and a modicum in mod_perl. You already have your answer from the folks above, but this is how I view it...

Perl is a Swiss Army Chainsaw - it can carve pretty much anything up.

PHP is a Toothpick - a job it does rather well.

Don't use a chainsaw to clean your teeth! PHP is fine for webpages, and can be designed, structured and well written, using your Perl experience!

However, if you really do want to bring the entire Apache server down from within a page, do hold out for mod_perl

0.02 USD

  • Comment on Re: mod_perl vs. mod_php in multi-user environments

Replies are listed 'Best First'.
Re: Re: mod_perl vs. mod_php in multi-user environments
by chaoticset (Chaplain) on May 15, 2003 at 06:02 UTC


    Y'know, I can't swear it as a fact, but I seem to remember the Swiss Army being rather fond of including toothpicks as a component of their tools...
    -----------------------
    You are what you think.

      Maybe with the knifes, but definitively not with the chainsaws.

      Mats

Re: Re: mod_perl vs. mod_php in multi-user environments
by dextius (Monk) on May 15, 2003 at 10:47 UTC
    PHP / ColdFusion are definately well suited for their tasks. But I find that the following gets a little irritating.. PHP/CF are pure web languages, it's irritating in CF to have to use a browser to debug code. PHP can be run from a command line, but it's not really a command line language.. PHP/CF has little in namespaces, making it pretty tough to write anything complex without making a mess. mod_perl has the neat ability of being this huge complex beast, or, just a simple text munging engine (See Mason, Apache::ASP, or Template::Toolkit). Slashdot's faq response in concern to PHP vs. mod_perl was a good summation. I guess it just depends on what YOU like. Both are capable of doing what you need.
      PHP/CF are pure web languages, it's
      That hasn't been true for a while now (in the case of PHP).


      MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
      I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
      ** The Third rule of perl club is a statement of fact: pod is sexy.