Normalised Javascript client store. #1595
thruflo
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We currently have the
Shapeclient, which materialises a shape. We are working on a few approaches to syncing multiple shapes, so an aggregated shape can come through one stream. I believe it will be useful for application developers to have a normalised store interface to the synced rows. This store would receive rows from the shape stream and store them in a table (similar to a Backbone collection). The app developer could then register callbacks and simple live queries using the store interface.This would essentially provide a middle ground between individual or aggregated shape objects and a full embedded reactive database. It could be implemented in a small about of Javascript, so much lighter as a dependency than an embedded database but more useful than lots of shapes strewn around your application.
Beta Was this translation helpful? Give feedback.
All reactions