Hi Dimitri,
Dimitri Glazkov <
dgla...@chromium.org>, 2014-01-06 15:04 -0800:
> [...] my thoughts on the future of the Web platform, viewed through the
I think you might want to say a lot more about JavaScript in that document.
You write "HTML is a UI toolkit, written on top of DOM" -- which is
intriguing, and I get your point. You clarify it by saying, "I should be
able to do so with the lower-layer APIs of the platform (DOM in this case)"
and the point is even more clear.
But I think it's interesting to contrast that with Alex's "DOM, therefore,
is merely the largest built-in JS library" (from his blog posting at
http://infrequently.org/2012/04/one-for-dave-and-david/ that you actually
cite in your document) and with Alex's diagram of the mental model of
a webdev "scripting the browser" at
http://goo.gl/ZVvhUR which basically
looks like, "Render Tree on top of DOM on top of JS on top of HTML Parser".
The current description in your document looks to me a lot more like Alex's
"if this looks reasonable to you, you might be a browser developer" (bad)
mental model at
http://goo.gl/82gbCP -- where "JS is just a growth
protruding from the side of an otherwise healthy platform".
I'm not saying Alex is necessarily right or wrong here. But if you think
he's more right that wrong (in this particular case..), you could refine
your description of what a webdev should be able to do with the platform,
by making it clear that the lower(est) layer (APIs) of the platform comes
from JavaScript.
Your document at this point doesn't even mention JavaScript at all. It
seems like it should say a lot more about it.
--Mike
--
Michael[tm] Smith
http://people.w3.org/mike