[x3d-public] [X3D-Public] Prototype

Cecile Muller newsletter at wildpeaks.fr
Fri Feb 13 21:53:18 PST 2015


Good morning,


> People on this thread should really be thinking about Web Components for
this.

I also hoped to use Web Components with X3DOM, but when native support will
be more widespread because if you want it now, you also have to decide
which polyfill (which adds overhead) to use because only Chrome 36+ (
https://twitter.com/addyosmani/status/489490560869490688) and Opera
currently support them completely (
http://caniuse.com/#search=web%20components).

Web Component is made of four parts:
 - Custom Elements (http://www.w3.org/TR/custom-elements)
 - Shadow DOM (http://www.w3.org/TR/shadow-dom)
 - HTML Imports (http://www.w3.org/TR/html-imports)
 - HTML Templates (
https://html.spec.whatwg.org/multipage/scripting.html#the-template-element)

Each part on its own can be somewhat polyfilled, but the standard way for
now is using one of those libraries:
 - Polymer (https://www.polymer-project.org): by far the most known, IE10+,
and backed by Google
 - X-Tag (http://www.x-tags.org): second most known, IE9+, and backed by
Mozilla
 - webcomponents.js (https://github.com/webcomponents/webcomponentsjs):
IE11+ (IE10 without custom elements and imports), more a collection of
narrow-focus polyfills
 - Bosonic (http://bosonic.github.io) is a newcomer, IE9+, I haven't tried
that one yet

Also the DOM is slow, Virtual DOM ftw :-)


See you,
Cecile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20150214/a9d692dc/attachment.html>


More information about the x3d-public mailing list