Funnily enough, PHP (like, old school PHP) is a surprisingly neat fit for this style of programming when combined with htmx[0]

Tiny amount of glue HTML attributes, a heap of partials that are your PHP files and you’re good to go.

What is old is new again I suppose: we used to do this with PHP and jQuery once upon a time too — though LiveView and similar are far nicer of course.

I’ve been working on some personal tools with nothing more than Deno and htmx. Works quite well for my needs!

[0] https://htmx.org/

I was going to say that I was surprised htmx wasn't mentioned in the article. It's backend-agnostic and extremely easy to use. Drop in Alpine.js and I think you have a really powerful setup without writing any JS. I've been using this with Go[0] and enjoying it.

[0] https://github.com/mikestefanello/pagoda