News for hackers. Stuff that matters.
Re:Django, HTMX and Alpine.js: Modern websites, JavaScript o... by recursivedoubts on Tuesday November 23, 2021 @11:31AM (#29319768)
Because of the simplicity, flexibility and power of the hypermedia programming model.

- simplicity: e.g. something like active search can be implemented with a few attributes: https://htmx.org/examples/active-search/

- flexibility: e.g. because of the uniform interface, versioning is much less of an issue

- power: e.g. deep linking is trivial

Additionally, there is increasing awareness[1] that Application APIs and Data APIs have different needs and "shapes", and, once you have split them up, reconsidering using hypermedia for your application API[2] is a reasonable thing to do

[1] - https://max.engineer/server-informed-ui

[2] -https://htmx.org/essays/splitting-your-apis/

There are no comments on this comment yet.