HTML5 battles still to be won

90
HTML5 - Battles still to be won! Christian Heilmann, Mozilla, Open Web Camp 3, July 2011
  • date post

    11-Sep-2014
  • Category

    Education

  • view

    19
  • download

    0

description

HTML5 is here to stay. It is time to re-think some of the best practices we defined in the last years. This keynote of the open web camp in stanford, california describes what we should consider.

Transcript of HTML5 battles still to be won

Page 1: HTML5 battles still to be won

HTML5 - Battles still to be won!

Christian Heilmann, Mozilla, Open Web Camp 3, July 2011

Page 2: HTML5 battles still to be won

Excitement.

Page 3: HTML5 battles still to be won
Page 4: HTML5 battles still to be won
Page 5: HTML5 battles still to be won

http://www.20thingsilearned.com/

Page 7: HTML5 battles still to be won

http://wheelsofsteel.net

http://wheelsofsteel.net

Page 8: HTML5 battles still to be won
Page 9: HTML5 battles still to be won

Misnomer.

Page 10: HTML5 battles still to be won

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>HTML - c'est moi!</title> <link rel="stylesheet" type="text/css" href="styles.css"> <script type="text/javascript" src="magic.js"> </script></head><body> <h1>Heading! Everybody duck!</h1> <p>I am content, hear me roar!</p> <p class="footer">By me!</p></body></html>

Page 11: HTML5 battles still to be won
Page 12: HTML5 battles still to be won
Page 13: HTML5 battles still to be won
Page 14: HTML5 battles still to be won
Page 15: HTML5 battles still to be won

<!DOCTYPE html> <html lang="en"><head> <meta charset="utf-8"> <title>HTML5, c'est moi, ou HTML...</title> <link rel="stylesheet" href="styles.css"> <script src="magic.js"></script></head><body> <h1>Heading! Everybody duck!</h1> <p>I am content, hear me roar!</p> <p class="footer">By me!</p></body></html>

Page 16: HTML5 battles still to be won

<!DOCTYPE html> <html lang="en"><head> <title>HTML5, c'est moi, ou HTML...</title> <link rel="stylesheet" href="styles.css"> <script src="magic.js"></script></head><body> <header><h1>Heading! Everybody duck!</h1></header> <section> <p>I am content, hear me roar!</p> </section> <footer><p>By me!</p></footer></body></html>

Page 17: HTML5 battles still to be won

<section> <nav> <article>

<aside> <hgroup>

<header> <footer> <time>

<mark> <details> <figure>

<figcaption> ...

Page 18: HTML5 battles still to be won
Page 19: HTML5 battles still to be won

<video src="interview.ogv" controls> <a href="interview.ogv">Download video</a></video>

Page 20: HTML5 battles still to be won

<canvas></canvas>

Page 21: HTML5 battles still to be won

Markup

Stuff for Browser/Parser developers

HTML(5)

JavaScript APIsgeneral WTF

Page 22: HTML5 battles still to be won

New Tech!

Page 23: HTML5 battles still to be won
Page 26: HTML5 battles still to be won

http://animatable.com

Page 27: HTML5 battles still to be won
Page 29: HTML5 battles still to be won

Screencast of Nikebetterworld

http://nikebetterworld.com/

Page 32: HTML5 battles still to be won
Page 33: HTML5 battles still to be won
Page 34: HTML5 battles still to be won
Page 35: HTML5 battles still to be won

NIHhttp://en.wikipedia.org/wiki/Not_Invented_Herehttp://www.flickr.com/photos/tillwe/1526490488/

http://www.flickr.com/photos/london/51301816/

Page 36: HTML5 battles still to be won

http://folding.stanford.edu/

http://folding.stanford.edu/

Page 37: HTML5 battles still to be won
Page 38: HTML5 battles still to be won
Page 39: HTML5 battles still to be won
Page 40: HTML5 battles still to be won

