3 ms·
Interesting write up. It frames htmx as a much more principled system. But it feels like such a dry version of control, something that conceetely links back to
by jauntywundrkind 2y ago
Interesting write up. It frames htmx as a much more principled system. But it feels like such a dry version of control, something that conceetely links back to ideas of hypermedia, but I'm not sure that it helps the user or enhances the web much. Formalism still has its place, but I was hoping for something that more sheds lights on the medium.
Two things come to my mind as better exhibiting the control offered within the page:
1. Schema.org Actions/EntryPoints, which can markup the things users can do on a page with additional details & info, formalizing what buttons might offer. This is used by Gmail to let HTML emails include quick actions.
> Today, we are excited to start the next chapter of schema.org and structured data on the Web by introducing vocabulary that enables websites to describe the actions they enable and how these actions can be invoked.
http://blog.schema.org/2014/04/announcing-schemaorg-actions.html http://blog.schema.org/2014/04/announcing-schemaorg-actions.... https://schema.org/Action https://schema.org/Action
Unfortunately the docs only show the json-ld markup! Which is really a data island, off the hypertext! How horrible, just so trashy it's done like this! Ideally microdata (or rdfa) would be used, to enrich the page as it already is. You have to tab to it, but available on the Gmail docs: https://developers.google.com/gmail/markup/actions/declaring-actions#microdata https://developers.google.com/gmail/markup/actions/declaring...
2. Invoker actions (renamed Commands) are starting to be implemented in browsers, which allows components to wire themselves to each other, without js. Buttons triggering modals, tooltips wiring to elements... This stuff has always been un-hypertext, has been developers writing their own js to wire the page up. But now the page itself can express control & wirings.
And with custom events and custom actions, it's possible to imagine a vast expansion of hypermedia control, of making visible the machinery & linkage of hypertext.
https://open-ui.org/components/invokers.explainer/ https://open-ui.org/components/invokers.explainer/