Skip to content

GunioRobot/syncable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syncable

Sync data items to HTML elements in real-time

This library allows you to sync collections of items with data on the HTML UI. It does so by storing each item in JSON, and providing methods to update the elements.

Each collection is linked to an HTML element with a given ID, which is auto-detected. Whenever you add, replace or delete elements, the DOM will be updated automagically.

Using Syncable

You just need to include the prototype, mustache and syncable js files into your HTML. To learn more, it's better to take a look at the examples in the examples folder.

The documentation can be found inside syncable.js, just open the file and read the comments.

Contributing

This library is in its infancy. Please contribute with your patches, examples and extensions.

Author and License

Pablo Villalba pablo@teambox.com As an extraction from Teambox project management system.

Licensed under the MIT license. Enjoy!

About

Sync collections of items with your HTML DOM. Use push notifications or polling. In alpha currently.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published