Ruby on Rails for the Rest of Us : Comments
December 4, 2006
Comments
PHP is a programming language and Rails is a framework
That’s true, but incomplete. PHP is a language; Ruby is a language. Rails is a framework, and there are Model-View-Controller frameworks like CakePHP and Code Igniter for PHP.
Gabe,
The goal of the article wasn’t to make the reader feel like they were building Web applications with legos. I didn’t really cover much in terms of program design and structure. Instead, it was focused on introducing/demistifying a buzzword that has been around. Your comments are a very beneficial addition to the article though for people looking for more information.
A very good article.
As you say:
Scaffolding is a great way to hash out a data model quickly
Often when people talk about RoR they present scaffolding as a shortcut to build applications, quickly. Real applications have nothing to do with scaffolding, even if that technology could be really useful during prototyping. You can get your customers playing with the application quickly: they know they’re not evaluating look and feel but checking functionality. It’s a good way to fix unexpected requirements early in the development process.
Nice article. I think Ruby on Rails offers a great opportunity for web designers who have depended on someone else for even simple backends to be able to do it all themselves. But there definitely is a learning curve, and most of the material out there assumes considerable programming experience. In fact, most of the Rails books assume you can read Ruby code.
I recommend David Black’s book Ruby for Rails for someone new to both Ruby and Rails. It is very well written and introduces the language and the framework together in a graceful way.
If you want an immersive introduction to Rails, consider the three-day Rails Studio training from the Pragmatic Studio folks. Great hands-on instruction from real experts.
As for hosting, I second the recommendation for a VPS, and for Rails Machine in particular. I just switched to them after using Rails Playground for a while and suffering poor performance. At $75/month, the entry-level VPS isn’t cheap, but it is very robust.
The VPS solution does involve a learning curve of it’s own, however. Those expecting to do much with Rails should take the time to learn to use Capistrano, which adds yet another item to the learning stack but makes it much easier to manage and deploy apps once you get it set up. (I have a couple posts on this on my blog.)
I’ve just started using cpanel to work on my sites, and I keep hearing about ruby on rails. This is definetely a good introduction and have at least a basic introduction.
Rails is certainly a great framework but there are good frameworks for PHP too. Take a look at http://www.symfony-project.com/
It’s a great framework.
Eriksen, Symfony feels like a Java developer threw up all over a php framework. (Can you say “waaaaaaay too much XML configuration”?)
Try out code ignitor or cakePHP if you want a performance php framework.
I use the open source Wordpress as my framework for PHP. It basically has an entire framework for a site that can be easily customized and is more widely supported due to PHP being largely open source. It also provides the rewrite software automatically which I don’t think Ruby on Rails provides. That’s very important for anyone interested in search engine optimization.
@Brad – Comparing any RAD with Worpress is comparing Apples to Oranges. I agree, PHP is more widely supported by hosts and is much easier to deploy, but it does not have the extensibility of a RAD.
As for your thought that rewrite software does not comes with Rails, that is wrong. Routes are available in most RADs (including Rails) and make it amazingly easy to customize URLs to your heart’s content.

You can use this
feed to keep up with the comments made on this article.