3 ms·
creating apps in html is like creating a spreadsheet in word. why didn't we stick to xml and use a language to transform it into ui.
by jlebrech 9y ago
creating apps in html is like creating a spreadsheet in word.
why didn't we stick to xml and use a language to transform it into ui.
- pjmlp 9y agoI was a big fan of XHTML and all related XML Components, but then politics won.
- em_te 9y agoYeah but having to switch to createElement, appendChild, insertBefore, createTextNode just because innerHTML was not allowed was a pain in the butt.
- jlebrech 9y agoat this point i'm considering creating a backend framework that sends a grid of images and uses imagemaps for clicks. with fast internet raster images shouldn't be a big issue.
- pjmlp 9y agoJust use SVG/CSS with JavaScript events, that is the approach for the new FitBit SDK.
- girvo 9y agoAdobe ImageReady... now that is giving me some flashbacks. Pun sort of intended.
- jlebrech 9y agowe could send 60fps image diffs now, we have the bandwidth. and all the browser does is send the window size and cursor position.
- always_good 9y agoWe really don't.
- developer2 9y agoTo this day I'm absolutely flabbergasted that XHTML didn't win out. Well-formed XML documents, rather than a best-guess soup of broken HTML, was perfect. Absolutely perfect. I sat on the edge of my seat for 2-3 years waiting for the XHTML MIME type, with clients performing strict parsing, to become the new norm. It never happened. It's extremely sad if you think about it - we couldn't handle a world where developers had to conform to a very simple level of strictness. Imagine any backend language (C, Java, PHP, etc.) allowing you to get away with vomiting up garbage code with syntax errors, and having the compiler or interpreter best-guessing your program's logic. It's unfathomable! And yet, that is exactly what we have with HTML(5). Mind-boggling, to say the least. Related aside: to this day, we still cannot write <script src="/main.js"/>. We must use <script src="/main.js"></script>. All because of a multi-decade old description of a CDATA element. Sigh.
- pjmlp 9y agoThe Web 2.0 movement, ditching XHTML and pushing HTML 5 instead was exactly when I went back to focusing in native applications, only doing Web when required to do so. Web Components look to at least we can get some of those ideas back, instead of writing workarounds with HTML/CSS/JavaScript.
- ezequiel-garzon 9y agoI know this is not a popular position here, but I like writing HTML directly (say, without markdown) and appreciate the optional tags and escapes. I can see a big opportunity may have been lost technically...
- alwillis 9y agoIf you call web browser vendors mutinying against the W3C who was pushing XHTML 2 down their throats "politics", which lead to Apple, Mozilla and Opera creating the Web Hypertext Application Technology Working Group (WHATWG) and to HTML5--then I'm okay with the politics. Yeah, I could close my tags and validate my code with the best of them back when XHTML was a thing--but that's no way to live. I'm glad WHATWG stepped in and literally saved the web from itself. OMG! XHTML 2 would have sucked so much!
- contras1970 9y ago> XHTML 2 would have sucked so much! why/how? because you'd have to close your tags and validate your code?
- wiredearp 9y agoThe way I remember it, there was a guy called Hixie something that was in charge of standards implementation at Mozilla and made a terrific job at that. But then he got hired by Opera and saw that there was no point in competing with Gecko and so he started a FUD campaign called "XHTML considered harmful" to lower market standards. He bluffed you into believing that namespaces are far too complicated for the human mind to comprehend, when in reality XHTML hadn't caught on because the CMS systems were not up to date. He did a terrific job at that, so he got hired by Google to publish a competing specification that was actually based on the way that Internet Explorer 6 parses HTML4. He did at terrific job at that, so we are finally back where we started, with a standard that lives forever while IE6 is long gone, and Goggle can scavenge the specifications from this forgotten future for ideas they can present as original. Even Mozilla played along with the HTML5 scheme, it was like watching a nuclear superpower go down in a fist fight. How can you not call that politics?