4 ms·
My goal is similar to Joseph's (a platform for local first applications using CRDTs), but the approach is slightly different, as I'm building it based on SQLite
by paulclinger 4y ago
My goal is similar to Joseph's (a platform for local first applications using CRDTs), but the approach is slightly different, as I'm building it based on SQLite synchronization using its session extension (https://www.sqlite.org/sessionintro.html https://www.sqlite.org/sessionintro.html) as the encoding mechanism. I plan to incorporate this sync functionality into my web framework (https://github.com/pkulchenko/fullmoon https://github.com/pkulchenko/fullmoon) to allow any application built with it to become "sync-enabled" with just a couple of additional lines of code.
- AlexErrant 4y agocr-sqlite is a similar project on SQLite, but it's a standalone extension without a web framework. https://github.com/vlcn-io/cr-sqlite/ https://github.com/vlcn-io/cr-sqlite/
- paulclinger 4y agoIndeed. Matt (the author of cr-sqlite) and I have discussed the differences and similarities in our approaches. cr-sqlite is based on triggers, which allows all the code to be encapsulated in the DB (although the network layer is still needed to send/receive patches); my approach provides tight integration with the rest of the fullmoon framework relying on its network support and message processing.