Supermodel.js - Minimal Model Tracking For Backbone.js
The Web Dev Zone is brought to you in partnership with Mendix. Discover how IT departments looking for ways to keep up with demand for business apps has caused a new breed of developers to surface - the Rapid Application Developer.
Supermodel. js is a Backbone.js component which provides minimal tracking for models. Often when creating Backbone.js applications, we have several models representing the same server object.
If for example, there are several models representing a certain server object, where and some of them are fetching the data from the server while the data is being updated, this might cause synchronization problems and some models might have stale data.
This is where Supermodel.js steps in. It resolves those synchronization problems by extending Backbone.Model with Supermodel.Model which handles the tracking and creation of individual models.
Demo:http:/ / pathable. github. com/ supermodel/
License: MIT License