Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Perl CGI vs. PHP

by kha0z (Scribe)
on May 19, 2001 at 00:46 UTC ( #81624=perlmeditation: print w/ replies, xml ) Need Help??

I am an avid Perl user. I use if for everything including CGI. Lately, a large number of my friends have been converting from Perl CGI to php. I just wanted to know what your thoughts are on the benefits of using Perl vs. PHP? If you have converted and why? I'm especially interested if you have used PHP and went back to Perl.

Good Hunting,
kha0z

Comment on Perl CGI vs. PHP
Re: Perl CGI vs. PHP
by myocom (Deacon) on May 19, 2001 at 01:02 UTC

    This has been discussed roughly maxint times here before (like here, for example). Put 'PHP' in the search box up there and see what that gets you.

      But for good measure, one more time can't hurt(can it?). Why is Perl better? Quite simply because you can do SO much more with it. PHP was made to handle some of the tasks CGI could do, but without the overhead of making a process on the server. However, Perl allows for much more flexibility and power in design; also, if programmed efficiently, the overhead is minimum. Not to mention that certain features(mod_perl,fast cgi, for instance) make that overhead dissapear.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://81624]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-08-27 11:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (237 votes), past polls