Accidental database programming
sqlsync.dev
Accidental database programming
1–10 of 310 posts
Re: Accidental database programming
#2Re: Accidental database programming
#3Re: Accidental database programming
#4https://guides.emberjs.com/release/models/
There’s also https://orbitjs.com/
Re: Accidental database programming
#5Is this supposed to be run on the server? Then how does it really solve the frontend side of issues, I'm just trying to understand.
Re: Accidental database programming
#6Is this supposed to be run on the server? Then how does it really solve the frontend side of issues, I'm just trying to understand.
> Step 2: Install and configure the React library
Re: Accidental database programming
#7The reason we aren't using Sqlite for our product is because Sql is frankly not the right tool for querying data for an application. It doesn't easily map to the data-structures you want in your client code and nearly all SQL databases have no way to subscribe to changes to a query without polling the query repeatedly.
So if you like the idea of having a complete database on your client but also want deep integration with Typescript/Javascript check out what we're building at https://github.com/aspen-cloud/triplit
Re: Accidental database programming
#8I'm currently writing a very similar article about "full-stack databases" which highlights the same pattern where many apps end recreating the logic of our backend and database in the frontend client code. The solution we're promoting is to choose a database that can run on both the server and in the client and then sync between them. The reason we aren't using Sqlite for our product is because Sql is frankly not the…
Re: Accidental database programming
#9I get that you can sync state between browser tabs, but I'm trying on two different devices (iPhone and Desktop).
And as far as I can tell, the Wasm layer can't perform network requests directly.
UPDATE: In the console tab I can see 'coordinatorUrl: 'wss://sqlsync.orbitinghail.workers.dev', but I was expecting to see this Websockets connection in the Network tab, and it isn't.
Re: Accidental database programming
#10I'm currently writing a very similar article about "full-stack databases" which highlights the same pattern where many apps end recreating the logic of our backend and database in the frontend client code. The solution we're promoting is to choose a database that can run on both the server and in the client and then sync between them. The reason we aren't using Sqlite for our product is because Sql is frankly not the…
postgres has some capability to do that, but does need a server.