Hacker News new | ask | show | jobs
by taffer 258 days ago
> HTML is a document markup language

No it is a hypertext [1] markup language and it doesn't suck if you actually use it as such.

The problem is that we decided that <a> and <form> tags should be the only hypercontrols, only triggered by clicking on them. However, libraries like HTMX and Unpoly enhance HTML so that every element can act as a hypercontrol, responding to all kinds of events. This allows you to implement interactive features such as autocompletion, form validation and infinite scrolling without writing a single line of JavaScript.

> ORM keeps sucking because RDBMSes simply don't operate on objects

Have you read [2]? Modern SQL can return nested JSON. No ORM needed.

[1] https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...

[2] https://www.scattered-thoughts.net/writing/sql-needed-struct...