Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

HTML is designed to be dynamic via hypermedia controls, that is, elements embedded in documents that communicate some sort of hypermedia interaction to a user agent. The two common hypermedia controls are anchors and forms.

htmx simply generalizes this concept, allowing any element to be a hypermedia control, issuing any sort of HTTP request, in response to any sort of event and replacing any element in the DOM.

I have written an essay on an alternative software design principle to the traditional separation of concerns that we see in web development here:

https://htmx.org/essays/locality-of-behaviour/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: