Re:X-Tag - a cross-browser web components library
by dandonkulous on Friday June 15, 2012 @03:58PM
(#4118394)
@MatthewPhillips - That's not what I meant. Mozilla will offer a bootstrap builder with which you can add as many of the stock tags/components as you want to your app's pages. It will output a skeleton of an app that is development-ready. We will be actively working on getting the stock set of components prominently offered in other app bootstraps and store dev areas.
Re:X-Tag - a cross-browser web components library
by MatthewPhillips on Friday June 15, 2012 @04:04PM
(#4118417)
Understand now, that would still be very valuable.
Re:X-Tag - a cross-browser web components library
by MatthewPhillips on Friday June 15, 2012 @03:52PM
(#4118365)
Maybe I'm misunderstanding, doesn't this mean I can use x-foo without including its js if x-foo is in the marketplace? That would be amazing.
Re:X-Tag - a cross-browser web components library
by dandonkulous on Friday June 15, 2012 @04:07PM
(#4118427)
Correct, Mozilla Marketplace is not putting X-Tags in all apps. The dev tooling side of Marketplace will offer a project builder that let's you pick which tags (if any) you'd like to include. It then bundles all the assets you pick into one compressed file and spits out a zip containing a skeletal project with all the script tag and asset references preset for you in the pages.
Re:X-Tag - a cross-browser web components library
by kumar303 on Friday June 15, 2012 @04:00PM
(#4118403)
The Marketplace is just the "app store" -- it's where you buy apps. You can run the apps on any supported HTML5 device after buying them. So the supported device would not provide anything more than a browser rendering engine (and some navigator.* JS methods). It won't include x-tags.
Re:X-Tag - a cross-browser web components library
by MatthewPhillips on Friday June 15, 2012 @04:03PM
(#4118412)
I'm aware, I submitted an app already :-).
I'm confused about what he meant about the marketplace having a "bootstrap builder" for x-tags.
Re:X-Tag - a cross-browser web components library
by jlongster on Friday June 15, 2012 @04:19PM
(#4118491)
We're working on a bootstrap that you can download to quickly start developing app, and it will include x-tags (with all components). There will also be a "builder" where you can customize your version of x-tags to only include the components you want.
So the bootstrap gets you up and running quickly, and the builder is a web-based tool that lets you optimize your build of x-tags when it goes into production.
Another huge benefit: the polyfill is 2k compressed composed of pure, library-independent JS