Backbone.js Tutorial - by noob for noobs
thomasdavis.github.com
thomasdavis.github.com
Thanks!
Anyone wanting to see what I was doing wrong can go to the link below https://github.com/thomasdavis/thomasdavis.github.com/blob/8...
backbone.js seems like a great library, and MVC is on the YUI 3 roadmap ( http://yuilibrary.com/projects/yui3/roadmap ), hopefully some of the concepts from backbone get implemented in the YUI’s MVC layer.
window.App = new AppView
which I think is a good idiom.Off topic but... what in the world is up with the lowercase b's, d's, and u's on that site? Haha :)
I will have to disagree.
By condensed do you mean the code could be implemented better? Or do you think there are too many useless methods?
Just some things I have noticedl
Backbones Controller/History beats most jQuery plugins and generally Backbone.js will still be smaller then the plugins for example jQuery BBQ or Baluptons implementation.
The Backbone.sync method forces you to route all ajax calls through one gateway which means you have no code redundancy.
Backbone is built to work along side of underscore.js which is also super light weight. Also very fast at manipulating the DOM and includes a default templating system which works great.
... Which is totally true. You only get to the point where something like Backbone would be an advantage when you have rich models with editable state.
It's cool that my comment is at -1 points. Thanks HN! You make me want to return here more and more every day with your unbiased contributions.
its just that they descend below the baseline, which looks a bit odd. The effect only appears at the default text zoom (on FF for Windows).