documentcloud/backbone — Issue #876: missing docs on the internal usage of View.collection and View.model
Author: nagyv
Created: 2012-01-19 16:03:46+00:00
State: open

I'm just learning Backbone, and found that the `model` and `collection` options are handled in special ways by Views, but no further information is available at all what *special* means. May I ask someone to give some info on this?

What I've found is that we are supposed to initialize a view with `new MyView({model: myModel})` and we reference this in rendering like `mytemplate( this.model.toJSON() )`. Is there any other, internal usage for models? Is there anything at all for collections?

thanks for your answers