Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Responsive Web Design at the BB...

Shaun Bent
December 05, 2014

Introduction to Responsive Web Design at the BBC - 2014 - Lancaster University

Slides from a presentation I gave at Lancaster University, providing an Introduction to RWD at the BBC

Shaun Bent

December 05, 2014
Tweet

More Decks by Shaun Bent

Other Decks in Technology

Transcript

  1. Building for the Web What Responsive Web Design? How Responsive

    Web Design? Responsive Web Design at the BBC Responsive Web Design
  2. “The web as a platform is relatively new and we’re

    still trying to getting to grips with it” Responsive Web Design
  3. Units sold 27 million 53 million 80 million 107 million

    133 million 160 million Year’s since launch 1 4 7 10 13 16 19 22 25 28 Mac Devices iOS Devices Outrageous Adoption Mac Sales vs iOS Sales Source: http://bit.ly/1yld8Ah
  4. This has resulted in a massive shift in how people

    use the Internet Cultural Change
  5. 0% 25% 50% 75% 100% 2005 2006 2007 2008 2009

    2010 2011 2012 2013 2014 Desktop Non-Desktop iPhone Launched Huge Milestone Desktop vs Non-Desktop Traffic iPad Launched
  6. “The control which designers know in the print medium, and

    often desire in the web medium, is simply a function of the limitation of the printed page. We should embrace the fact that the web doesn’t have the same constraints, and design for this flexibility.” Source: http://bit.ly/1yldEOC
  7. Change the layout of a page based on the size

    and capabilities of the device Responsive Web Design
  8. The core principles are still as relevant but they shouldn’t

    be the only principles we follow Responsive Web Design
  9. (720 / 960) x 100 = 75% (20 / 960)

    x 100 = 2.0833333% (220 / 960) x 100 = 22.916666667%
  10. Fluid Images “75% of mobile users won’t wait longer than

    5 seconds for a page to load” Source: http://bit.ly/1yB1cKU
  11. Fluid Images “Amazon reduced load time by 100ms and saw

    a 1% increase in sales” Source: http://bit.ly/1yB1cKU
  12. Fluid Images “Firefox reduced load time by 2.2s and saw

    a 15.4% increase in downloads” Source: http://bit.ly/1yB1CAU
  13. Fluid Images “If Google increased load time by 500ms they

    get 25% fewer searches” Source: http://bit.ly/1yB1CAU
  14. BBC Sport Sochi Index File Type Total HTML 1 CSS

    6 Javascript 11 Fonts 3 Images 130 Total 151
  15. BBC Sport Sochi Index File Type Total HTML 1 CSS

    6 Javascript 11 Fonts 3 Images 130 Total 151 File Type Total HTML 1 CSS 6 Javascript 11 Fonts 3 Images 46 Total 67 Before After
  16. Media Queries “Apply breakpoints at the limits of a design,

    not a device” Source: GEL Responsive Foundation
  17. NEWS SPORT LIVE WEATHER SEARCH HOMEPAGE ABOUT THE BBC TRAVEL

    MUSIC Bitesize ARTS FOOD NEWSBEAT PROGRAMMES
  18. GEL

  19. XSmall (240px - 399px) Small (400px - 599px) Medium (600px

    - 899px) Large (900px+) GEL Breakpoints
  20. 12 & 24 Columns Fluid Columns Fixed Gutters & Margins

    Changes across breakpoints GEL Responsive Grid
  21. RWD at the BBC “We have ~80 significant browsers/operating system

    combinations regularly using our application across the globe and a long tail of hundreds more.” Source: http://bit.ly/1yBcS03
  22. How do we continue to support the vast number of

    older and less capable devices while delivering a world class experience tailored to smart phones and larger resolutions? RWD at the BBC
  23. if(‘querySelector’ in document && ‘localStorage’ in window && ‘addEventListener’ in

    window) { // Congrats, you’ve cut the mustard } RWD at the BBC
  24. Core Experience (Simple Layout, Fast, All Browsers) 8 7 9

    10 iOS 6 iOS 7 1.6 2.1+ BB OS5
 (MANGO) BB OS5
 (WEBKIT) Opera Mobile
  25. Core Experience (Simple Layout, Fast, All Browsers) 7 1.6 BB

    OS5
 (MANGO) Enhanced Experience (Complex Layout, Functional, Modern Browsers) 8 9 10 iOS 6 iOS 7 2.1+ BB OS5
 (WEBKIT) Opera Mobile