Comment by projct
6 hours ago
LiveView is perfect for that. one of the easiest to understand demos of it is actually something just like that.
that said liveview is capable of 60fps server-rendered animation, so it's definitely not just for speeding up page loads.
Thanks a lot! I'll give this a try next time I feel like coding for a hobby.
I've tried exactly this "project idea" in a half-assed way some time ago with next.js, Postgres and Prisma before I was out of free-time-in-front-of-computer.
Then abandoned it again it when I started coding for a living again. It was exactly the "modest RT capabilities" thing when I abandoned it. Because I started using Firebase (2023, Supabase was not known to me then) and then I felt like "OK, I managed to get full next.js running properly on shared hosting with limited server-side JS, but now I again need an external cloud provider for a hobby project" (Firebase).
I read a bit about their pricing models and lost interest.
I think next time I'm gonna try see what this stack can do.
In 2024, I heard a very interesting conference presentation about Erlang and its concurrency model, that was after the hobby experiment, and made me want to revisit losely functional languages with strong pattern matching (OCaml too, but that's a different topic).