Crossing borders: What's the secret sauce in Ruby on Rails? (developerWorks)
Posted Oct 16, 2006 21:45 UTC (Mon) by
ajross (subscriber, #4563)
Parent article:
Crossing borders: What's the secret sauce in Ruby on Rails? (developerWorks)
Maybe I can troll an explanation from someone: what's the deal with
rails? I've never done any significant Ruby work, but I've read
tutorials here and there. They all look cool (albeit mildly
inscrutable) at the beginning, as the database schema appears
"magically" from the data used to describe the page.
But then the tutorial starts adding features, and as that happens the
magic starts disappearing. The queries become fancier and need to be
done in SQL, the magic code generators start being replaced with more
conventional "PHP-like" template code in the pages, etc... The end
result doesn't look, to my eyes, any different from a PHP or Mason
application.
Add to that the fact that Rails engine requires (I think) that it be
the web server and won't run as an Apache module and it starts to seem
kinda awkward. What gives? This seems to me like another situation
where a cool toy has "optimized" the wrong part of the problem
(initial site setup) and complicated the hard parts (long term
maintenance and code evolution).
(
Log in to post comments)