east of toronto .net usergroup - put the 5 in html

45
East of Toronto .NET User Group 2011-10-27 Frédéric Harper – Microsoft Canada

Upload: frederic-harper

Post on 07-Nov-2014

941 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: East of Toronto .NET Usergroup - Put the 5 in HTML

East of Toronto .NET User Group

2011-10-27

Frédéric Harper – Microsoft Canada

Page 2: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 3: East of Toronto .NET Usergroup - Put the 5 in HTML

• It will be all about HTML5!

Page 4: East of Toronto .NET Usergroup - Put the 5 in HTML

A. You know HTML5 and use it now

B. You know what is HTML5 and don’t use it

C. You don’t know what I am talking about

Page 5: East of Toronto .NET Usergroup - Put the 5 in HTML

HTML5

+ + HTML5 CSS3 JavaScript

Page 6: East of Toronto .NET Usergroup - Put the 5 in HTML

3D Effects

Performance Semantics

Offline& Storage

Styling

Connectivity

Multimedia

Device Access

Page 7: East of Toronto .NET Usergroup - Put the 5 in HTML

First draft Working draft Last call Recommendation candidate Recommendation

Page 8: East of Toronto .NET Usergroup - Put the 5 in HTML

Video

Document editing

Offline storage

CSS3 Media

Queries

Microdata

WOFF

Web Sockets

Web Workers

Drag-and-drop

Canvas

Cross-document

messaging

Audio

Browser history

management

Semantics elements

AND MUCH MORE!

Page 9: East of Toronto .NET Usergroup - Put the 5 in HTML

Video

Document editing

Offline storage

CSS3 Media

Queries

Microdata

WOFF

Web Sockets

Web Workers

Drag-and-drop

Canvas

Cross-document

messaging

Audio

Browser history

management

Semantics elements

AND MUCH MORE!

Page 11: East of Toronto .NET Usergroup - Put the 5 in HTML

<div id=“header”>

<div id=“footer”>

<d

iv id

=

“si

de

ba

r”>

<div id=“nav”>

<div id=“article”>

<div id=“article”>

<div id=“media”>

<div id=“section”>

Page 12: East of Toronto .NET Usergroup - Put the 5 in HTML

<header>

<footer>

<a

sid

e>

<nav>

<article>

<article>

<figure>

<section>

Page 14: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 16: East of Toronto .NET Usergroup - Put the 5 in HTML

<video src="video.mp4" id="videoTag">

<source src="video.webm" />

<a href="http://videolink.com/">

Sorry, your browser doesn’t support HTML5 video tag

</a>

<!– Flash/Silverlight video here -->

</video>

Page 20: East of Toronto .NET Usergroup - Put the 5 in HTML

<link href="mobile.css" rel="stylesheet" media="screen and (max-width:480px)“ type="text/css" />

<link href="netbook.css" rel="stylesheet“ media="screen and (min-width:481px) and (max-width: 1024px)“ type="text/css" />

<link href="laptop.css" rel="stylesheet" media="screen and (min-width:1025px)“ type="text/css" />

Page 22: East of Toronto .NET Usergroup - Put the 5 in HTML

X X X X X

X X X

X X

X X X

X X

Lowest Common Dominator

Only use features natively available in all target browsers

Page 23: East of Toronto .NET Usergroup - Put the 5 in HTML

Polyfill Enriched

Only use features either natively available OR available via JavaScript polyfill

X X X X X

X X X

X X

X X X

X X

X X

Page 24: East of Toronto .NET Usergroup - Put the 5 in HTML

polyfill

(n) poly • fill: JavaScript that implants HTML5 functionality in a browser that does not offer native support

Page 25: East of Toronto .NET Usergroup - Put the 5 in HTML

Alternate Experiences

Only use features available in target browsers AND design alternate experience for other browsers

X X X X X

X X X

X X

X X X

X X

X X X

X X

X X

Page 26: East of Toronto .NET Usergroup - Put the 5 in HTML

http://caniuse.com/

http://www.modernizr.com/

Page 27: East of Toronto .NET Usergroup - Put the 5 in HTML

iOS Android Windows

Phone

Geolocation

Offline

Local Storage

Video/Audio

Canvas

SVG

WebSQL

Gradients*

CSS3 Animations*

Text Shadows

CSS3 Transforms

Page 28: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 29: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 30: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 31: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 32: East of Toronto .NET Usergroup - Put the 5 in HTML

And more…

Page 33: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 34: East of Toronto .NET Usergroup - Put the 5 in HTML

1. You already know HTML

Page 35: East of Toronto .NET Usergroup - Put the 5 in HTML

1. You already know HTML

2. You already know the tools

Page 36: East of Toronto .NET Usergroup - Put the 5 in HTML

1. You already know HTML

2. You already know the tools

3. Cross browsers / platforms / devices

Page 37: East of Toronto .NET Usergroup - Put the 5 in HTML

1. You already know HTML

2. You already know the tools

3. Cross browsers / platforms / devices

4. One of the future technology

Page 38: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 39: East of Toronto .NET Usergroup - Put the 5 in HTML
Page 40: East of Toronto .NET Usergroup - Put the 5 in HTML

Try it

Page 41: East of Toronto .NET Usergroup - Put the 5 in HTML

Read on it

Page 42: East of Toronto .NET Usergroup - Put the 5 in HTML

Do cool

project

Page 43: East of Toronto .NET Usergroup - Put the 5 in HTML

Have fun!

Page 44: East of Toronto .NET Usergroup - Put the 5 in HTML

http://www.w3.org/TR/html5/

http://caniuse.com

http://www.modernizr.com/

http://makeawesomeweb.com

http://html5gallery.com

http://diveintohtml5.org/

http://www.html5tutorial.info/

http://www.beautyoftheweb.com

http://html5labs.interoperabilitybridges.com/

Page 45: East of Toronto .NET Usergroup - Put the 5 in HTML

Frederic Harper

Developer Evangelist @ Microsoft

[email protected]

http://webnotwar.ca

http://outofcomfortzone.net