newbie disclaimer - i have yet to even start using RoR....... hello all - i am getting ready to start looking into RoR and was wondering about how various (and many) jScript frameworks might tie into RoR. particularly, i was interested in google-AngularJS, probably because i notice that google has thrown its mighty weight behind it. i also saw there was a coffeescript, backbone.js, and a couple dozen others. is there one jScript framework that plays best with RoR? is using two different frameworks counterproductive ? being the idiot newbie that i am, i am surprised that RoR has not partnered up with a jScript framework! -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7782a706856a679887ec062828b7b586%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Since Rails 3.1, jQuery is the default javascript library. Prior to that it was Prototype (although jQuery was still an easily configurable option). The addition of any other js libraries or js development frameworks is pretty easy. I wouldn''t call using multiple js libraries as counterproductive but would need a really good reason for doing so since jQuery is pretty robust. On Wednesday, October 30, 2013 8:12:55 PM UTC-5, Ruby-Forum.com User wrote:> > newbie disclaimer - i have yet to even start using RoR....... > > hello all - i am getting ready to start looking into RoR and was > wondering about how various (and many) jScript frameworks might tie into > RoR. > > particularly, i was interested in google-AngularJS, probably because i > notice that google has thrown its mighty weight behind it. > > i also saw there was a coffeescript, backbone.js, and a couple dozen > others. > > is there one jScript framework that plays best with RoR? is using two > different frameworks counterproductive ? > > being the idiot newbie that i am, i am surprised that RoR has not > partnered up with a jScript framework! > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ddf44b70-799a-4ef0-8e2b-6eaa5ad830dc%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
On Oct 30, 2013, at 8:12 PM, mark edwards <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> newbie disclaimer - i have yet to even start using RoR....... > > hello all - i am getting ready to start looking into RoR and was > wondering about how various (and many) jScript frameworks might tie into > RoR. > > particularly, i was interested in google-AngularJS, probably because i > notice that google has thrown its mighty weight behind it. > > i also saw there was a coffeescript, backbone.js, and a couple dozen > others. > > is there one jScript framework that plays best with RoR? is using two > different frameworks counterproductive ? > > being the idiot newbie that i am, i am surprised that RoR has not > partnered up with a jScript framework!Really mixing things up here: I’m just going to assume when you use the term ''jScript'' you just mean "JavaScript". If you meant some sort of weird Microsoft thing, then I don’t know. As was mentioned, RoR ships out of the box with support for jQuery *library* (not a framework!). Mixing libraries is not usually a good thing to do. There are also frameworks, but Rails doesn’t have an opinion on these, which it really shouldn’t: - Backbone.js - AngularJS - EmberJS Coffeescript is an advanced dialect of JavaScript that is much more object-oriented, and (I think) easier to write. What plays best is often a matter of client-side application architecture, how you want to approach things, and how much of an opinionated framework you like to work with. Angular is certainly a viable option. Writing your Angular code in Coffeescript and placing it in the app/assets/javascript/ folder will make Rails very happy. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7697B245-AA49-4132-B3E6-D23CBA6E13BC%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.