4 ms·
No, HTML and CSS are document markup languages. They are actually quite bad at UIs. For example, implement a table with more than a few hundred rows. UI toolki
by ridiculous_fish 8y ago
No, HTML and CSS are document markup languages. They are actually quite bad at UIs.
For example, implement a table with more than a few hundred rows. UI toolkits don't even blink while HTML just falls over.
- drb91 8y agoI think you’re right, but tables in scroll views are tricky in every context—if my understanding of the problem is correct, optimal rendering of this requires both an understanding of the backing data store and estimation of rows before loading. What about rendering via dynamic DOM interaction makes this fundamentally more difficult—is it something inherent to the DOM, or is it simply to do lack of effort to expose the necessary apis to do the same kind of work you can do natively to scroll through a table smoothly?
- aphextron 8y ago>No, HTML and CSS are document markup languages. They are actually quite bad at UIs. This was true 10 years ago. Now frameworks like React are at or beyond the sophistication of anything native. Practically every other UI technology implements their interfaces in an XML-esque syntax that is far less expressive and flexible than HTML, which end up locking you in to a small constrained ecosystem. CSS has evolved as well, and with GPU acceleration out of the box and things like grid and flexbox all of the older issues are gone.
- pjmlp 8y agoNah, HTML and CSS have lots to learn from iOS and Android layouts, QML and XAML. Where is Blend for HTML/CSS? React might be sofisticated, but having the performance of native GUIs, or the eco-system of companies selling UI components, is surely something that it will never have.