socko ( /ˈsɒkəʊ/ adjective, informal ) stunningly effective or successful.
BackboneSocko allows you to replace xhr-based Backbone.Sync with realtime WebSockets.
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).
MIT