3 ms·
When you make a website with web components you are subscribing to the model of a webpage as an executable application modifying the DOM rather than an HTML tex
by superkuh 6y ago
When you make a website with web components you are subscribing to the model of a webpage as an executable application modifying the DOM rather than an HTML text document(1).
One example of where this goes wrong is if, say, you wanted to implement the indieweb protocols for p2p social networking. With webmentions it's a bit like pingback, but instead of just HTTP POST, the pinger has to have a link on his webpage linking to the pingee's URL. That means the pingee webmention implementation has to be able to parse a page and get the html. With webcomponents doing DOM stuff instead of having HTML text that webmentions implemention (and everything else) has to become really complex instead of a simple curl and parsing text.
(1) recent whatwg html standards say this is all fine and dandy because whatwg is run by corporations for corporate needs. But it isn't fine and the needs of applications are not the needs of documents.