Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Perl CGI vs. PHP

by kha0z (Scribe)
on May 19, 2001 at 00:46 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-19 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found