←back to thread

175 points chilipepperhott | 1 comments | | HN request time: 0.245s | source
Show context
myflash13 ◴[] No.44474202[source]
Closest thing to true “serverless”: entire MVC app (Django/Rails/Laravel) in the browser with WASM and data persistence by SQLite over CDN.

All the server has to do then is serve binaries, all the business logic is in the client.

replies(2): >>44474217 #>>44474669 #
gjsman-1000 ◴[] No.44474217[source]
Brilliant… but now you need to validate that the client did all their business logic correctly without tampering. That alone can be so complex it defeats the point.
replies(1): >>44474340 #
justinrubek ◴[] No.44474340[source]
No... you don't need that. Not for the overwhelmingly vast majority of cases. Let people use their own software. Tampering? Not my problem. Let people do it if they want.
replies(3): >>44474357 #>>44474599 #>>44474690 #
kevmo314 ◴[] No.44474599[source]
Anything that involves sharing data with other people will run into issues around updating. If your API surface is a shipped sqlite db instead of an API call it's liable to be abused in so many ways.
replies(1): >>44474844 #
1. a_wild_dandan ◴[] No.44474844[source]
Local-first doesn't mean local-only though, yeah? Isolate cloud usage to those collaborative features. If that's a huge ask, then your thingy probably isn't the kind of tool we're talking about localizing here!