Intro to W3C Widgets

WAC Developer event, 14 February 2011, Mobile World Congress

Dominique Hazaël-Massieux <dom@w3.org>

François Daoust <fd@w3.org>

MobiWebApp
This project is funded by the European Union through the Seventh Framework Programme (FP7/2010-2012) under grant agreement n°257800 - Mobile Web Applications (MobiWebApp)

W3C

Web platform

Open Web Application Platform Diagram

Packaging the Web

W3C Widgets

Diagram of the components of a widget

Zip to Widget

XML Configuration

Minimally

<widget
xmlns="http://www.w3.org/ns/widgets">
   <name>Hello World!</name>
</widget>

Additional elements

<icon src=”image.png” />
<author 
   email="dom@w3.org">Dom</author>
<description>Awesome widgets demonstration</description>
<content src=”index.html” />

Content

Declaring features

Access to advanced APIs
e.g. Geolocation:

<feature name="http://www.w3.org/TR/geolocation-API" />

Network control

Signature

Localization

Upcoming Web technologies

Upcoming Web technologies

References

Credits