> And, contra what Mr. Harris says, today the trend is not obviously in javascripts favor. Five years ago, we, as founding members of the javascript resistance, were despairing of any hope of stopping the Javascript juggernaut. But then something unexpected happened: Python took off and, at the same time, javascript flat lined: Why yes... if you use Stack Overflow usage as your measurement. The problem is that doesn'…
My gripe with Stack Overflow is that TypeScript and JavaScript is now what is conflated by question askers.
How a hypermedia approach can address usability concerns with multi-page apps
71–80 of 136 posts
Re: How a hypermedia approach can address usability concerns with multi-page apps
#72Earlier quoted context omitted.
Agree. The other thing I'd add is that we're long overdue for a more fundamental paradigm shift in webdev. That is, we've changed our goal from the original page request/response model to one of delivering native-like SPA experiences. But, the frameworks that win don't fundamentally reconsider the old technology. Instead, they stop at the DOM layer, speak heavy HTML/CSS, make us manage browser mechanics like URLs, hi…
Check out Canonic https://www.canonic.com/ for an experimental take on an alternative web
Re: How a hypermedia approach can address usability concerns with multi-page apps
#73Earlier quoted context omitted.
You can host an htmx-based site on Github Pages for free as well.
Does that fit with the philosophy of htmx? It looks to me like htmlx expects a server?
Re: How a hypermedia approach can address usability concerns with multi-page apps
#74contrary to most of the comments I'm in full agreement with the hypermedia approach. This is an exciting development, especially with hyperscript! I actually attempted to make a "simplified" "js" framework (where you just had some html tags and it did things for you) for tasks congruent to alpine (since I found alpine rather complex, or that it comes with so much but you still have to do a good amount of work to get…
I agree as well. SPAs might be the right approach for specific applications that are actually applications ( e.g. text editors, Jupyter notebooks, chat and other web apps) but more generally the web is designed from the ground up to work well with separate pages representing separate resources.
Re: How a hypermedia approach can address usability concerns with multi-page apps
#75I'm sorry but what's the point here? Rich's talk was not even remotely aimed at HTMX yet this article is nothing but a shameless list of HTMX features.
"We have been asked for our opinion on the talk, so this essay is our response."
Re: How a hypermedia approach can address usability concerns with multi-page apps
#76Doesn't using something like hx-preserve effectively make it an SPA? It makes an AJAX request and replaces part of the DOM. What's the difference?
Re: How a hypermedia approach can address usability concerns with multi-page apps
#77Can anyone recommend a good resource for comparing htmx with alpinejs? I’ve seen them both mentioned here but their differences are not clear to me.
Re: How a hypermedia approach can address usability concerns with multi-page apps
#78Re: How a hypermedia approach can address usability concerns with multi-page apps
#79Not withstanding that HTML and the DOM are garbage to work with in any language
Re: How a hypermedia approach can address usability concerns with multi-page apps
#80https://github.com/unpoly/unpoly/blob/4854c7ccb268890a9522c6...
and it uses several X-HTTP-Headers, which could be standardized.
Do any browsers have the early workings of a "native web application sdk"?