Skip to content

Instantly share code, notes, and snippets.

@trey
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save trey/248fc81fc9e52ca58dd2 to your computer and use it in GitHub Desktop.
Save trey/248fc81fc9e52ca58dd2 to your computer and use it in GitHub Desktop.
Backbone / Marionette Data Structure

I wrote this quick overview down so that I could keep things straight in my head as I'm learning Backbone and Marionette.

  • Template
  • Model
  • ItemView
    • Link to Template
  • Collection
    • Link to Model
    • URL to JSON
  • CollectionView
    • Link to ItemView
    • Gets passed a Collection, which in turn has a link to the Model.
      • This is how the Model and the View for individual items are connected.
@trey
Copy link
Author

trey commented Jul 3, 2014

This is a Solutions Log post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment