Out of curiosity, what did Mr. Katz say about setting a reference from the model to the view at the meetup?
Todo = OtherMVC.Model.extend({
clear: function() { this.view.remove(); }
});
TodoView = OtherMVC.View.extend({
initialize: function() { this.model.view = this; }
});
Basically he ragged on that for breaking MVC, and never mentioned Backbone by name. I spoke to him afterwards, and he seemed pretty set against Backbone. He considers manually bubbling events to be tedious: "not the happy path".I've been inspired by Morphic recently, where models having knowledge of their views makes sense. When I was a beginner though, I was briefly puzzled by how to connect multiple views to a model and vice versa: I first tried to extend the pattern above before binding to model events.