Anyone who writes client-side JavaScript is familiar with the DOM, a tree structure that your browser references in the memory generated from the HTML it received from the server. JavaScript can add, remove, and modify nodes in the DOM tree to make changes to the page. I am very pleased to work (with browser errors) and very different from how my server code should generate the page in the first place.
My question is: which server framework / languages create the page, viewing it as a DOM tree from the very beginning - inserting nodes instead of echo strings? I think it would be very useful if the client and server code saw the page the same way. You could, of course, hack something like that in any web server language, but a structure designed to create a page in this way could make some very nice optimizations.
Open source, being widely deployed and having some time, will be a plus.
Neall source
share