|
The major reason Rails rocks for me is that it makes good practice easy. In fact a lot of the time it's harder to behave badly. You guys have already mentioned the MVC pattern support, but you also get things like: - Great testing support, automatic creation of functional and integration test skeletons. I'm currently investigating Selenium on Rails http://www.openqa.org/selenium-on-rails/ which looks like a good solution to getting front end tests automated as well :-) - Fixtures for generating test data - Support for multiple environments baked in - Migrations that make evolving databases easy I'm working on a large .Net project at the moment and one of the major frustrations I am have is that when you open Visual Studio you get a blank canvas. What happens when you get a blank canvas? You either: a) End up with a mass of developers with varying skill levels making their own little bit of the system in a particular style. This gives you a maintenance and integration nightmare. b) spend ages investigating and educating people about options for unit testing, deployment, system structure etc. etc. I'm happy that Rails (in a large subset of contexts) presents a complete environment for development that other so called 'Enterprise Strength' frameworks lack. This leaves me to concentrate on the important bits, i.e. fulfilling the requirements. I just wish I could persuade the senior people at my company that we're missing a trick by not using it more!
|
# ¿ Aug 10, 2007 17:25 |
|
|
# ¿ May 3, 2024 07:31 |
|
Mr. Wynand posted:... Fair points, I guess it's just refreshing to see a framework that even thinks about these things. They seem to be unknown subjects in the .Net world. What about the other RAD frameworks, like Django or Zope/Plone? Do they have similar development process features?
|
# ¿ Aug 11, 2007 11:00 |
|
Praetorian42 posted:You don't have to use the generator, it is just easier. Or you could just run scaffold, then delete the migration and then set up your tables as you suggest. As for testing, you can clone an existing database via the 'rake db:test:clone' command (although this might fail). See this blog post I found about testing non rails apps via rails which might be useful: http://www.martinicity.net/articles/2007/03/31/testing-a-non-rails-application-using-rails
|
# ¿ Feb 4, 2009 19:49 |