shapeshifting: adaptive and future friendly web design

32
Shapeshifting Adaptive & Future Friendly Web Design Christopher Cochran @TweetsfromChris Sunday, October 21, 12

Upload: christopher-cochran

Post on 13-May-2015

3.502 views

Category:

Documents


2 download

DESCRIPTION

The web we love (and hate) now today, is not the same web from just only five years ago, and won’t be the same web we know next year. The web is rapidly changing and in multiple ways. How we use it, where we use it, what we use it for, and how we are accessing it. Between being accessible now by multiple devices from mobile handsets, tablets, even TVs and refrigerators, we can only guess where it may end up next, or what the next iPhone will be like. Though we can’t be 100% future-proof for what may be next, we can take some steps in the right direction to give a great experience today that will hold up tomorrow. Most of all we need to change our way of thinking.

TRANSCRIPT

Page 1: Shapeshifting: Adaptive and Future Friendly Web Design

Shapeshifting Adaptive & Future Friendly Web Design

Christopher Cochran@TweetsfromChris

Sunday, October 21, 12

Page 2: Shapeshifting: Adaptive and Future Friendly Web Design

iOSandroid

BlackBerry

WindowsSmart Phone

TabletFeature Phone

Mini Tablet Retina

iPhoneiPad

Droid

Galaxy

Nexus

?

?

Fire? Opera Mini?

Surface

Kindle?Web OS

Opera Mobile

?

TV

Sunday, October 21, 12

Page 3: Shapeshifting: Adaptive and Future Friendly Web Design

user input methods

•Mouse & keyboard• Touch•Gesture•Pen• ?

Sunday, October 21, 12

Page 4: Shapeshifting: Adaptive and Future Friendly Web Design

?The Web Is Not A Fixed Medium

And full of unknown

Sunday, October 21, 12

Page 5: Shapeshifting: Adaptive and Future Friendly Web Design

10% of Americans Are Mobile Only

For some, mobile is the ONLY connection to the web.

(This number can be much higher in other countries)

Source: Pew Research Center's Internet & American Life Project “Cell Internet Use 2012”

Sunday, October 21, 12

Page 6: Shapeshifting: Adaptive and Future Friendly Web Design

Cell phone owners do most of their online browsing on their phone, rather than a computer or other device

17%

Source: Pew Research Center's Internet & American Life Project “Cell Internet Use 2012”

Sunday, October 21, 12

Page 7: Shapeshifting: Adaptive and Future Friendly Web Design

Consumers Want Mobile-Friendly Sites72%

Source: Google Mobile Ads Marketing

Yet....

Sunday, October 21, 12

Page 8: Shapeshifting: Adaptive and Future Friendly Web Design

have visited a site that doesn’t work well

96%

Source: Google Mobile Ads Marketing

Sunday, October 21, 12

Page 9: Shapeshifting: Adaptive and Future Friendly Web Design

So that’s

NOWBut What About The

FUTURE?Sunday, October 21, 12

Page 10: Shapeshifting: Adaptive and Future Friendly Web Design

No Clue. Not Psychic,Just A Penguin

?

Sunday, October 21, 12

Page 11: Shapeshifting: Adaptive and Future Friendly Web Design

But we can prepare for the future, with technology we have now.

Sunday, October 21, 12

Page 12: Shapeshifting: Adaptive and Future Friendly Web Design

And a Change of

thinking.

Sunday, October 21, 12

Page 13: Shapeshifting: Adaptive and Future Friendly Web Design

Content First

Sunday, October 21, 12

Page 14: Shapeshifting: Adaptive and Future Friendly Web Design

AD

AD AD AD

ADAD CONTENT

LOGO

Sunday, October 21, 12

Page 15: Shapeshifting: Adaptive and Future Friendly Web Design

AD

AD AD AD

ADAD CONTENT

LOGO

NOT CONTENT FIRST

Sunday, October 21, 12

Page 17: Shapeshifting: Adaptive and Future Friendly Web Design

START with the LEASTCommon Denominator.

