7 ms·
While that would probably work fine for display and layout, but it doesn't work so well with the semantic document model that the web is built on. For example a
by lomnakkus 10y ago
While that would probably work fine for display and layout, but it doesn't work so well with the semantic document model that the web is built on. For example accessibility would suffer greatly unless every "jquery" (using your analogy) out there were to implement its own accessibility. (That's not to say things are absolutely peachy wrt. accessibility these days, but they'd get a lot worse if everybody had to implement their own.)
- amiga-workbench 10y agoI don't know if developers even care about semantic markup anymore, just have your 5 meg of JavaScript squirt out a bundle of divs and to hell with accessibility.
- swerner 10y agoJust render a png file, server side. The only way to ensure pixel perfect layout, and it's even going to use less bandwidth than most JS frameworks these days.
- paulddraper 10y agoWrap that sucker in some HTML with <map> tags and you're golden.
- xaduha 10y agoCan't name any site that uses <map> still other than http://www.teamfortress.com http://www.teamfortress.com
- xaduha 10y ago> Just render a png file, server side. Know of any examples of that in practice or is this just a joke?
- swerner 10y agoThis is a joke, albeit with many web pages I get the suspicion that they'd indeed be better off serving a PNG or PDF file instead. Not to mention that PNG renders much, much faster than javascript orgies.
- StavrosK 10y agoI got tired of this exact thing, so I started making an informational site: http://www.lightentheweb.com/ http://www.lightentheweb.com/ It's very very not ready yet, but I'd appreciate some pointers or PRs.
- pjmlp 10y agoThat model died when JavaScript got added and Web 2.0 was born.
- panic 10y agoI think there's a distinction to be made between "web pages" and "web apps". Web pages like news articles and blog posts fit well in the semantic document model of HTML. Web apps extend past this model -- something like DPS would make more sense for them.
- mbrock 10y agoI think the lack of such a clear distinction is part of the web's success. For example, is Facebook a web page or a web app?
- edmccard 10y ago>For example, is Facebook a web page or a web app? Is this a trick question? :) On the scale from pages to apps, where one end is someone's static geocities page about their cats and the other end is, let's say, github: Facebook is definitely an app.
- mbrock 10y agoIt's kind of a trick question in that my point is that it is a more of a scale than a binary opposition, and that the ability to mix document-like parts with program-like parts is what made the web so incredibly successful.
- akvadrako 10y agoWell clearly, Facebook "pages" are web pages. They have it in the name, they have static URLs, their own content. And other parts of Facebook, like the chat, are hard to describe as a page.