html5 and the future of the web (dr. seuss style)

45
HTML5 and the future of the web. Chris Heilmann and Crystal Beasley, Mozilla, Webvisions Barcelona 2012

Post on 12-Sep-2014

12.693 views

Category:

Education


2 download

DESCRIPTION

A presentation on new web technologies written in a Dr. Seuss rhyme style. Learn about new stuff and be able to read to your kids at the same time.

TRANSCRIPT

Page 1: HTML5 and the future of the web (Dr. Seuss style)

HTML5 and the future of the web.Chris Heilmann and Crystal Beasley, Mozilla, Webvisions Barcelona 2012

Page 2: HTML5 and the future of the web (Dr. Seuss style)

This talk is being given over and over again.

Page 3: HTML5 and the future of the web (Dr. Seuss style)

The normal flow is this:★ I show you incredible stuff! (in a special browser build with all kind of flags turned on)

★ You try it out later.

★ It doesn’t work for you.

★ You are behind in fixing that layout glitch in IE8 your boss so wants you to fix.

★ I am awesome, you are frustrated.

Page 4: HTML5 and the future of the web (Dr. Seuss style)

Something is broken...

There seems to be a disconnect between the “web development and design scene” and both the market we are working for and the companies building the tools we use.

Page 5: HTML5 and the future of the web (Dr. Seuss style)

http://www.flickr.com/photos/pa1nt/2395397976/

we <3 abstractions!

We seem to be obsessed with abstractions. Instead of using ideaslike for example vendor prefixes in browsers we write a library to not have to care about them. This leads to a lot of problems with experimental implementations becoming necessary features and new developers learning abstractions instead of the core technologies.

Page 6: HTML5 and the future of the web (Dr. Seuss style)

Everybody is a creator:

Last year: 37 new microlibraries and 10 new “innovative CSS work frameworks”

We all want to be creators and build a thing that makes it easier for others to code. We don’t even follow up any longer if they are used or not, the concept of having built them makes us already feel great.

Page 7: HTML5 and the future of the web (Dr. Seuss style)

“This photo was taken by photographer Jack Bradley and depicts the exact moment this boy, Harold Whittles, hears for the very first time ever.The doctor treating him has just placed an earpiece in his left ear. Date unknown. “

I think we have forgotten a bit about the wonder of hearing and learning and are too focused on building what brings change. We have two ears but one mouth and most of the time our speakingto listening ratio does not reflect that.

Page 8: HTML5 and the future of the web (Dr. Seuss style)

At Mozilla we have a lot of programs to turn people into webmakers and it is amazing to see how excited kids are doing their first few web things using Mozilla Thimble.

Page 9: HTML5 and the future of the web (Dr. Seuss style)

Unless someone like youcares a whole awful lot,nothing is going to get better.It's not.

On the flight over here I watched the Lorax based on the book by Dr. Seuss and I loved it - especially this quote. I actually got so inspired,that I wrote the rest of this presentation in the style of Dr. Seuss. That way all of you in the audience who have kids can read to them and learn about the future of the web at the same time.

Page 10: HTML5 and the future of the web (Dr. Seuss style)

http://codepo8.github.com/seussweb/I uploaded the whole “poem” to github, where you can find it and use it -be my guest. There are a lot of links in there for you to follow and read at your own leisure.

Page 11: HTML5 and the future of the web (Dr. Seuss style)

http://www.chrisharrison.net/index.php/Visualizations/InternetMap

There's a big web out there, it's huge - I tell you, it spans the whole world, but it was boring and blue…

Page 12: HTML5 and the future of the web (Dr. Seuss style)

Then change came about, in the shape of a fox, it was cunning and open, and it broke all the locks.

Page 13: HTML5 and the future of the web (Dr. Seuss style)

Others showed up,and joined the good fight, a singer, an adventurer, and a shiny new knight.

Page 14: HTML5 and the future of the web (Dr. Seuss style)

These all played together, and spoke the same tongue, which brought back old players,to join them in song. 

Page 15: HTML5 and the future of the web (Dr. Seuss style)

A standard was set, and it changed a few things,a richer web for apps, was the promise it brings.

Page 16: HTML5 and the future of the web (Dr. Seuss style)

Bah, standards! Who needs them?Some flashy ones said, till a phone that was smart,kicked them out of its bed.

Page 17: HTML5 and the future of the web (Dr. Seuss style)

https://github.com/SirPepe/SpecGraph#html5-spezifikations-%C3%9Cbersicht--

We moved past one standard, as web work is richer,so "HTML5 and friends",paints a much better <picture>.

Page 18: HTML5 and the future of the web (Dr. Seuss style)

http://www.flickr.com/photos/ikkoskinen/4046500800/

Things that are fun, should be shiny and cool,that's why the new standardsbring many a new tool.

Page 19: HTML5 and the future of the web (Dr. Seuss style)

Watching and hearing,are what people like to do.Using <audio> and <video> is simple, and you can do it , too.

Page 20: HTML5 and the future of the web (Dr. Seuss style)

