3 ms·
I think most dbs, paas, frameworks skip this use case. For a snappy data-centric app, you pretty much need your entire app logic to run client-side. Everyone
by vaughan 5y ago
I think most dbs, paas, frameworks skip this use case.
For a snappy data-centric app, you pretty much need your entire app logic to run client-side.
Everyone always ends up with this terrible denormalized client-side cache with duplicated Server side logic.
What you really want is the exact same db running server-side and client-side.
I thought for a while this would be an sql db but now I think sql and the relational model is the wrong approach for web app data as they are inefficient for watching queries and syncing.
- nyellin 5y agoHmm, interesting. I'm using supabase which essentially autogenerates the entire server-side part. So all my logic is client side. What's missing is tighter integration between swrv/vue-swrv and the supabase client so that when you run a query it can be smart enough to know if you apply it locally or remotely.