HTML5 = Using the capabilities of the

technology we have instead of limiting ourselves to the lowest common denominator.

Page 41: HTML5 battles still to be won

Adaptation

Page 42: HTML5 battles still to be won

Separation of concerns.

Page 43: HTML5 battles still to be won

In the old days...

Behaviour

Presentation

Structure

HTM

L

Page 44: HTML5 battles still to be won

DHTML days (1)

Behaviour

Presentation

Structure

HTM

L

JSJS

Page 45: HTML5 battles still to be won

DHTML days (2)

Behaviour

Presentation

Structure

JSCSS

HTM

L

Page 46: HTML5 battles still to be won

The gospel (according to Zeldman)

Behaviour

Presentation

Structure

JS

CSS

HTM

L

Page 47: HTML5 battles still to be won

The now...Behaviour

Presentation

Structure

JSCSS

HTM

L

Page 48: HTML5 battles still to be won

The challenge:

Applying best practices of the past without sounding like grumpy old people.

Page 49: HTML5 battles still to be won

The solution:

Following the spirit of best practices and pointing out their benefits instead of harping on about them.

Page 50: HTML5 battles still to be won

Agnosticism

http://www.flickr.com/photos/amulligan/270191276/

Page 51: HTML5 battles still to be won

Causes tofight for.

Page 52: HTML5 battles still to be won

http://wufoo.com/html5/

Page 53: HTML5 battles still to be won

Learn JavaScript!

Page 54: HTML5 battles still to be won

Keep the web OS-independent

Page 55: HTML5 battles still to be won
Page 56: HTML5 battles still to be won

CMD+U(CTRL+U)

Page 57: HTML5 battles still to be won
Page 58: HTML5 battles still to be won
Page 59: HTML5 battles still to be won

Things to applaud:

Sane progressiveenhancement.

Page 60: HTML5 battles still to be won

http://benthebodyguard.com

Page 61: HTML5 battles still to be won

http://animatable.com

Page 62: HTML5 battles still to be won

http://animatable.com

Page 63: HTML5 battles still to be won

What about old infrastructure?

Page 64: HTML5 battles still to be won
Page 65: HTML5 battles still to be won

http://html5boilerplate.com/

Page 66: HTML5 battles still to be won

http://www.modernizr.com/

Page 67: HTML5 battles still to be won

Danger.

Page 68: HTML5 battles still to be won
Page 69: HTML5 battles still to be won

Support means you to test with it.Don’t support if you can’t ensure a good experience.Don’t waste testing time on the undead.

Page 70: HTML5 battles still to be won

Check this out!

Page 71: HTML5 battles still to be won

http://c64.superdefault.com/

Page 75: HTML5 battles still to be won

SVG

http://mbostock.github.com/d3/

Page 76: HTML5 battles still to be won

http://highcharts.com

Page 77: HTML5 battles still to be won

Local Storage

http://www.flickr.com/photos/blude/2665906010/

Page 78: HTML5 battles still to be won

Offline

http://www.flickr.com/photos/spentrails/3245564940

Page 79: HTML5 battles still to be won

CSS3

Page 80: HTML5 battles still to be won

Geolocation

Page 81: HTML5 battles still to be won

https://demos.mozilla.org/en-US/#holo-mobile

Page 82: HTML5 battles still to be won
Page 83: HTML5 battles still to be won
Page 84: HTML5 battles still to be won

http://diveintohtml5.org/

Page 85: HTML5 battles still to be won

http://html5doctor.com/

Page 86: HTML5 battles still to be won

https://build.phonegap.com/

Page 87: HTML5 battles still to be won
Page 88: HTML5 battles still to be won

Web Development has been a long and arduous journey...

Page 89: HTML5 battles still to be won

It is time we have some fun!

Page 90: HTML5 battles still to be won

Cheers!Chris Heilmann

@codepo8#mozilla

#html5/freenet