var <%= plural_object_name %>View = Backbone.View.extend({ template: JST['<%= plural_underscore_name %>/list'], initialize: function(collection) { _.bindAll(this, 'render', 'addOne', 'addAll'); this.collection = collection; this.collection.bind('refresh', this.addAll); this.render(); this.collection.fetch() }, render: function() { $(this.el).html(this.template()); return this; }, addOne: function(model) { var view = new <%= object_name %>View({model: model}); this.$('.list').append(view.render().el); }, addAll: function() { this.collection.each(this.addOne); } });