Marionette.js CollectionView, only render specific models
问题 I am refactoring my Backbone.js application to use Marionette.js, and I am trying to wrap my head around a CollectionView . Suppose I have several ItemView s with the model Cow : // Declare my models. var Cow = Backbone.Model.extend({}); var Cows = Backbone.Collection.extend({ model: Cow }); // Make my views var GrassPatch = Marionette.ItemView.extend({ tagName: 'div', template: "<section class='grass'>{{name}}</section>", }) var Pasture = Marionette.CollectionView.extend({}); // Instantiate