They are just two different things and I don't see a real use for them together.
Ruby on Rails is a platform for building web applications. RoR is mainly usefull if you want to build dynamic sites, based on relational databases. One of the things that are very well supported in RoR is AJAX. There is a number of AJAX functionality that you can add to your pages in a very Ruby-like way. The pages that are then created have JavaScript auto generated.
It that the functionality looks a bit like GWT. in GWT you develop an application in Java. At the end of the day, this Java code is then transformed into HTML and JavaScript, giving you an AJAX application.
So one could say that both frameworks offer you the possibility to develop an AJAX application using a languagae of choice (Ruby or Java). After development there is an automatic transformation from the language of choice to HTML/JavaScript.
But here the comparisson stops.
How to decide which one to use? RoR Ajax is only usefull if you are already using RoR for your project.
If you are building a database driven website, I strongly recommend you do... it is very nice and easy.
If you are using RoR and you need AJAX, there is a very good support (way better than with its alternatives Django, TurboGears, CakePHP, ...)
GWT is mainly usefull if you are a good Java developer and in my opinion when your site has a java grounding (though that is not really necessary) Of course you need to integrate the JavaScript pages with calls to the server. And as mnathani claims... GWT can be pretty complex.
GWT might have a bit more power than RoR, but I don't see them working together
cheers
Geert
Main Topics
Browse All Topics





by: mnathaniPosted on 2007-08-30 at 23:00:22ID: 19806209
From what I hear of Google Web Toolkit, it is very good but requires strong Java knowledge to produce code. (Fairly complex)
About Ruby on Rails, I hear it is very easy to use.
I do not have any real experience using either.