3 ms·
One possible use case for even a minimal html/css renderer is for UI layouts outside of a browser. There's no need to bundle a JS engine to run some code if you
by ChrisSD 6y ago
One possible use case for even a minimal html/css renderer is for UI layouts outside of a browser. There's no need to bundle a JS engine to run some code if your team is already comfortable using another language.
- krapp 6y agoFor layouts outside of a browser, a specialized XML format other than HTML and CSS running in a VM would be more preferable. Everyone complains about how web tech is inadequate for UI design - it's a hack, not a solution.
- ChrisSD 6y agoSure but it's a hack that has a lot of popularity, even if only because of the web.
- krapp 6y agoBeing the most popular thing doesn't necessarily make it the best thing. We should be looking at "native web apps" as a stepping stone, a proof of concept for the architecture and design patterns of the web, but necessarily the platform itself. At the end of the day, it's just an XML document, stylesheet and escripting language running in a VM. There's no reason it has to use a browser engine and HTML.
- hombre_fatal 6y agoThose people complain because they never built anything meaty on other stacks like Android or iOS which have all sorts of warts and offer nothing as good as Elm or React much less an open source solution.
- niutech 6y agoCheck out these projects: https://github.com/litehtml/litehtml https://github.com/litehtml/litehtml, https://github.com/yue/yue https://github.com/yue/yue, https://github.com/cztomsik/graffiti https://github.com/cztomsik/graffiti