15 ms·
Absurd is really cool. I've always thought it would be great to have an SQL db implemented in native JS though. With the database running in the same process a
by vaughan 5y ago
Absurd is really cool. I've always thought it would be great to have an SQL db implemented in native JS though.
With the database running in the same process as your app, you could store native JS Objects of your table rows in the cache, which you could bind events to. So if you modify a row in a table in the db, events could be instantly propagated to the UI. Haven't thought it through fully yet.
SQL is also a bit cumbersome for things like deeply nested data, hierarchies, trees, graphs which a lot of client-side application state ends up being.
Sessions looks cool!