I''m considering swapping out Grails for Ruby on Rails as the front-end for my application, which is currently comprised of a Grails front-end and a couple of RESTful "backend" Java Web Services. The various components are tied together using CAS. Before going ahead with the swap I''d appreciate insight on the following: 1. How can I "map" the table structure created by the Java Web Services using ActiveRecord or DataMapper? There will be times I''ll need to pull data directly from the database rather than go through one of the services. 2. In Grails, I have access to SpringSecurityService which gives me access to user information -- i.e. id, name, etc. -- as well as CAS information. How can I achieve this in Rails? Thanks. -Dan -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 5 December 2011 23:49, Dan King <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I''m considering swapping out Grails for Ruby on Rails as the front-end > for my application, which is currently comprised of a Grails front-end > and a couple of RESTful "backend" Java Web Services.Can I ask why you want to switch from grails to rails? I use grails and rails for my applications, I love both, and I think that grails is as good as rails. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Msan Msan wrote in post #1035431:> Can I ask why you want to switch from grails to rails? > I use grails and rails for my applications, I love both, and I think > that grails is as good as rails.Recently, most of my work has been Grails based. However, I do have experience with both Grails and Rails and I find them both to be great framework, with their own respective strengths and weaknesses. With that said, I''m re-implementing the front-end of my application using a JavaScript framework. This particular framework fits very well with Rails and as a result supporting the JS framework with Rails is easier. I can and currently am using Grails to support the JS framework, but it requires a bit more work. As the application progresses the additional work will add up and so I''m considering moving to Rails. The determining factor is how well I can get Rails to work with JaSig CAS. -Dan -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 7 December 2011 18:54, Dan King <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Msan Msan wrote in post #1035431: >> Can I ask why you want to switch from grails to rails? >> I use grails and rails for my applications, I love both, and I think >> that grails is as good as rails. > > Recently, most of my work has been Grails based. However, I do have > experience with both Grails and Rails and I find them both to be great > framework, with their own respective strengths and weaknesses. > > With that said, I''m re-implementing the front-end of my application > using a JavaScript framework. This particular framework fits very well > with Rails and as a result supporting the JS framework with Rails is > easier. I can and currently am using Grails to support the JS framework, > but it requires a bit more work. As the application progresses the > additional work will add up and so I''m considering moving to Rails. The > determining factor is how well I can get Rails to work with JaSig CAS.What is the js framework you are using? I read something about sproutcore, do you know? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Msan Msan wrote in post #1035622:> What is the js framework you are using?Backbone.js (see http://documentcloud.github.com/backbone/)> I read something about sproutcore, do you know?I''ve tried sproutcore and while it''s nice, I prefer Backbone and Knockout. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 8 December 2011 17:39, Dan King <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Msan Msan wrote in post #1035622: >> What is the js framework you are using? > > Backbone.js (see http://documentcloud.github.com/backbone/)Good, thank you, now I try to use 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.