4 ms·
It would be awesome if it persisted all the operations to a log. That way, when I attach a new endpoint I could get it "caught up". And then, assuming your ha
by coderzach 12y ago
It would be awesome if it persisted all the operations to a log. That way, when I attach a new endpoint I could get it "caught up".
And then, assuming your handlers are idempotent, running db migrations or adding a new representation of your data would be as easy as attaching a modified handler and running through the log from the beginning.
- jchrisa 12y agoSounds like you might want http://pouchdb.com/ http://pouchdb.com/ which has offline support including conflict management.
- crcn 12y agoShouldn't be too difficult to implement. Here's one possible way to do it: https://gist.github.com/crcn/cac5b5826590abed921d https://gist.github.com/crcn/cac5b5826590abed921d