Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl cgi

by nagalenoj (Friar)
on Dec 11, 2008 at 03:52 UTC ( #729594=perlquestion: print w/ replies, xml ) Need Help??
nagalenoj has asked for the wisdom of the Perl Monks concerning the following question:

Is perl CGI better than PHP?

When I searched in google, I could able to see only debates. How Perl CGI is better than PHP or other web based programming languages?

Can anyone help me to proceed in this?

Comment on Perl cgi
Re: Perl cgi
by ww (Bishop) on Dec 11, 2008 at 05:09 UTC
    Depends on how you like to work... and what you have to do.

    Perl has broader abilities and finer granularity at the price of requiring more learning how to use its many capabilities (and it's definitely not just for CGI, web use or sysadmin chores).

    PHP will likely have a shorter learning curve... but will also impose lower limits on the breadth and depth of you can do.

    "(D)ebates" will continue until both have been relegated to history... at which time, the discussion will shift to the relative merits of Fluxicat2.1.3 vs. OOOM-III.

Re: Perl cgi
by bradcathey (Prior) on Dec 11, 2008 at 14:12 UTC

    This *is* an old and ongoing debate, but now that I've been developing Web sites and applications for 15 years I don't really think it matters what language you use (I obviously prefer Perl).

    The typical argument against Perl is that it's old and funky. Personally I don't believe that. Yes, there are the languages de jour, like Ruby on Rails and the various Python-based frameworks, but unless your trying to impress people at a cocktail party, it's the classics, like Perl, that stand the test of time.

    All that said, I could go with any of them (if I knew them well) as long as:

    1. the client side of the application is friendly and intuitive
    2. you can sleep at night knowing that what is behind the user interface is lovely, tight, secure, clean, readable, extensible, best-practice code that can be easily maintained by another
    3. you can find others people who know the language and can assist you on the big projects

    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2014-11-24 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (137 votes), past polls