How to develop for the SAFE Network (draft)

@krishna @joshuef I just read this article that perhaps gives us some other reasons for preferring native (desktop/mobile) over web apps, and also some examples of problems in the browser we might want to check for (see the HEIST link).

His follow up article is worth a read too because it attempts to redesign the web platform for security (note the comments on URLs!):

@dirvine you might be interested in Permazen, described in the second article (as not well known), though you are probably way ahead of me :slight_smile::

One of the interesting things about Permazen is that you can use ‘snapshot transactions’ to serialise and deserialise an object graph. That snapshot even includes indexes, meaning you can stream data into local storage if memory is too small and do indexed queries over it. It should be clear how this can provide a unified form of data storage with offline sync support. Resolving conflicts can be done transactionally as all Permazen operations can be done inside a serialisable transaction (if you want a Google Docs like conflict-free experience that will require an operational transform library).

5 Likes