Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Which one to learn between Angular JS and Backbone JS?

If I'm not wrong, both implement MVC concepts. Now can someone here kindly explain it to me which one would be better or easier to learn?

Thanks in advance.

2 Answers

Chris Shaw
Chris Shaw
26,676 Points

I've personally used both and AngularJS hit it out of the park for me, at first I was hesitant about the switch because of how comfortable I already was with Backbone but the advantages showed themselves very quickly.

The biggest advantage AngularJS is its ability to create scopes using nothing more than an attribute on a DOM element which unlike Backbone allows for much more abstract code rather than direct patent-child relationships.

I'm on the train at the time of writing this so I can't go into great detail but my personal choice from now on would be AngularJS.

Stone Preston
Stone Preston
42,016 Points

Treehouse has a course on AngularJS, so I would probably take a look at that first.

You can do a google search on angular vs backbone and find plenty of information.

Here is an article which compares the two and clears up common confusion

which one would be better or easier to learn?

I dont have experience with either, but MVC frameworks share common ideas and concepts, but differ in the actual implementation of those. They are probably around the same level of difficulty and understanding

Yeah I've seen that there's a course on Angular here on treehouse. Was just wondering because I've heard about backbone as well. And I also read the comparison. Was asking here to know directly from people who have worked with either.

Thanks anyways.