Phoenix LiveView vs SPA

Something I think I am leaning towards doing is having a read-only version of the site shown to bots/non-JS users - like what Discourse does (if you turn off JS you’ll see what I mean). This isn’t something new mind, vBulletin was doing the same thing over a decade ago and out of all the forums back then they were almost always consistently ranking higher.

When I think about how I want to build apps moving forward, I think I want to separate, with different versions for no-js, desktop web users, mobile web users, mobile app users, desktop apps etc. It’s reached a point where these are now sufficiently different and a simple responsive site isn’t really going to do them all justice. This is why I was drawn to Dave’s Elixir course so much - you build the app in Elixir and then use Phoenix for the web layer (or even multiple layers) etc. (There was a good discussion about it here.)

This is something I am thinking about more and more too.

I am reserving judgement for now tho. I am going to finish learning Svelte and then re-evaluate how I feel and how I am think I am personally going to build apps moving forward. Will definitely be keeping an eye on these threads in the meantime.

1 Like