CD Baby Switches Back to PHP from Ruby-On-Rails

Looks like Derek scraped his Ruby-on-Rails re-write of the CD Baby web site and has gone back to PHP.

I’ve been waiting for this bubble to burst for a while now.

The one good point that Derek makes is that the Ruby on Rail experience taught him a lot of great object oriented coding practices that he put ot work in new PHP code. I think the historical lack of object oriented features in PHP are to blame for PHP’s spaghetti code reputation. However the reality is that aside from the lack of name-spacing (which is real a pain), PHP now has the object oriented features that most developers need.

The problem is that most of the PHP development community are not solid OO programmers which just perpetuates the proliferation of bad procedural code. if you are looking for good example of PHP projects that use solid MVC principles take a look at Gallery and Open Web Analytics.

The reality is as Derek suggests. One can write very tight OO code in PHP 5 and enjoy all of the benefits that come along with it.

If you wrote PHP off a while ago you might want to take another look.

7 reasons I switched back to PHP after 2 years on Rails – O’Reilly Ruby

Posted at 1am on 9/24/07 | | Filed Under: Product Development, Technology