3 ms·
HTML and DOM are genuinely poor media for doing that though. A lot of web development is working around them. However, it’s the only common UI we have. It is d
by bena 3y ago
HTML and DOM are genuinely poor media for doing that though. A lot of web development is working around them.
However, it’s the only common UI we have. It is defined outside the scope of any one platform. And if you want to serve HTML, you have to conform to the spec.
There is no UIML. If there were and if it were served via HTTP, we could have all of what you want AND a better web development experience
- jakelazaroff 3y agoOkay, but why do you say that? How is <insert favorite native UI toolkit> better?
- bena 3y agoAll native toolkits are better to work with for UI than HTML+DOM. To paraphrase: saying HTML+DOM is great because it works everywhere is like saying anal sex is the best because it works on everyone. Eventually, in any significantly complex application, you will have to work around the DOM. Or kick to rolling your own controls because HTML doesn't have what you need. React, Angular, Vue, Bootstrap, Tailwind, Material, the others, they all exist because HTML+DOM is not made for what it has been forced to do. "Centering a div" is a meme for a reason. You don't have those problems with native UI.