17. Offline Web applications
Web Storage Web Workers
Microdata APIs Geolocation
Drag & Drop
Video/Audio
18. Offline Web applications
Web Storage Web Workers
Microdata APIs Geolocation
Drag & Drop
Video/Audio
Canvas
19. Offline Web applications
Web Storage Web Workers
Microdata APIs Geolocation
Drag & Drop
SVG Video/Audio
Canvas
20. Offline Web applications
Web Storage Web Workers
Microdata APIs Geolocation
CSS3 Drag & Drop
SVG Video/Audio
Canvas
21. Microdata
"[...] people understand when they read the web
pages. But search engines have a limited
understanding of what is being discussed [...]"
http://www.schema.org/docs/gs.html
29. Web Storage
"[...] used for storing data in a web browser. Web
storage supports persistent data storage, similar to
cookies, as well as window-local storage."
http://en.wikipedia.org/wiki/Web_Storage
30. Web Storage
• Stockage clé-valeur dans le navigateur
• 0 info stocké dans la requête HTTP
• 5 Mo de stockage (IE=10 Mo)
• Seulement les strings peuvent être
stocké (Conversion en JSON pour
stockage des objets JavaScript)
31. Web Storage
• Local Storage
• Données disponibles sur le domaine
• Persistées après fermer le navigateur
• Session Storage
• Durée de vie de la fenêtre/onlget
34. Offline Web
Applications
"[...] store resources to be used by the browser when
it’s offline, granting your users partial access to your
web site or application."
http://html5doctor.com/go-offline-with-application-cache/
35. Offline Web
Applications
• Méthodes pour fonctionner sans
connexion réseau
• Contrôlé par le fichier appelé manifeste
36. Offline Web
Applications
• CACHE
• Liste en cache (URLs externe compris)
• FALLBACK
• Tentative d'accès fichier pas en cache
• NETWORK
• Disponibles uniquement en ligne
39. Web Workers
"[...] API for running scripts, [...] in the background
independently of any user interface scripts. [...]"
http://en.wikipedia.org/wiki/Web_Workers
40. Web Workers
• Scripts de longue durée pas
interrompus par les scripts qui
réagissent aux autres interactions des
utilisateurs
• Coût élevé des performances de
démarrage et de la mémoire par
instance
43. Geolocation
"[...] interface to retrieve the geographical location
information for a client-side device.[...]"
http://en.wikipedia.org/wiki/Web_Workers
44. Geolocation
• Emplacement du
périphérique grâce
à la consultation de
serveurs
d'informations de
localisation
• Adresse IP, Wi-Fi,
Adresse MAC,
Bluetooth, etc.
47. Drag & Drop
"[...] event-based mechanism, JavaScript API, and
additional markup for declaring [...] element be
draggable on a page."
http://www.html5rocks.com/en/tutorials/dnd/basics/
48. Drag & Drop
• Mécanisme basé sur des événements
• API JavaScript
• Balisage supplémentaire pour déclarer
qu'un élément est déplaçable
51. Video / Audio
"[...] Often presented as an alternative to flash in the
media, the video tag actually goes beyond that. [...]"
http://www.html5rocks.com/en/tutorials/video/basics/
52. Video / Audio
• Plug-in:
• Aide à combler les trous sur le web
• Ne sont pas ouverts
• Pas créés par la communauté
• Sous le contrôle des entreprises
• <video> et <audio> sont natifs de
votre navigateur
55. Canvas
"[...] dynamic, scriptable rendering of 2D shapes and
bitmap images. [...] Canvas consists of a drawable
region [...]"
http://en.wikipedia.org/wiki/Canvas_element
59. Scalable Vector
Graphics
"[...] two-dimensional vector graphics, [...] they can
be searched, indexed, scripted and, if required,
compressed. [...]"
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
60. Scalable Vector
Graphics
• Décrit des graphiques vectoriels
• Basé sur XML
• Peuvent être dynamiques et interactifs
• Des modifications peuvent être décrites
dans le temps avec JavaScript
78. Support
"10 years ago a browser was born. Its name was
Internet Explorer 6. Now that we’re in 2012, in an
era of modern web standards, it’s time to say
goodbye."
Microsoft - http://www.theie6countdown.com/
83. Support
We, as developers, should be able to develop with
the HTML5 apis [...]. Developing in this future-
proof way means as users upgrade, your code
doesn't have to change but users will move to the
better, native experience cleanly."
Paul Irish - Google
90. Polyfills
"So here we're collecting all the shims, fallbacks, and
polyfills in order to implant html5 functionality in
browsers that don't natively support them."
The All-In-One Entirely-Not-Alphabetical No-Bullshit Guide to HTML5 Fallbacks
91. Polyfills
The All-In-One
Entirely-Not-Alphabetical
No-Bullshit
Guide to
HTML5 Fallbacks
The All-In-One Entirely-Not-Alphabetical No-Bullshit Guide to HTML5 Fallbacks