Re:SQLite in the browser with WASM/JS - OFFICIAL
by wruza on Saturday October 29, 2022 @05:32AM
(#33382444)
This logic is flawed. X is not in Y, so we shouldn’t add it, because currently in Y no one is using neither X nor some crippled parody of it.
[ Parent
| on HN ]
Re:SQLite in the browser with WASM/JS - OFFICIAL
by ris58h on Saturday October 29, 2022 @05:55AM
(#33382553)
You haven't answered the questions.
I don't see a reason to use RDBMS in a browser, if it's not, for example, an SQL tutorial site.
You gave an example of a t-shirt store. A plain array of JS objects is enough to store items in a browser. Why do you need a fully backed RDBMS for it?
Re:SQLite in the browser with WASM/JS - OFFICIAL
by wruza on Saturday October 29, 2022 @06:47AM
(#33382843)
Because it’s a better programming model.
Re:SQLite in the browser with WASM/JS - OFFICIAL
by ris58h on Saturday October 29, 2022 @08:24AM
(#33383451)
> better
Sorry, but it's just you opinion. Do you have proofs of how t-shirt store will benefit of putting RDBMS on a client side (how much space does it take BTW) instead of using simple list of objects?
And you still haven't answered the questions.