intro to adaptive web design [edui 2013]

97
INTRO TO Adaptive Web Design Aaron Gustafson @aarongustafson slideshare.net/AaronGustafson

Upload: aaron-gustafson

Post on 27-Jan-2015

115 views

Category:

Technology


6 download

DESCRIPTION

For years, designers and developers have griped about the difficulties they encountered in supporting the numerous desktop browsers out there, but mobile is even more fragmented. Phones, tablets, media players, video game systems—each device (and in some cases each browser on each device) has its own dimensions, quirks and capabilities. It can make your brain hurt just thinking about it. Thankfully, going mobile doesn’t have to be a painful experience. In this session, Aaron Gustafson will introduce you to the concept of progressive enhancement and demonstrate why it is the way forward for web design, especially on mobile devices. In the course of his talk, he’ll walk you through progressive enhancement’s layered approach and show you how the latest techniques—mobile first, responsive design, and adaptive UI—fit in to the process. Note: If you plan to take participate in Aaron’s workshop, Adaptive Web Design: Layer by Layer, you will want to attend this session or read the first chapter of Aaron’s book (free download) in order to get the necessary background. What You'll Learn: * What progressive enhancement is * How it’s different from ‘graceful degradation’ * How progressive enhancement leads to a better user experience

TRANSCRIPT

Page 2: Intro to Adaptive Web Design [edUi 2013]

© Brad Frost

Page 3: Intro to Adaptive Web Design [edUi 2013]

Just four years ago the majority of our visitors saw our website in Internet Explorer on a Windows computer on a minimum 1,024 pixel wide screen. Times have really changed.“

Jason SamuelsIT Manager,National Council on Family RelationsSource

Page 4: Intro to Adaptive Web Design [edUi 2013]

Windows users used to comprise 93.5% of our web visits. Now that percentage is 72.4%. Visitors using a Mac have more than tripled.“

Page 5: Intro to Adaptive Web Design [edUi 2013]

The percentage visiting from a mobile device or tablet … was just0.1% in 2008. It has since grown exponentially,

200-400% per year,to 6.2% today.

Page 6: Intro to Adaptive Web Design [edUi 2013]

Four years ago 75.5% of our web visitors used Internet Explorer. That number has fallen to 37%. Firefox now comprises 25.5%, Safari 19.5%, and Chrome 15.3%.“

Page 7: Intro to Adaptive Web Design [edUi 2013]

In the second quarter of 2008 we detected 71 di"erent screen resolutions among our visitors. In the #rst quarter of 2012 we detected“

830

Page 8: Intro to Adaptive Web Design [edUi 2013]

© Brad Frost

Page 9: Intro to Adaptive Web Design [edUi 2013]

2009 2010 2011 2012

6.8 Billion

2009

2010

2011

http://mobithinking.com/mobile-marketing-tools/latest-mobile-stats/a#subscribers

2012

Page 10: Intro to Adaptive Web Design [edUi 2013]

Smartphone sales accounted for nearly 85% of all mobile phone sales in the US in Q1 2013.“

http://www.chetansharma.com/usmarketupdateq12013.htm

Page 11: Intro to Adaptive Web Design [edUi 2013]

Smartphones have reached 50% penetration in the US…“

http://www.chetansharma.com/usmarketupdateq12013.htm

Page 12: Intro to Adaptive Web Design [edUi 2013]

…but that’s concentrated in30% of households“

http://www.chetansharma.com/usmarketupdateq12013.htm

Page 13: Intro to Adaptive Web Design [edUi 2013]
Page 14: Intro to Adaptive Web Design [edUi 2013]
Page 15: Intro to Adaptive Web Design [edUi 2013]
Page 16: Intro to Adaptive Web Design [edUi 2013]

© Brad Frost

Page 17: Intro to Adaptive Web Design [edUi 2013]

© Brad Frost

Page 18: Intro to Adaptive Web Design [edUi 2013]

RWDTo the Rescue!

Page 19: Intro to Adaptive Web Design [edUi 2013]

INTRO TO ADAPTIVE WEB DESIGN

