1.1k likes | 1.22k Views
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. <br><br>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.
E N D
INTRO TO Adaptive Web Design Aaron Gustafson @aarongustafson slideshare.net/AaronGustafson
“ 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 Samuels IT Manager, National Council on Family Relations Source
“ 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.
“ The percentage visiting from a mobile device or tablet … was just 0.1% in 2008. It has since grown exponentially, 200-400% per year, to 6.2% today.
“ 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%.
“ In the second quarter of 2008 we detected 71 diferent screen resolutions among our visitors. In the frst quarter of 2012 we detected 830
“ Smartphone sales accounted for nearly 85% of all mobile phone sales in the US in Q1 2013. http://www.chetansharma.com/usmarketupdateq12013.htm
“ Smartphones have reached 50% penetration in the US… http://www.chetansharma.com/usmarketupdateq12013.htm
“ …but that’s concentrated in 30% of households http://www.chetansharma.com/usmarketupdateq12013.htm
U.S. Smartphone penetration #s released in February < $30k 47% $30-50k 53% $50-75k 61% >$75k 81% http://www.pewinternet.org/2014/02/27/part-1-how-the-internet-has-woven-itself-into-american-life/
U.S. Smartphone penetration #s released in February < $30k 47% $30-50k 53% $50-75k 61% >$75k 81% $30k = Average US income 2013 http://www.pewinternet.org/2014/02/27/part-1-how-the-internet-has-woven-itself-into-american-life/
U.S. Smartphone vs. Income distribution < $30k 47% $30-50k 53% $50-75k 61% >$75k 81% 8,767 120000 Population (in thousands) 90000 60000 30000 0 <30k $30-50k $50-70k >$70k
U.S. Smartphone vs. Income distribution < $30k 47% $30-50k 53% $50-75k 61% >$75k 81% 8,767 120000 Population (in thousands) Opportunity! 90000 60000 30000 0 <30k $30-50k $50-70k >$70k
RWD To the Rescue!
INTRO TO ADAPTIVE WEB DESIGN What is RWD? ๏ Fluid grids ๏ Flexible media ๏ Media queries 22
INTRO TO ADAPTIVE WEB DESIGN Fluid Grids 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 6.5% 32% 32% 32% 32% 66% 48% 48% 100%
INTRO TO ADAPTIVE WEB DESIGN Flexible Media img { max-width: 100%; height: auto; }
INTRO TO ADAPTIVE WEB DESIGN Media Queries @media screen and (min-width:450px) { /* Styles for screen media when browser is 450px wide or larger */ }
INTRO TO ADAPTIVE WEB DESIGN But That’s the Easy Stuf ๏ Content strategy ๏ Page weight ๏ JavaScript support ๏ Interaction methods ๏ Network latency & performance ๏ Hardware performance ๏ Screen resolution ๏ Sensor availability ๏ etc. 34
INTRO TO ADAPTIVE WEB DESIGN What’s in a name? ๏ Responsive Web Design ๏ Adaptive Web Design ๏ Progressive Enhancement ๏ Aggressive Enhancement ๏ Responsible Web Design 35
INTRO TO ADAPTIVE WEB DESIGN What’s in a name? ๏ Responsive Web Design ๏ Adaptive Web Design ๏ Progressive Enhancement ๏ Aggressive Enhancement ๏ Responsible Web Design 36
Even when we think we know, we’re probably wrong
So how do we cope?
I like an escalator because an escalator can never break, it can only become stairs. — Mitch Hedberg
Graceful Degradation
Modern Browsers Older Browsers
Modern Browsers Older Browsers