25 ms·
Ask yourself why the generic UI elements in Polymer, like Menu, Dialog Boxes, etc.., isn't part of HTML itself? If you want to see balkanized UI frameworks, th
by mozumder 11y ago
Ask yourself why the generic UI elements in Polymer, like Menu, Dialog Boxes, etc.., isn't part of HTML itself?
If you want to see balkanized UI frameworks, there it is.
- spankalee 11y ago> why the generic UI elements in Polymer, like Menu, Dialog Boxes, etc.., isn't part of HTML itself? Because they shouldn't be. HTML should not be responsible for providing every possible UI element. In fact, I would argue that provides _far_ too many UI elements, and should instead provide low level user input APIs that can be used to build interactive elements.
- mozumder 11y agoAnd so web developers have to write basic UI widgets just to get basic UI elements. Or, to use a heavyweight component library that needs needs to be downloaded. Thanks but no thanks. HTML should provide a rich, declarative UI API by default. We shouldn't have to hunt down separate components to get that. If you have to load Javascript, you have already lost.
- spankalee 11y agoA well regarded standard UI library, say jointly developed by browser vendors, could be CDN served and cached or even bundled with browsers eliminating the download cost with the massive advantage that it can be versioned independently of HTML and browsers and is optional in case a better library comes along.
- kuschku 11y agoAgain, at the moment where javascript is required to read a website, you have already lost.
- mozumder 11y ago> A well regarded standard UI library, say jointly developed by browser vendors, This is commonly known as the web browser. lol @ browser vendors deploying UI components via Javascript, when they could just as easily deploy them in the web browser itself as part of upgraded HTML specs.
- oldmanjay 11y ago"just as easily" is an interesting phrase to use here. I have to assume that your day job does not involve building browsers.