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

Re: CGI Replacement Recommendations?

by tilly (Archbishop)
on Feb 08, 2011 at 20:56 UTC ( #887050=note: print w/ replies, xml ) Need Help??


in reply to CGI Replacement Recommendations?

The standard these days seems to be Catalyst. But http://www.mojolicious.org/ looks very promising.

If you want to keep writing scripts very similar to the ones you were writing, you might also want to learn PHP. But that is not a very good language.


Comment on Re: CGI Replacement Recommendations?
Re^2: CGI Replacement Recommendations?
by Arunbear (Parson) on Feb 08, 2011 at 23:36 UTC
    .. you might also want to learn PHP. But that is not a very good language.
    And yet compared to Perl, there are more PHP books being published, more jobs available, many in the Perl community prefer to use PHP based web publishing tools instead of Perl solutions, and the company where I work is moving away from Perl because they find it easier to hire PHP programmers.

    I strongly dislike PHP because I feel it lacks so much of the elegance found in other dynamic languages, but I'm curious as to why you say it isn't a very good language? (it does seem to be quite a successful language)

      Success and quality are only tangentially corrected. See Worse is Better for a classic essay on this theme.

      As I've commented many times, PHP is good for beginning programmers. It is easy to get simple things done. It is cheap to find hosting. It is easy to get started. So people do. They build useful stuff. People build on it. The language is successful.

      But the language itself is bad. It is very large, and disorganized. There are a ton of security holes in PHP. Even more in the popular applications. I've long commented that Larry Wall is better at hacking communities than languages. But for all the faults that Perl has - and it has quite a few in my opinion - PHP makes Perl look well designed.

      All of that notwithstanding, PHP is a very popular language. It is easy to find work in it. Much of said work is solving the same problems (albeit more efficiently) that were being solved by Perl CGI programs 15 years ago. So someone who is used to the Perl CGI space may well find PHP to be a good fit in terms of problems. I was giving it an honest recommend as a job option for the original questioner. I was just being clear that it isn't a language for language snobs.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2014-09-18 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (111 votes), past polls