Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
model.html

README.md

Backbone Application Basics


What you should learn here?

This is not to teach you basics of backbonejs but how you should use it to costruct apps with it.You should observe how the interaction occurs between the core of backbone.js (Model, Collection, View and Router). Examples are fairly simple hence you shall not be intrigued by it's vastness.

Whats in this example?

Simply put this example tracks changes in mouse position and displays it

Who is this model?

Position variable holds the model source. It contains x and y attributes that are zeroed out by default

What does the view do?

Subscribes to the models attribute change and re-renders itself using html template