News for hackers. Stuff that matters.
Re:Polymer, a Web Components library built by Google by rjd on Thursday May 16, 2013 @05:52PM (#5721415)
So... is this XSLT reinvented?

I'll admit it looks like it'd be a tonne nicer (less verbose and strict) than XSLT but it all looks very familiar to me... just add a client library and you have the same thing?

Or am I missing something here?

Re:Polymer, a Web Components library built by Google by bbllee on Thursday May 16, 2013 @06:26PM (#5721578)
Yes, you are missing something. :) This is trying to provide polyfills for and build on top of Shadow DOM and Custom Elements.

While some of the features in them could be provided just by templating stuff (though it would be mildly to very inconvenient), at least the visible DOM / shadow DOM separation and scoped styles wouldn't be possible.

Re:Polymer, a Web Components library built by Google by randomfool on Thursday May 16, 2013 @06:28PM (#5721589)
Not really, this deals a lot more with lifecycle events, constructors, inheritance, scoping of styles, etc. To do so it's operating at a completely different level, very much in the DOM.