Re: Simplifying element creation

> It's the process of stringifying an existing JS object structure that's  
> motivating this discussion.
>
> It's much more natural to program and manipulate a JS object than a  
> string.
>
> These examples are using strings, but in the real world, we're using  
> variables and method calls. It's more efficient for the coder and the  
> implementation to go from JS object to DOM than to have a middle step of  
> JS to XML DOMString to DOM.

But for that there is the DOM API :) (which can always be made richer)

Received on Wednesday, 5 October 2011 20:30:24 UTC