mastodon

Big fan of html over the wi…

A murb'ed feed, posted 2 months ago .

Big fan of html over the wire, in contrast to JSON-based API's. I considered this mostly to be a pragmatic choice. But in this essay, the team behind HTMX explain that it might simply be the best choice:

> While attempts have been made to impose more elaborate hypermedia controls on JSON APIs, broadly the industry has rejected this approach in favor of simpler RPC-style APIs that forego HATEOAS and other elements of the REST-ful architecture.
>
> This fact is strong evidence for the assertion that a natural hypermedia such as HTML is a practical necessity for building RESTful systems.

- htmx.org/essays/hateoas/

Go to the original link.