What is RWD?๏ Fluid grids

๏ Flexible media

๏ Media queries

19

Page 20: Intro to Adaptive Web Design [edUi 2013]

INTRO TO ADAPTIVE WEB DESIGN

Fluid Grids

100%

48% 48%

32% 66%

32% 32% 32%

6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5%

Page 21: Intro to Adaptive Web Design [edUi 2013]

INTRO TO ADAPTIVE WEB DESIGN

Flexible Mediaimg { max-width: 100%; height: auto;}

Page 22: Intro to Adaptive Web Design [edUi 2013]

INTRO TO ADAPTIVE WEB DESIGN

Media Queries@media screen and (min-width:450px) { /* Styles for screen media when browser is 450px wide or larger */}

Page 23: Intro to Adaptive Web Design [edUi 2013]
Page 24: Intro to Adaptive Web Design [edUi 2013]
Page 25: Intro to Adaptive Web Design [edUi 2013]
Page 26: Intro to Adaptive Web Design [edUi 2013]
Page 27: Intro to Adaptive Web Design [edUi 2013]
Page 28: Intro to Adaptive Web Design [edUi 2013]
Page 29: Intro to Adaptive Web Design [edUi 2013]
Page 30: Intro to Adaptive Web Design [edUi 2013]
Page 31: Intro to Adaptive Web Design [edUi 2013]

INTRO TO ADAPTIVE WEB DESIGN

But That’s the Easy Stu"๏ Content strategy

๏ Page weight

๏ JavaScript support

๏ Interaction methods

๏ Network latency & performance

๏ Hardware performance

๏ Screen resolution

๏ Sensor availability

๏ etc.

31

Page 32: Intro to Adaptive Web Design [edUi 2013]

INTRO TO ADAPTIVE WEB DESIGN

What’s in a name?๏ Responsive Web Design

๏ Adaptive Web Design

๏ Progressive Enhancement

๏ Aggressive Enhancement

๏ Responsible Web Design

33

Page 33: Intro to Adaptive Web Design [edUi 2013]

© Brad Frost

Page 34: Intro to Adaptive Web Design [edUi 2013]

We don’t know

Page 35: Intro to Adaptive Web Design [edUi 2013]

Even whenwe thinkwe know,

we’re probably wrong

Page 36: Intro to Adaptive Web Design [edUi 2013]

So howdo we cope?

Page 37: Intro to Adaptive Web Design [edUi 2013]

Content

Page 38: Intro to Adaptive Web Design [edUi 2013]
Page 39: Intro to Adaptive Web Design [edUi 2013]

I like an escalator because an escalator can never break,it can only become stairs.

— Mitch Hedberg

Page 40: Intro to Adaptive Web Design [edUi 2013]
Page 41: Intro to Adaptive Web Design [edUi 2013]

GracefulDegradation

Page 42: Intro to Adaptive Web Design [edUi 2013]

ModernBrowsers

Older Browsers

Page 43: Intro to Adaptive Web Design [edUi 2013]

ModernBrowsers

Older Browsers

Page 44: Intro to Adaptive Web Design [edUi 2013]
Page 45: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Page 46: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Page 47: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Page 48: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Design

Page 49: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Design

Interactivity

Page 50: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Design

Interactivity

Accessibility

Page 51: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Text & HTTP

HTML

CSS

JavaScript

<>

{}

ARIA

Page 52: Intro to Adaptive Web Design [edUi 2013]

HTML

Page 53: Intro to Adaptive Web Design [edUi 2013]

HTMLHTML5

Microformats

HTML4

Page 54: Intro to Adaptive Web Design [edUi 2013]

MCMLXXVII(that’s 1977)

Page 55: Intro to Adaptive Web Design [edUi 2013]
Page 56: Intro to Adaptive Web Design [edUi 2013]
Page 57: Intro to Adaptive Web Design [edUi 2013]
Page 58: Intro to Adaptive Web Design [edUi 2013]

HTML CSS

Page 59: Intro to Adaptive Web Design [edUi 2013]

