Différences entre les versions de « Tutorial:Packaging de WebApps »
Aller à la navigation
Aller à la recherche
(init) |
(+header, +manifest for web apps and bookmarks (W3C WD)) |
||
Ligne 1 : | Ligne 1 : | ||
List and comparison of various webapps packaging, with the aim at finding commonalities and differencies to create a directory structure compatible with a largest set of deployment targets. (Possibly if there are uncompatible directory structures between two deployment targets, it will be up to the developer to choose what target s/he prefers.) | |||
== Packaged Web Apps (Widgets) == | == Packaged Web Apps (Widgets) == | ||
* Status: W3C Recommandation | |||
* Specification: http://www.w3.org/TR/widgets/ | * Specification: http://www.w3.org/TR/widgets/ | ||
* Directory structure:<table class="wikitable"><caption>Reserved File Names Table</caption><tr><th>file name</th><th>type</th><th>reserved for purpose</th></tr><tr><td>config.xml</td><td>file</td><td>Configuration document</td></tr><tr><td>icon.png</td><td>file</td><td>Default icon</td></tr><tr><td>icon.gif</td><td>file</td><td>Default icon</td></tr><tr><td>icon.jpg</td><td>file</td><td>Default icon</td></tr><tr><td>icon.ico</td><td>file</td><td>Default icon</td></tr><tr><td>icon.svg</td><td>file</td><td>Default icon</td></tr><tr><td>index.html</td><td>file</td><td>Default start file</td></tr><tr><td>index.htm</td><td>file</td><td>Default start file</td></tr><tr><td>index.svg</td><td>file</td><td>Default start file</td></tr><tr><td>index.xhtml</td><td>file</td><td>Default start file</td></tr><tr><td>index.xht</td><td>file</td><td>Default start file</td></tr><tr><td>locales</td><td>folder</td><td>Container for localized content</td></tr></table> | * Directory structure:<table class="wikitable"><caption>Reserved File Names Table</caption><tr><th>file name</th><th>type</th><th>reserved for purpose</th></tr><tr><td>config.xml</td><td>file</td><td>Configuration document</td></tr><tr><td>icon.png</td><td>file</td><td>Default icon</td></tr><tr><td>icon.gif</td><td>file</td><td>Default icon</td></tr><tr><td>icon.jpg</td><td>file</td><td>Default icon</td></tr><tr><td>icon.ico</td><td>file</td><td>Default icon</td></tr><tr><td>icon.svg</td><td>file</td><td>Default icon</td></tr><tr><td>index.html</td><td>file</td><td>Default start file</td></tr><tr><td>index.htm</td><td>file</td><td>Default start file</td></tr><tr><td>index.svg</td><td>file</td><td>Default start file</td></tr><tr><td>index.xhtml</td><td>file</td><td>Default start file</td></tr><tr><td>index.xht</td><td>file</td><td>Default start file</td></tr><tr><td>locales</td><td>folder</td><td>Container for localized content</td></tr></table> | ||
Ligne 14 : | Ligne 14 : | ||
== Firefox OS / Firefox Apps == | == Firefox OS / Firefox Apps == | ||
* Status: Industry specification | |||
* Documentation: https://developer.mozilla.org/en-US/Apps/Quickstart | * Documentation: https://developer.mozilla.org/en-US/Apps/Quickstart | ||
* Directory structure:<table class="wikitable"><caption>Reserved File Names Table</caption><tr><th>file name</th><th>type</th><th>reserved for purpose</th></tr><tr><td>manifest.webapp</td><td>file</td><td>Manifest document</td></tr><tr><td>index.html</td><td>file</td><td>Default start file</td></table> | * Directory structure:<table class="wikitable"><caption>Reserved File Names Table</caption><tr><th>file name</th><th>type</th><th>reserved for purpose</th></tr><tr><td>manifest.webapp</td><td>file</td><td>Manifest document</td></tr><tr><td>index.html</td><td>file</td><td>Default start file</td></table> | ||
* Package: | * Package: | ||
** Archive: Web hosting or ZIP file | ** Archive: Web hosting or ZIP file | ||
** Manifest: manifest.webapp | ** Manifest: manifest.webapp (see documentation) | ||
== Manifest for web apps and bookmarks == | |||
* Status: W3C Working Draft | |||
* Working draft: http://www.w3.org/TR/appmanifest/ | |||
* Package: | |||
** Extension: N/A | |||
** MIME type: N/A | |||
** Archive: N/A | |||
** Manifest: any name | |||
** Manifest fetching method: <link ref="manifest" href="..." /> | |||
* Manifest: | |||
** Extension: .json, .manifest | |||
** MIME type: application/manifest+json | |||
** Format: JSON |
Version du 9 septembre 2014 à 14:22
List and comparison of various webapps packaging, with the aim at finding commonalities and differencies to create a directory structure compatible with a largest set of deployment targets. (Possibly if there are uncompatible directory structures between two deployment targets, it will be up to the developer to choose what target s/he prefers.)
Packaged Web Apps (Widgets)
- Status: W3C Recommandation
- Specification: http://www.w3.org/TR/widgets/
- Directory structure:
Reserved File Names Table file name type reserved for purpose config.xml file Configuration document icon.png file Default icon icon.gif file Default icon icon.jpg file Default icon icon.ico file Default icon icon.svg file Default icon index.html file Default start file index.htm file Default start file index.svg file Default start file index.xhtml file Default start file index.xht file Default start file locales folder Container for localized content - Package:
- Extension: .wgt
- MIME type: application/widget
- Archive: ZIP file
- Manifest: config.xml (see specification)
Firefox OS / Firefox Apps
- Status: Industry specification
- Documentation: https://developer.mozilla.org/en-US/Apps/Quickstart
- Directory structure:
Reserved File Names Table file name type reserved for purpose manifest.webapp file Manifest document index.html file Default start file - Package:
- Archive: Web hosting or ZIP file
- Manifest: manifest.webapp (see documentation)
Manifest for web apps and bookmarks
- Status: W3C Working Draft
- Working draft: http://www.w3.org/TR/appmanifest/
- Package:
- Extension: N/A
- MIME type: N/A
- Archive: N/A
- Manifest: any name
- Manifest fetching method: <link ref="manifest" href="..." />
- Manifest:
- Extension: .json, .manifest
- MIME type: application/manifest+json
- Format: JSON