Platinum Partner
css,html5,javascript,tips and tricks

Supermodel.js - Minimal Model Tracking For Backbone.js

 

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.

Requirements: Backbone.js
Demo:http:/ / pathable. github. com/ supermodel/
License: MIT License



Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}