Re: [Rails] jScript framework?
On Oct 30, 2013, at 8:12 PM, mark edwards <lists@ruby-forum.com> 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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home