02 OCT

Ruby on Rails Inspired PHP

I came across this article during one of my tech news binges a few weeks ago. It's a short account of a 2 year effort to rewrite a 100,000 line PHP project in Ruby on Rails. Despite hiring one of the best Rails programmers to undertake this effort, it didn't quite go to plan: they eventually reverted back to PHP to do the rewrite in just 2 months.

There were obviously lots of factors that came into play, some of which where entirely unrelated to the project, but there is still an interesting lesson to learn. From the article:

It's the most beautiful PHP I’ve ever written, all wonderfully MVC and DRY, and I owe it all to Rails.

7 reasons I switched back to PHP after 2 years on Rails (www.oreillynet.com)