Greg Hauptmann
2006-Oct-25 18:53 UTC
Google Web Toolkit (GWT) - as a rails developers should I consider this???
Hi, Should a Rails developer consider using GWT as a core component, or is the concept that rails uses prototype so rails developers should focus on use of prototype? Tks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Jatinder Singh
2006-Oct-25 19:49 UTC
Re: Google Web Toolkit (GWT) - as a rails developers should I consider this???
A lot of widgets of GWT are implemented in prototype family javascript libraries, and Rails gives helper methods for the common used widgets. In GWT, java code is written for implementing the required java script bahaviour and then it is converted by GWT compiler in to javascript, I am not sure how will that fit in to rails/ruby world. Regards, Jatinder On 10/26/06, Greg Hauptmann <greg.hauptmann.ruby-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > Should a Rails developer consider using GWT as a core component, or is the > concept that rails uses prototype so rails developers should focus on use > of prototype? > > Tks > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Richard Conroy
2006-Oct-26 17:18 UTC
Re: Google Web Toolkit (GWT) - as a rails developers should I consider this???
On 10/25/06, Jatinder Singh <jatinder.saundh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> A lot of widgets of GWT are implemented in prototype family javascript > libraries, and Rails gives helper methods for the common used widgets. > > In GWT, java code is written for implementing the required java script > bahaviour and then it is converted by GWT compiler in to javascript, I am > not sure how will that fit in to rails/ruby world.Its actually quite alien really - you design your layouts in Swing and then cross-port them to HTML+AJAX. Its obviously a successful model for google and something that really appeals to a large chunk of the java community who aren''t in the Web development camp. It just seems to me (even as a Java developer) about as good a fit for web developement as learning classic french literature through japanese. It would be even less relevant to a Rails developer. The primary purpose of GWT is to bootstrap you into web 2.0 technologies by leveraging Java skills. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Sam Joseph
2006-Oct-27 02:49 UTC
Re: Google Web Toolkit (GWT) - as a rails developers should I consider this???
Richard Conroy wrote:> Its actually quite alien really - you design your layouts in Swing and then > cross-port them to HTML+AJAX. Its obviously a successful model for > google and something that really appeals to a large chunk of the java > community who aren''t in the Web development camp. > > It just seems to me (even as a Java developer) about as good a fit for > web developement as learning classic french literature through > japanese.That may be so, but as a rails developer I feel a little envious of some of the features in GWT, such as their browser history management: http://code.google.com/webtoolkit/documentation/com.google.gwt.user.client.History.html of course it may be that I can easily achieve the same effects with rails, but just haven''t worked out how. Another thing is that I''m quite envious of the google homepage, which I assume is built using GWT, with it''s collapsible windows. I have implemented collapsible windows in our rails app, but it feels a bit messy. I guess I have to come out of the closet :-) and admit that I did my first graphics programming in swing/AWT and the idea of having a widget into to which I can drop my content into is appealing. Of course it may just be that I haven''t found quite the right way of creating a single template that I can use generically across all the collapsible windows in our current rails app. Just thinking out loud ... CHEERS> SAM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Nex3
2006-Oct-27 08:41 UTC
Re: Google Web Toolkit (GWT) - as a rails developers should I consider this???
In reality, it''s not as though Rails depends heavily on Javascript at all. Prototype is not a necessity... it''s reasonably easy to drop GWT code into Rails (just put the files into /javascripts and link them like normal). You miss out on Rails helpers and RJS, but you also miss out on browser quirks and a totally non-widget-oriented framework. I''d say, if you feel significantly more comfortable with Java than with JS, or if you really dig the widgetty nature of the GWT, go for it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---