ACCESSIBLE , LEAN, CLEAN, LIGHTWEIGHT

Sunday, October 21, 12

Page 18: Shapeshifting: Adaptive and Future Friendly Web Design

Mobile First

Sunday, October 21, 12

Page 19: Shapeshifting: Adaptive and Future Friendly Web Design

Flow With the CascadeIt’s a beautiful thing

Sunday, October 21, 12

Page 20: Shapeshifting: Adaptive and Future Friendly Web Design

100%

HEADER

CONTENT SIDEBAR

67.1875% 31.1875%

1.635%

Be Fluid

Sunday, October 21, 12

Page 21: Shapeshifting: Adaptive and Future Friendly Web Design

A Pixel IS NOT A PIXEL

Sunday, October 21, 12

Page 22: Shapeshifting: Adaptive and Future Friendly Web Design

Media Queries• Set viewport<meta name="viewport" content="initial-scale=1.0"></meta>@viewport { zoom: 1.0; width: auto;}

• Set break points around content, not devices.• Inherent, and build upon default styles.

Sunday, October 21, 12

Page 23: Shapeshifting: Adaptive and Future Friendly Web Design

Feature Detection

Modernizr

Sunday, October 21, 12

Page 24: Shapeshifting: Adaptive and Future Friendly Web Design

Detect Touch

Touch interaction is different than mouse and keyboard.

Input size can vary.

Sunday, October 21, 12

Page 25: Shapeshifting: Adaptive and Future Friendly Web Design

OK

Better

Best

Better

OK

Best

Interaction Area Reading Area

Sunday, October 21, 12

Page 26: Shapeshifting: Adaptive and Future Friendly Web Design

15

16

17

18

19 mm

12

13

14

10

11Average index !ngerwidth

Baby

Basketball player

8 mm

9

% OF MISSED TAPS

25%

20%

15%

10%

5%

3 mm 5 mm 7 mm 9 mm 11 mm 13 mmTarget size

1 in 30 taps (3%)will miss the target

1 in 100 (1%) 1 in 200 (0.5%)

� � �

Touch Input

Minimum Target Size = 40px w/10px MArgin

Sunday, October 21, 12

Page 27: Shapeshifting: Adaptive and Future Friendly Web Design

HTML5 INput

telurlemailnumberpasswordautocapitalize="off"

Sunday, October 21, 12

Page 28: Shapeshifting: Adaptive and Future Friendly Web Design

wp_is_mobile()

Sunday, October 21, 12

Page 29: Shapeshifting: Adaptive and Future Friendly Web Design

ADAPTIVE MEDIA

Sunday, October 21, 12

Page 30: Shapeshifting: Adaptive and Future Friendly Web Design

Icon Fonts

Sunday, October 21, 12

Page 32: Shapeshifting: Adaptive and Future Friendly Web Design

ResourcesEthan Marcotte (@RWD) http://ethanmarcotte.com/Jeffrey Zeldman (@zeldman) http://www.zeldman.com/Paul Irish (@paul_irish) http://paulirish.com/Luke Wroblewski (@lukew) http://www.lukew.com/Brad Frost (@brad_frost) http://bradfrostweb.com/

People

http://www.webplatform.org/http://www.html5rocks.com/en/http://www.alistapart.com/http://bradfrost.github.com/this-is-responsive/index.htmlhttp://movethewebforward.org/https://developer.apple.com/library/safari/navigation/index.htmlhttps://developer.mozilla.org/en-US/docshttp://msdn.microsoft.com/library/ie/

Links

Books

MOBILE FIRST & RESPONSIVE WEB DESIGN BUNDLE(http://www.abookapart.com/products/mobile-first-responsive-web-design-bundle)HTML5 & CSS3 FOR WEB DESIGNERS BUNDLE(http://www.abookapart.com/products/html5-css3-bundle)DESIGNING WITH PROGRESSIVE ENHANCEMENT(http://filamentgroup.com/dwpe/)ADAPTIVE WEB DESIGN(http://easy-readers.net/books/adaptive-web-design/)

Sunday, October 21, 12