Live data from Hacker News

Backbone.js v0.9.10 Released

backbonejs.org

1–10 of 44 posts

Re: Backbone.js v0.9.10 Released

#4

"Most importantly, Backbone events have two new methods: listenTo and stopListening... When you destroy Views with view.remove(), this will now be done automatically" Well that seems incredibly useful.

This was added in December with 0.9.9 - but yes, it's very useful :)

Re: Backbone.js v0.9.10 Released

#5

Another framework worth checking out if you're into JavaScript MVC is AngularJS ( http://angularjs.org ).

I'd be interested to hear from anyone who's used both Backbone and Angular.

I've been writing my first single-page app (yeah, yeah, behind the times) using Backbone, and at first it was really exciting and intuitive, but I'm starting to realize Backbone is a pretty, er, bare-bones lib. Everyone seemed to suggest Handlebars as a template lib, so I added that to my project, and RequireJS to manage those two libs and their dependencies, and the RequireJS text plugin to load templates from other files in the project, and now it all just seems like a mess. The promise of a framework with everything you need, right out of the box, is tempting.

Edit: Most of the alternatives (e.g. Ember, Angular, Knockout, Meteor, etc.) are already in my bookmarks. I'm looking for reports from people who actually used the things, not links.

Re: Backbone.js v0.9.10 Released

#6
post #4

"Most importantly, Backbone events have two new methods: listenTo and stopListening... When you destroy Views with view.remove(), this will now be done automatically" Well that seems incredibly useful.

This was added in December with 0.9.9 - but yes, it's very useful :)

In fact, all but the last 2 items on the list are from 0.9.9: http://backbonejs.org/#changelog

Re: Backbone.js v0.9.10 Released

#7
post #5

Another framework worth checking out if you're into JavaScript MVC is AngularJS ( http://angularjs.org ).

I'd be interested to hear from anyone who's used both Backbone and Angular. I've been writing my first single-page app (yeah, yeah, behind the times) using Backbone, and at first it was really exciting and intuitive, but I'm starting to realize Backbone is a pretty, er, bare-bones lib. Everyone seemed to suggest Handlebars as a template lib, so I added that to my project, and RequireJS to manage those two libs and th…

For more complete frameworks around Backbone, try:

https://github.com/tbranyen/backbone-boilerplate

http://walmartlabs.github.com/thorax/

https://github.com/marionettejs/backbone.marionette

https://github.com/chaplinjs/chaplin

Outside of Backbone, there's also http://emberjs.com/

Re: Backbone.js v0.9.10 Released

#8
post #5

Another framework worth checking out if you're into JavaScript MVC is AngularJS ( http://angularjs.org ).

I'd be interested to hear from anyone who's used both Backbone and Angular. I've been writing my first single-page app (yeah, yeah, behind the times) using Backbone, and at first it was really exciting and intuitive, but I'm starting to realize Backbone is a pretty, er, bare-bones lib. Everyone seemed to suggest Handlebars as a template lib, so I added that to my project, and RequireJS to manage those two libs and th…

I think even going at step farther and throwing in Knockout too. I agree with everything you said about Backbone.

Re: Backbone.js v0.9.10 Released

#9
post #5

Another framework worth checking out if you're into JavaScript MVC is AngularJS ( http://angularjs.org ).

I'd be interested to hear from anyone who's used both Backbone and Angular. I've been writing my first single-page app (yeah, yeah, behind the times) using Backbone, and at first it was really exciting and intuitive, but I'm starting to realize Backbone is a pretty, er, bare-bones lib. Everyone seemed to suggest Handlebars as a template lib, so I added that to my project, and RequireJS to manage those two libs and th…

That's pretty much it. If you're into having absolute control over your code and how it's structured Backbone is where it's at, if you don't want to deal with the plumbing and don't mind the framework having an opinion on how your write and structure code, then angular is probably for you.
Post reply on HN