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.
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 () {
}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.