Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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,

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://81624]
Approved by root
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2018-01-20 05:16 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (226 votes). Check out past polls.