Re:The future of web software is HTML over WebSockets
by hn_throwaway_99 on Thursday February 25, 2021 @10:01PM
(#26270970)
Yeah, that was my reaction to a lot of the discussion on this article. Firebase Realtime DB has been one of the most amazing pieces of software I've used. I don't have to worry about the connection details at all, I just have this data store that feels like a local DB except it's "magically" synced with the server, and any other users of the DB "magically" get updates when I change it.
[ Parent
| on HN ]
Re:The future of web software is HTML over WebSockets
by thu2111 on Friday February 26, 2021 @05:00AM
(#26273140)
How do you implement ACLs and other privacy-related transformations in that model?
Re:The future of web software is HTML over WebSockets
by hn_throwaway_99 on Friday February 26, 2021 @10:23AM
(#26275635)
You write Firebase Security Rules [1] that restrict access to paths within your database, it's quite awesome. Those rules can be used to implement ACLs and object ownership, and also role-based access according to claims that exist on the JWT of the authenticated user.