News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
KillerPHP.com:
Will Ruby kill PHP?
August 07, 2006 @ 13:30:24

In his latest post today, Stefan Mischook asks the question every PHP developer (and company looking to invest in the language) out there is wondering - will Ruby kill PHP?

With the recent rise in popularity of the Ruby programming language (largely driven by the excellent but not perfect web framework called Rails), I've noticed a little fear in the air...fear on the part of some people in the PHP community.

Will Ruby kill PHP? The short answer is: no.

He takes the reader on a trip through his reasoning - things like "Ruby is elegant, but not complex" and "Java nerds love Ruby". But, one of the things that is talked most about for Ruby (everything's an object) is the same reason why PHPers and those looking for a quick, powerful, easy-to-use language will still stick with PHP.

2 comments voice your opinion now!
ruby kill popularity elegant complex object ruby kill popularity elegant complex object




Not one sacred tool
The writer of this post seems to presume that there is only one tool for every job. That's simply not true. I think that eventually Ruby (well, Rails most likely) will rise as the tool of choice in certain areas. The problem with using PHP in big projects is simply its nature. You see a lot of code clutter and ugly hacks when you have to work on existing code bases, and that's just annoying. Sure, for a script that just mails the content of a form or something like that, PHP is a good tool. Even DHH (the creator of Rails) uses PHP for such tasks, according to an interview he recently did for O'reilly (specifically, read http://www.oreillynet.com/pub/a/network/2005/08/30/ruby-rails-david-heinemeier-hansson.html?page=3).
When web applications become more complex however, I'd rather prefer a solution (read: framework) that is elegant, well documented, full featured, thoroughly tested, has a wide and helpful community and is based on popular, proven agile practices. That's the kind of applications I don't like using PHP for anymore. But it's not like you can't use these tools together. Who has ever worked in an environment where the only language being used was PHP? Besides, Ruby/Rails can well be used with Java as a backend, too (jruby.sourceforge.net). As for the complexity - I really don't agree. Ruby is not a hard language to learn. Sure, it has advanced features (blocks for example), but if you invest some time and attention into that, they're really not all that hard either. I think maybe the author of the article should give Rails a shot while keeping an open mind.

Similar Posts

KillerPHP.com: Will Ruby kill PHP?

Developer Tutorials Blog: 5 Ways to be a Better PHP Developer

Kurt Schrader's Blog: Ruby is a Playground, PHP is a Factory

DevShed: Using PDO Objects in PHP 5 - Using the PDO extension

PHP 10.0 Blog: php -T (variable tainting)


Community Events









Don't see your event here?
Let us know!


facebook release symfony performance podcast windows job zendframework opinion conference wordpress developer apache microsoft sqlserver framework feature drupal extension codeigniter

All content copyright, 2010 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework