Re:Web Components with Mozilla’s Brick and X-Tag
by aravindet on Tuesday March 04, 2014 @09:30AM
(#7340326)
How does this compare with the Polymer project?
[ Parent
| on HN ]
Re:Web Components with Mozilla’s Brick and X-Tag
by codepo8-hn on Tuesday March 04, 2014 @09:38AM
(#7340384)
X-Tag leverages the joint polyfill Google is the general maintainer of (Mozilla contribute code to it). It's the same one at the base of the Polymer stack.
Polymer, in comparison to Brick has a much more ambitious approach to being the framework to build apps with instead of aiding the creation of apps. Comparable with Dojo or .NET instead of jQuery.
Re:Web Components with Mozilla’s Brick and X-Tag
by spankalee on Tuesday March 04, 2014 @11:41AM
(#7341302)
I don't think that's really true about Polymer. It's still just a framework for creating custom elements. What features are you thinking of to compare to Dojo?
The big difference that I see is the template binding portion of Polymer which allows you to define an elements markup with data-binding template sort of like Angular.
Re:Web Components with Mozilla’s Brick and X-Tag
by codepo8-hn on Tuesday March 04, 2014 @11:51AM
(#7341366)
Yes, very true. I was a bit fast answering this earlier. So far, there are no data-bindings in Brick.