fault tolerancen. a system’s ability to continue to operate when it encounters and unexpected error.

Page 60: Intro to Adaptive Web Design [edUi 2013]
Page 61: Intro to Adaptive Web Design [edUi 2013]
Page 62: Intro to Adaptive Web Design [edUi 2013]
Page 63: Intro to Adaptive Web Design [edUi 2013]

Browsers ignorewhat they don’t

understand

Page 64: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Page 65: Intro to Adaptive Web Design [edUi 2013]

Contentis why

we build websites

Page 66: Intro to Adaptive Web Design [edUi 2013]

Users must have access to key

content tasks&

Page 67: Intro to Adaptive Web Design [edUi 2013]

Make sure markup, styles scripts don’t

obscure it.&

Page 68: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Page 69: Intro to Adaptive Web Design [edUi 2013]
Page 70: Intro to Adaptive Web Design [edUi 2013]

INTRO TO ADAPTIVE WEB DESIGN

Semantics 101<p>HTML5 introduces several <em>really</em> useful elements and a ton of new APIs.</p>

<p>Please fill out the form below. <strong>Note: all fields are required.</strong></p>

<p>I like to work with markup languages because <strong>they are simple and easy to read</strong>. They also have that certain <i lang="fr" title="I don&#8217;t know what">je ne sais quoi</i>.</p>

Page 71: Intro to Adaptive Web Design [edUi 2013]
Page 72: Intro to Adaptive Web Design [edUi 2013]
Page 73: Intro to Adaptive Web Design [edUi 2013]
Page 74: Intro to Adaptive Web Design [edUi 2013]
Page 75: Intro to Adaptive Web Design [edUi 2013]
Page 76: Intro to Adaptive Web Design [edUi 2013]
Page 77: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Design

Page 78: Intro to Adaptive Web Design [edUi 2013]
Page 79: Intro to Adaptive Web Design [edUi 2013]
Page 80: Intro to Adaptive Web Design [edUi 2013]
Page 81: Intro to Adaptive Web Design [edUi 2013]
Page 82: Intro to Adaptive Web Design [edUi 2013]
Page 83: Intro to Adaptive Web Design [edUi 2013]

MobileFirst

ResponsiveWeb Design

:-)

Page 84: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Design

Interactivity

Page 85: Intro to Adaptive Web Design [edUi 2013]
Page 86: Intro to Adaptive Web Design [edUi 2013]
Page 87: Intro to Adaptive Web Design [edUi 2013]

But it’s notonly about

no JavaScript

Page 88: Intro to Adaptive Web Design [edUi 2013]

๏Bugs

๏Browser Add-ons

๏Overzealous Firewalls

๏Underpowered devices

๏Page is still loading

Page 89: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Content

Semantics

Design

Interactivity

Accessibility

Page 90: Intro to Adaptive Web Design [edUi 2013]

“special needs”

Page 91: Intro to Adaptive Web Design [edUi 2013]

can beCONTEXTUAL

“special needs”

Page 92: Intro to Adaptive Web Design [edUi 2013]
Page 93: Intro to Adaptive Web Design [edUi 2013]
Page 94: Intro to Adaptive Web Design [edUi 2013]

BASIC ADVANCED

Use

r Exp

erie

nce

Browser Capabilities

Text & HTTP

HTML

CSS

JavaScript

<>

{}

ARIA

Page 95: Intro to Adaptive Web Design [edUi 2013]
Page 96: Intro to Adaptive Web Design [edUi 2013]

Thank you!!!Further Reading

http://is.gd/readlist_awd

Page 97: Intro to Adaptive Web Design [edUi 2013]

Intro to Adaptive Web Designby Aaron Gustafson@AaronGustafson

Further reading:http://adaptivewebdesign.info

http://blog.easy-designs.nethttp://mobilewebbestpractices.com

Slides available athttp://slideshare.net/AaronGustafson

This presentation is licensed underCreative Commons

Attribution-Noncommercial-Share Alike 3.0except where otherwise noted

flickr Photo Creditshttp://www.!ickr.com/photos/aarongustafson/galleries/72157637122441956/