Hi, are there any really unbiased comparisons between rails and
grails, and to which each framework is better suited for?
I'm coming from a java background, but I am not against using a non
java solution if it's actually better. I am a little concerned with
performance though. The site needs to really work well with 200,000
visits a day, and that's going to grow.
I started to use grails, and it's all well and good, but there's some
things i don't like about it.
1) The tests take forever to run
2) IntelliJ IDEA reports integration tests as passing and displays a
green light, even though they fail. The test output stinks, so running
them on the command line and checking an html test results file is the
only thing you can do. This is awful.
3) Apparently saving a domain class that violates constraints does not
throw an exception when testing. I can understand for production
saves, but for tests?! It is so important to get good feedback rather
than silence failures that do nothing. Maybe over time, I will just
"know", but I can hardly see how silent failures are more productive.
I spent 30-45 minutes wondering why the test was failing because it
looked totally fine and mirrored the examples.
4) It has slow code->browser cycles.. and sometimes you gotta restart
tomcat anyway because the class loading blows up. It happens a lot
more than they say it does.
The one thing I have against rails/ruby is that I hate their method
names. Underscores are confusing to me because they sort of look like
operators. Maybe can get used to this, but I hate methods like to_s
for toString. That stuff is going to drive me nuts.
Anyway, our site has to support a lot of traffic, requires a lot of
cron-like stuff built into the application, and we'll need to support
relational databases and something like cassandra.