Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: CGI and mod_perl vs PHP vs ruby on rails

by cdarke (Prior)
on Nov 04, 2008 at 09:21 UTC ( #721319=note: print w/replies, xml ) Need Help??

in reply to Re: CGI and mod_perl vs PHP vs ruby on rails
in thread CGI and mod_perl vs PHP vs ruby on rails

PHP only works (and badly in my opinion) within the realm of dynamic web-site programming.

While I would not disagree with the sentiment, in the interests of accuracy it should be pointed out that PHP scripts can be run on the command line. You still have to wrap the stupid <?PHP ... ?> tags around the code, but aside from that it will run given #!, permissions, PATH, etc. Its a bit of a pig to do that on Windows, but even that is possible.
It is true to say that PHP is rairly used anyware except on the web. The people who use PHP rather let it down as well - poor coding practice is rife.

It might be worth pointing out that Perl on Rails being done by the Beeb href
  • Comment on Re^2: CGI and mod_perl vs PHP vs ruby on rails

Replies are listed 'Best First'.
Re^3: CGI and mod_perl vs PHP vs ruby on rails
by LanX (Sage) on Nov 04, 2008 at 11:39 UTC
    Sorry but AFAIK Perl on Rails is vaporware. The main reason why the announcements got such a big audience are IMHO depictions of the pathetic development environment at the BBC.

    But did anyone ever see any code?

    Catalyst is IMHO very TIMTOWTDI flexible (e.g. allowing integration of all main CPAN templating systems) but heavy and requesting much knowledge and planing.

    If you are looking for a more Rails like monolithical approach in Perl you may want to have a look at Jifty or Mojo.

      There is code. It's used on BBC Programmes.

      I think they open sourced it, but it's only released as a tarball, and I can't find it at the moment.

      Code-wise it's a bit of a stretch to say it's Ruby on Rails in Perl. It was written by programmers who use and like (and I think pefer) Ruby and RoR, who had to use a very limited Perl environment. As such it's very much inspired by RoR but it's lacking a lot of features (no ActiveRecord for example).


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2022-07-06 11:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found