<div><br></div><div>There's a big difference between full fat frameworks like Angular/Ember (think Rails) and more lightweight libraries like Backbone (think Sinatra). TodoMVC is a great resource, probably a good idea to browse the code of these examples first to get a feel for the various options - <a href="http://addyosmani.github.com/todomvc/">http://addyosmani.github.com/todomvc/</a></div>
<div><br></div><div>If I was starting from scratch I'd probably look at Backbone first as it's small enough to get your head round in a few days and the most popular right now. Addy Osmani (who set up TodoMVC) has a free book that's a pretty good overview (pdf here <a href="https://github.com/addyosmani/backbone-fundamentals/blob/gh-pages/backbone-fundamentals.pdf?raw=true">https://github.com/addyosmani/backbone-fundamentals/blob/gh-pages/backbone-fundamentals.pdf?raw=true</a>). I'd definitely play around with it without Rails initially then move on to Rails integration, there's plenty of info around on blogs etc. - there's even a Thoughtbot book (<a href="https://learn.thoughtbot.com/products/1-backbone-js-on-rails">https://learn.thoughtbot.com/products/1-backbone-js-on-rails</a>) though I haven't read it.</div>
<div><br></div><div>If you want a more feature filled framework then it's probably a toss up between Ember and Angular, they're both good. Ember is better from a Rails integration point of view, not suprising as Yehuda Katz is behind it. Angular is getting some traction and may be more language agnostic if that's an issue. </div>
<div><br></div><div>The main problem is that this whole space is still a pretty new, there's several design approaches and it's going to be a few more years before there's a clear winner.</div><div><br></div><div>
p.s. I've found Yeoman (<a href="http://yeoman.io/">http://yeoman.io/</a>) really useful for setting up js frameworks, well worth a look  </div><div><br></div><div>-- </div><div>David Burrows</div><div>079 1234 2125</div>
<div>@dburrows</div><div><br></div><div><a href="http://www.designsuperbuild.com/" target="_blank">http://www.designsuperbuild.com/</a> | @dsgnsprbld</div><br>
<br><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 12:00 PM, Riccardo Tacconi <span dir="ltr"><<a href="mailto:rtacconi@gmail.com" target="_blank">rtacconi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>I decided to learn a JavaScript MVC framework to update my Rails development skills. Many projects are using Rails to provide a RESTful API and a MVC JS framework to do the rest. Although I do not like much to use Rails as an API framework and a JS framework to develop the UI, I think just using jQuery in the traditional way it is not enough, not anymore. What I am saying is not new, but the problem is that we already have many JS frameworks. Backbone.js was probably the first one, but now we have Ember.js, Spine.js and Angular.js. I am sure there are more. </div>

<div><br></div><div>My question is: which one to choose? Which one is the most popular? Angular.js makes sense to me, it seems quite simple and complete, Backbone.js seems to me a bit 'exotic', different from what I am used to. The simplest solution would be to use the Meteor framework, which makes easy to write an app using Javascript client and server side as they were just one thing... but I still love Ruby, at least for the backend.</div>

<div><br></div><div>Since I am looking for a new job, I fear I will learn Angular.js and then an employer will ask me Backbone.js. </div><div><br></div><div>What do you think?<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><br></div>-- <br>Riccardo Tacconi<br>
Ruby on Rails and PHP development - System Administration<br><a href="http://virtuelogic.net/" target="_blank">VIRTUELOGIC LIMITED</a><br><br><a href="http://github.com/rtacconi" target="_blank">http://github.com/rtacconi</a><br>

<a href="http://riccardotacconi.blogspot.com" target="_blank">http://riccardotacconi.blogspot.com</a><br><a href="http://twitter.com/rtacconi" target="_blank">http://twitter.com/rtacconi</a><br>
</font></span></div>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br>