His model (Friends Collection) is doing view duty. Shouldnt the addFriendLi method be apart of the controller binding the Friend(s) model and AppView view?
I thought it would be interesting to create a comparable example of this mini-app with basic YUI 3 code: <a href="http://jsfiddle.net/ericf/wpuCm/" rel="nofollow">http://jsfiddle.net/ericf/wpuCm/</a><p>backbone.js seems like a great library, and MVC is on the YUI 3 roadmap ( <a href="http://yuilibrary.com/projects/yui3/roadmap" rel="nofollow">http://yuilibrary.com/projects/yui3/roadmap</a> ), hopefully some of the concepts from backbone get implemented in the YUI’s MVC layer.
A very minor suggestion, but I think the last line (var appview = new AppView) is a little bit confusing on first reading - it's not immediately obvious that you're setting the variable to initiate the view... I've seen it written elsewhere like so:<p><pre><code> window.App = new AppView
</code></pre>
which I think is a good idiom.
It's a good library in theory... but it could and should be condensed to a fraction of its size. Maybe I'm just being too critical and OCD but I feel like there's too much code for what it actually does.<p>Off topic but... what in the world is up with the lowercase b's, d's, and u's on that site? Haha :)
For a community built off of a word that is almost always misunderstood by "normal people" you guys sure do misuse the word noob an awful lot. noob is negative, the word you want is "newb" or "newbie".<p><a href="http://www.urbandictionary.com/define.php?term=noob" rel="nofollow">http://www.urbandictionary.com/define.php?term=noob</a>