Skip to content

andrzejkrecicki/backboneSocko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

BackboneSocko

socko ( /ˈsɒkəʊ/ adjective, informal ) stunningly effective or successful.

BackboneSocko allows you to replace xhr-based Backbone.Sync with realtime WebSockets.

Usage

BackboneSocko uses following JSON format to transport messages: url: model url method: method: create/read/update/delete data: model attributes

Server should allow WebSockets connections at Backbone.WebSocketURL and accept format specified above. Moreover every connected client should be notified about any changes (see simple example in server-example.js).

License

MIT

About

micro plugin for backbone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published