The Future of HTML 5 by Bruce Lawson

Uploaded on

Bruce Lawson gave this talk at FOWA London 2009 ( …

Bruce Lawson gave this talk at FOWA London 2009 (

The HTML 5 spec was originally called "Web Applications 1.0". Most of the attention has been on the new markup elements, but we'll look further at the applications side of the spec:

1. Dynamic images and graphs with canvas
2. Eliminating much forms validation with webforms 2.0
3. Local storage automagically saving your data
4. Geolocation
5. Building toolbars and menus.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Opera SoftwareThe best browsing experience on any device Th e b e st I te rn e t e xp e rie n c e o n a n y d e v ic e n
  • 2.
  • 3. HTML5The Future Of Web Applications
  • 4. Evolution of HTML: monkey onleft becomes human in 4 stages
  • 5. thEvolution of HTML: 5 monkey(HTML5 ) is human but dressed in pimp clothing
  • 6. Web Applications 1.0“extending the language to better support Web applications, since that is one of the directions the Web is going in and is one of the areas least well served by HTML so far.This puts HTML in direct competition with other technologies intended for applications deployed over the Web, in particular Flash and Silverlight.”
  • 7. Picture of 1 9 0 0 idea ofautomated year 2 0 0 0 Ladies bedroom
  • 8. CanvasImmediate graphics mode without pluginsDemos:● Twitter experiment/ eye-candy● First person shooter● First person gifterNative support in Opera, Safari, Firefox and Chrome.
  • 9. What about Internet Explorer?
  • 10. Canvas
  • 11. what about accessibility?
  • 12. <canvas> = <img> - alt● <canvas> is just about pixels manipulated by script● No DOM● No “alt text”: <canvas>Fallback content</canvas>● Link to accessible version must be outside <canvas>● Demo jQuery plugin to visualise data tables (filament)
  • 13. <canvas> or SVG?● Scalable Vector Graphics remains text● SVG for content; canvas for bling/ supplementary● SVG natively supported in Opera, Firefox, Safari, Chrome● IE? Raphael js, SVG Web (alpha)
  • 14. HTML5 forms (“Web Forms 2”)● Coding form validation is not much fun● HTML5 forms add validation to the browser● Live code demo● Lets look at more
  • 15. What about legacy browsers?●
  • 16.● Or do your own capability checking before falling back your current JS validation. Or just leave it to the server-side validation
  • 17. Geolocation●● Modernizr can test support
  • 18. Browser storageCookies are pretty clunky, especially large-scale storage.● Local storage and session storage (Firefox, Chrome, Safari)● Database in the browser! (Safari)● Off line apps using manifest (Safari)
  • 19. Building application toolbars<menu type="toolbar"> <command onclick="insertTag(buttons,0);" label="strong" icon="bold.gif"> <command onclick="insertTag(buttons,1);" label="em" icon="italic.gif"> <command onclick="insertLink(buttons,2);" label="link" icon="link.gif"></menu>
  • 20. ... and if I had an hour or 3 ...● Drag and drop● Cross-window messaging● Cross-domain messaging● Web workers● (demos:● Video (
  • 21. Thank you!,,