BBC Creates 'Perl on Rails'
Bogtha writes "Long-time users of Perl for their public websites, and having successfully used Ruby on Rails for internal websites, the BBC have fused the two by creating a 'Perl on Rails' that has the advantages of rapid development that Rails brings, while performing well enough to be used for the Beeb's high-traffic public websites. This is already powering one of their websites, and is set to be used in the controversial iPlayer project as well."
Good god, did anyone proofread that first sentence? Its almost incomprehensible by normal, english-speaking humans.
I am going to create "PHP off the Rails" for developers of PHP websites. PHP developers will need no training, as most of them are off the rails already!
Sent from my ASR33 using ASCII
Take two of the weirdest looking syntaxes and fuse them together. Life time employment.
So... is this trying to combine the slowness and unscaleability of Ruby on Rails with the unreadability of Perl?
Exactly. They should have just went with Catalyst. RoR is overhyped. Perl on Rails just appears to be a way to hype something. Catalyst is actually a nice MVC spirited implementation that has the advantages of well written Perl code.
It takes a man to suffer ignorance and smile
Be yourself no matter what they say
This is proof that there is a conspiracy to make up absurd programming shenanigans to sell overpriced door stoppers! Coming soon...
...at a bookstore near you to burn a hole in your wallet!
"Perl on Rails for Dummies"
"Perl on Rails for Idiots"
"Perl on Rails Bible"
"Perl on Rails in 24 Hours"
"Perl on Rails in a Nutshell"
"Perl on Rails: The Missing Manual"
This'll be UK-only; probably licensed under the BBCPL, which is like the GPL, but only for people in England, Scotland, Wales, and N. Ireland.
Whatever.
As long as it somehow involves more and better Dr. Who reruns, I'm happy.
What? Their website? I want Dr. Who reruns on that, then. The ones with the curly haired guy.
Juln
With all that the perl community sees in terms of mockery, did you REALLY need to add "powers the BBC iPlayer" to it?
Ice Cream has no bones.
Should have preferred Python or Parrot. I mean c'mon. nudge nudge know what I mean... She's a goer.
Some drink at the fountain of knowledge. Others just gargle.
At the end of the lecture, a little old lady at the back of the room got up and said: "What you have told us is rubbish. Web development is really Ruby supported on the back of Rails."
The developer gave a superior smile before replying, "What is Rails standing on?"
"You're very clever, young man, very clever," said the old lady. "But it's Rails all the way down!"
According to the developers they were only allowed Perl 5.6 and a select group of BBC-approved modules on the live server. So Catalyst, CGI::Application, etc are right out.
IMHO another example of management red-tape costing developers time and resources.
When you're running a set of websites as staggeringly busy as theirs, paid for with public money, I suspect you'll have strict rules about what gets onto your servers.
The two frameworks fill different needs. Rails might be great for a completely new product, where you can fully take advantage of its "Convention over Configuration" motto as well as its neat integration between M, V, and C.
Catalyst aims to be an extensible framework. Sure, there are recommendations for new projects, such as using DBIx::Class as the ORM, or Template Toolkit for your view, but these aren't written in stone. Each layer is flexible. You can use CPAN modules to build your own models and views. Want world GDP data? Make a model that calls WebService::CIA. Have your own custom database model already? Use it! (SixApart did this with Catalyst + their partitioned database system + Memcached).
Catalyst is a little rough around the edges for some of the simpler cases that you might use RoR for, such as a plain old CRUD form system, which Rails will nicely generate for you, but for more complex applications Catalyst is not a bad choice.
This is just word-inflation. in the same way that children nowadays "need" a chocolate bar.
In business, the best way to see if someone really "needs" something is to see how much hassle they're willing to suffer to get it. For example, if they need a $1000 product, then I'd need a 20 page justification. If they need to attend a conference in 'Vegas, I need them to work weekends to catch-up the time etc. You get the idea.
politicians are like babies' nappies: they should both be changed regularly and for the same reasons
Have you ever tried to swap out ActiveRecord in its entirety for something else? The corresponding change in Catalyst is much easier than in Rails. (Rails 2.0 might have changed this; I don't know.) Rails is very proudly opinionated, while Catalyst goes to great lengths not to enforce any single particular component.
Nice synecdoche, but Auntie Beeb's programmers are really not the whole of the Perl community. Plenty of the Perl community doesn't care one whit for web programming, for starters.
how to invest, a novice's guide
- The code has not been released - so all the discussion is a bit void
- The reasons for it's development seem to be based on misunderstandings and 'white listing' of allowed modules (plus only Perl 5.6 allowed)
- It looks like Siemens, which in some way administers BBC working environment, is very reluctant to white list new CPAN modules - so the BBC developers reinvent on a grand scale.
If someone knows someone from Siemens involved in the whitelisting process - then please ask him why it is so slow and ask how the Perl community could help them to make it faster.Complain to your elected representatives, perhaps? Now THAT's thinking outside the box!