Symfony's UX Live and Phoenix's LiveView are features that allow for pages to dynamically refresh their contents without doing full page refreshes and without relying on Javascript.

I'm currently "window shopping" for other langs and frameworks that achieve the same, so anything that needs Javascript is a no-go.

all 5 comments

sorted by: hot top controversial new old
[–] 7 points 1 day ago (2 children)

LiveView does use JavaScript code to subscribe to a web socket, parse and apply the page diff and send back events. You just don’t need to write your own JS to use most of its features. I know nothing about UX Live so I can’t comment on it. Sorry if that’s pedantic, but I’m interpreting “works without relying on JavaScript” as “works without any JS code running at all” which is not the case.

With that out of the way, htmx is similar and one of my favorite tools for building dynamic apps without having to write a single line of my own JS.

  • source
  • hideshow 2 child comments
  • [–] 1 point 1 day ago (1 child)

    I’m a big fan of htmx but had no chance to apply it in production systems. Did you? Can you share your experience?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 day ago

    I haven’t had a chance to run it in production, no. But I did make an experimental branch where I replaced some pages of my old company’s production app (which is a React app) and was able to re-create all the necessary functionality in a lot less code. So stuff like authn and authz worked correctly, desktop notifications and sounds were working (with just a few likes of JS glue code), and I was able to replicate a reasonably complex set of UI updates.

  • source
  • parent
  • [–] 2 points 1 day ago*

    Blazor maybe if I remember correctly and also not sure if they have a full wasm runtime or parts of it are still in js.

  • source
  • [–] 2 points 1 day ago