codeboost/Skull.io — Issue #1: Unlock models on client(socket) disconnect
Author: maerten
Created: 2011-11-09 01:33:34+00:00
State: open

Hi, right now I'm working on a similar thing with syncing Backbone models to the server with Socket.io. My approach is without locking any models though (when a model get's updated while someone is editing, the user editing the model can choose to import the changes, or to continue with the old model and save the changes later, thus overwriting the model again). Not sure what's more annoying: getting these kind of "Import changes from user XXX?" popups, or looking at a screen with locking and un-locking states of models.. :)

Anyway, suggestion is in the title!