3 ms·
Phoenix liveview gives you almost-spa out of the box with relatively little fuss. Of course if you want dead routes you can have those too. You get the safety
by throwawaymaths 4y ago
Phoenix liveview gives you almost-spa out of the box with relatively little fuss. Of course if you want dead routes you can have those too. You get the safety of a pragmatic fp with escape hatches for stateful stuff (like db access). The designers came from RoR so it really takes care of a lot of easy to screw up things, but they also removed a lot of the super hard to understand RoR magic.
It's future-proof too, if you want to bolt on say machine learning, or data processing pipelines later, that's becoming a real thing in the ecosystem.
I was watching a video on someone writing an Ethereum indexing system in go. One frame had their super complicated concurrent processing system, and my eyes bugged out. Also they claimed there was a concurrency bug. I wound up writing an equivalent in elixir in about a week, no concurrency bugs.
- out_of_protocol 4y agoAnother point, phoenix app ages nicely. Got product that was online from 1.1 (2016) days with no maintenance, upgrading it to latest took only two days or so, mostly spent on 3rd party deps.