News for hackers. Stuff that matters.
Re:Backbone 0.9.0 released by halayli on Monday January 30, 2012 @09:42PM (#3531574)
1. Agreed, it force you to do things cleaner I guess.

2. The way I get around the problem is that bindModel takes (model, eventName, func, context) so having a view that represent different models isn't an issue in this case because it ends up being passed to bindModel.

example:

initialize: function () {

  this.bindModel(this.model.get('someCollection'), 'add', someFunc, this);
}

In the app I am working on, my models tend to live much longer than the views, and they usually get updates from the server.

Re:Backbone 0.9.0 released by malandrew on Monday January 30, 2012 @11:50PM (#3531905)
Can you explain a bit more about #2? I'm not sure I understand fully what you mean.