BackBone.js
Learning some BackBone.js today -- theoretically should be applicable to both BBDev and stuff at work. The auto updates on data changes is what got back looking at the library. At work we are trying to figure out how to keep client side apps via Javascript updated and synced with other devices running the same app.
I've never honestly worked with any libraries since I found JQuery -- well I worked a little with HammerJS but it was only brief (awesome library btw). So this should be interesting.
So far I've learned:
(function ($) { window.AppView = Backbone.View.extend({ el: $("body"), events: { "click #add-friend": "showPrompt", }, showPrompt: function () { var friend_name = prompt("Who is your friend?"); } }); var appview = new AppView; })(jQuery);
Using this as a starting point: http://thomasdavis.github.com/2011/02/01/backbone-introduction.html
Good links for future reference:
http://ricostacruz.com/backbone-patterns/#sub_views











