html5 and the future of the web (dr. seuss style)
Post on 12-Sep-2014
12.693 views
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
HTML5 and the future of the web.Chris Heilmann and Crystal Beasley, Mozilla, Webvisions Barcelona 2012
This talk is being given over and over again.
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.
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.
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.
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.
“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.
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.
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.
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.
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…
Then change came about, in the shape of a fox, it was cunning and open, and it broke all the locks.
Others showed up,and joined the good fight, a singer, an adventurer, and a shiny new knight.
These all played together, and spoke the same tongue, which brought back old players,to join them in song.
A standard was set, and it changed a few things,a richer web for apps, was the promise it brings.
Bah, standards! Who needs them?Some flashy ones said, till a phone that was smart,kicked them out of its bed.
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>.
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.
Watching and hearing,are what people like to do.Using <audio> and <video> is simple, and you can do it , too.
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.
If beats and frequencies are what you need to play, check the Web Audio API -it gives you just that - even today.
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.
http://alteredqualia.com/
3D graphics are thrilling,as gamers will tell,we now have that on the weband it is called WebGL.
Water goes everywhere you pour it,just ask Chris about his Macbook Air :(MediaQueries allow you be as fluidand respond instead of despair.
Natural movements are smooth,just open your eyes.With CSS animation, transforms and transition, you can mimic this - nice!
"The web means you need to be online",I hear smartypants gloat, well, we have offline storage,so there - take your coat.
Got a cam and some friends, and do you want to chat?WebRTC is what you need, even to show off your cat.
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.
An artist needs a <canvas>, and HTML5 gave us that.Read, write and convert pixels,All in the client, it's mad!
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.
god?
password?
password123?
letmein?
ihatethis?
Passwords are tough, it is easy to see, so allow login with emails,using BrowserID.
The web is a mess, with third party buttons abound.Web Intents make them pointless,let's not have them around.
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.
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.
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.
You don't jump in a river, if you don't know its depth. On the web using Modernizr,should be your first step.
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!
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.
And those prefixes vanish,you mustn't forget!End with a prefixless version,It's your very best bet.
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.
http://movethewebforward.org/
The web is on phones, tablets, computers, TVs.We have to move it forward.or else our existence will cease.
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.
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.
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.
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!