Both of them are web-native,which is a reason to clap.They can interact with other content,and Mozilla Popcorn makes that a snap.

Page 21: HTML5 and the future of the web (Dr. Seuss style)

If beats and frequencies are what you need to play, check the Web Audio API -it gives you just that - even today.

Page 22: HTML5 and the future of the web (Dr. Seuss style)

http://ie.microsoft.com/testdrive/Graphics/RequestAnimationFrame/

To play nice with batteries,use requestAnimationFrame(),don't let it stop youthat it has such a long name.

Page 23: HTML5 and the future of the web (Dr. Seuss style)

http://alteredqualia.com/

3D graphics are thrilling,as gamers will tell,we now have that on the weband it is called WebGL.

Page 24: HTML5 and the future of the web (Dr. Seuss style)

Water goes everywhere you pour it,just ask Chris about his Macbook Air :(MediaQueries allow you be as fluidand respond instead of despair.

Page 25: HTML5 and the future of the web (Dr. Seuss style)

Natural movements are smooth,just open your eyes.With CSS animation, transforms and transition, you can mimic this - nice!

Page 26: HTML5 and the future of the web (Dr. Seuss style)

"The web means you need to be online",I hear smartypants gloat, well, we have offline storage,so there - take your coat.

Page 27: HTML5 and the future of the web (Dr. Seuss style)

Got a cam and some friends, and do you want to chat?WebRTC is what you need, even to show off your cat.

Page 28: HTML5 and the future of the web (Dr. Seuss style)

Srsly?

Rhymes sometimes don't come easy, as you just became aware.So let's just move ahead quickly,this was just too much to bear.

Page 29: HTML5 and the future of the web (Dr. Seuss style)

An artist needs a <canvas>, and HTML5 gave us that.Read, write and convert pixels,All in the client, it's mad!

Page 30: HTML5 and the future of the web (Dr. Seuss style)

http://mozilla.github.com/x-tag/demo.html

"We don't have rich elements!"many people complain, Use Web Components with X-Tagand create them - easy to maintain.

Page 31: HTML5 and the future of the web (Dr. Seuss style)

god?

password?

password123?

letmein?

ihatethis?

Passwords are tough, it is easy to see, so allow login with emails,using BrowserID.

Page 32: HTML5 and the future of the web (Dr. Seuss style)

The web is a mess, with third party buttons abound.Web Intents make them pointless,let's not have them around.

Page 33: HTML5 and the future of the web (Dr. Seuss style)

Magic and stuff! Magic and stuff!

By design HTML5 is forgiving, its parser is great. It didn't want to break the web, so let's not break it in its stead.

Page 34: HTML5 and the future of the web (Dr. Seuss style)

Course you can write weird things, and they will work - there's no doubt. But will they be readable by others?This is what it's about.

Page 35: HTML5 and the future of the web (Dr. Seuss style)

http://www.flickr.com/photos/crimsonninjagirl/241166239/

You don't create for yourself,or your friends who are the same. You develop for the next guy, so make sure you're not to blame.

Page 36: HTML5 and the future of the web (Dr. Seuss style)

You don't jump in a river, if you don't know its depth. On the web using Modernizr,should be your first step.

Page 37: HTML5 and the future of the web (Dr. Seuss style)

Give new stuff to new players, and use it to enhance.Don't support when it's not neededIE6 only walks - it can't dance!

Page 38: HTML5 and the future of the web (Dr. Seuss style)

With a vendor prefix browsers tell you"this is not ready".So by all means, give them a go,but don't expect to go steady. 

Page 39: HTML5 and the future of the web (Dr. Seuss style)

And those prefixes vanish,you mustn't forget!End with a prefixless version,It's your very best bet.

Page 40: HTML5 and the future of the web (Dr. Seuss style)

http://movethewebforward.org/

So we ask you to help us, build a web that will last. Be future friendly and look forward,and stop building for the past.

Page 41: HTML5 and the future of the web (Dr. Seuss style)

http://movethewebforward.org/

The web is on phones, tablets, computers, TVs.We have to move it forward.or else our existence will cease.

Page 42: HTML5 and the future of the web (Dr. Seuss style)

http://blog.mozilla.org/blog/2012/07/02/firefox-mobile-os/

Hardware that is locked up, is not what we are about,so check out Firefox OS, if you like the web - you’ll like it - no doubt.

Page 43: HTML5 and the future of the web (Dr. Seuss style)

http://coding.smashingmagazine.com/2011/09/07/help-the-community-report-browser-bugs/

Last but not least, if you find something's wrongplease file a bug and tell us,this is how things get done.

Page 44: HTML5 and the future of the web (Dr. Seuss style)

http://www.flickr.com/photos/wilderdom/64733125/

So there you have a lot to play with,check out and share.We really want you to do that, come on, show us you care.

Page 45: HTML5 and the future of the web (Dr. Seuss style)

Crystal Beasley@skinny

Christian Heilmann@codepo8

Thanks!

So well done for reading and listening,and going great lengths,that's all we got time for,so good-bye and thanks!