Slide 1

Slide 1 text

Darren Belding @dsbelding Tom Robertshaw @bobbyshaw Responsive Web Design

Slide 2

Slide 2 text

Meanbee •  UK Magento Development •  Front End Developer Certified •  Magento since 2008

Slide 3

Slide 3 text

Mobile 52% always have phones within arm’s reach

Slide 4

Slide 4 text

Mobile 90% use multiple screens to complete a task

Slide 5

Slide 5 text

Mobile 81% of mobile purchases are spontaneous

Slide 6

Slide 6 text

eCommerce Survey

Slide 7

Slide 7 text

Responsive Sites •  2% of eCommerce sites are responsive •  Doubled in 6 months •  66% Magento

Slide 8

Slide 8 text

What is responsive design? •  Concept coined by Ethan Marcotte (2010) •  eCommerce is 2 years behind •  Flexibility not fixed.

Slide 9

Slide 9 text

Why use it? •  Customer Experience •  SEO •  Maintainability •  Future Friendly

Slide 10

Slide 10 text

Effect on Conversion O’Neill Clothing + 66% Skinny Ties + 71% Fathead + 90%

Slide 11

Slide 11 text

How? How?

Slide 12

Slide 12 text

Content •  Takes precedence •  Information Architecture •  Use cases

Slide 13

Slide 13 text

Mobile-first or Desktop-first •  Desktop-first – Legacy systems •  Mobile First – Mobile optimised (load only what device needs) – But IE

Slide 14

Slide 14 text

Legacy Browsers •  Consider ROI •  Many tools available: – respond.js (media query polyfill) – selectivizr (css3 selector polyfill) – html5shiv (html5 element enabling script)

Slide 15

Slide 15 text

Design Patterns •  Make disciplined decisions •  Document Flow •  Consider navigation across devices •  Restrict interactions to the viewport

Slide 16

Slide 16 text

Accessibility •  Accessibility is the foundation of a great design experience •  Mouse, keyboard, touch •  Bandwidth •  Web Content Accessibility Guidelines

Slide 17

Slide 17 text

Implementation •  Use a framework or boilerplate •  Tailor to your own needs

Slide 18

Slide 18 text

Fluid Grids

Slide 19

Slide 19 text

Fluid Grids •  Semantic versus Non-semantic •  CSS Pre-processors (LESS, SASS, Stylus) •  Retain upgradability of Magento

Slide 20

Slide 20 text

Interactions •  HTML 5 inputs – tel – number – email – date – pattern •  e.g. pattern="[0-9]*"

Slide 21

Slide 21 text

Interactions •  Anchor Types – tel: – sms: – mailto: – skype:

Slide 22

Slide 22 text

Interactions •  Larger touch area – Buttons – Tabs – Form Fields

Slide 23

Slide 23 text

Enhancements •  modernizr (feature detection) •  Gesture Control – Ensure JS and UI support it •  E.g. carousels – Add your own

Slide 24

Slide 24 text

Device Branded •  Favicons •  Apple Icons •  Windows Tiles

Slide 25

Slide 25 text

Responsive Tables •  Consider content •  Solutions •  responsivetables.js •  Flip scroll •  Unseen column •  Responsive Table

Slide 26

Slide 26 text

Responsive Video •  HTML 5 video !! !height: auto !important; ! !width: 100% !important;! •  For everything else there’s Fitvids.js

Slide 27

Slide 27 text

Responsive Imagery •  4 success criteria – Fluid – Art-directed – Resolution (retina) – File-size Optimized

Slide 28

Slide 28 text

Fluid •  Nice and easy ! ! ! !height: auto !important; ! ! ! !max-width: 100%;!

Slide 29

Slide 29 text

Art Directed Focal Points

Slide 30

Slide 30 text

Resolution •  Retina-targeted imagery – SVG – HiDPI sprites – Icon fonts – @1.5X @2X – Larger compressed images

Slide 31

Slide 31 text

Resolution •  Foresight.js •  picture! •  srcset!

Slide 32

Slide 32 text

Adaptive Size & Resolution •  Device size detection •  Resize images before delivery •  Reduce bandwidth, reduce page load time.

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Adaptive Images •  Large image is 1509 x 906 (80KB) •  Small image is 480 x 288 (12KB) •  85% reduction in size

Slide 36

Slide 36 text

Device Testing

Slide 37

Slide 37 text

RESS Responsive Web Design with Server Side Components

Slide 38

Slide 38 text

RESS •  Optimization at the component level to increase performance •  82 of top 100 Alexa site deliver different content based on user agent. •  Necessary evil to change device experience

Slide 39

Slide 39 text

Magento Exceptions

Slide 40

Slide 40 text

Device Experiences •  Choice of Checkout •  Limit product carousels •  Use helpers

Slide 41

Slide 41 text

Conclusion Responsive design paired with server side optimisations enables maintainable, future ready, device experiences.

Slide 42

Slide 42 text

Go Forth •  Start now •  A lot of documentation and tools available •  You and your clients cannot afford not to.

Slide 43

Slide 43 text

Darren Belding @dsbelding Tom Robertshaw @bobbyshaw Responsive Web Design

Slide 44

Slide 44 text

References •  “The Infinite Dial 2013: Navigating Digital Platforms” - Edison Research http://www.edisonresearch.com/home/archives/2013/04/the-infinite-dial-2013-navigating-digital-platforms.php •  “Half of Mobile Phone Owners Always Have Their Device Within Arm’s Length” – Marketing Charts http://www.marketingcharts.com/wp/interactive/half-of-mobile-phone-owners-always-have-their-device-within- arms-length-28367/ •  “The New Multi-Screen World Study” – Google http://www.google.com/think/research-studies/the-new-multi-screen-world-study.html •  “RESS: Responsive Design + Server Side Components” – Luke Wroblewski http://www.lukew.com/ff/entry.asp?1392 •  “Three Ways a Mobile Responsive Website Beats Using a Separate Mobile Site – Copy Blogger http://www.copyblogger.com/mobile-responsive-design-benefits/ •  “Repurposing vs optimised design” – Nielsen Norman Group http://www.nngroup.com/articles/repurposing-vs-optimized-design/ •  “Iterative Design of a Mobile Screen” – Neilsen Norman Group http://www.nngroup.com/articles/iterative-design-mobile-screen/ •  “New stats: Amazon, Apple have biggest proportion of mobile users” – Geek Wire http://www.geekwire.com/2013/multiplatform-stats-amazon-apple-biggest-proportion-mobile-users/ •  “Focal Point GitHub” – Adam Bradley https://github.com/adamdbradley/focal-point •  “Foresight GitHub” – Adam Bradley https://github.com/adamdbradley/foresight.js/ •  “Retina Revolution” – Netvlies.nl http://blog.netvlies.nl/design-interactie/retina-revolution/ •  “Data Monday: Impact of Responsive Designs” – Luke Wroblewski http://www.lukew.com/ff/entry.asp?1691 •  “Adaptive Images” – Matt Wilcox http://adaptive-images.com/ •  “Responsive Patterns” – Brad Frost http://bradfrost.github.io/this-is-responsive/patterns.html •  “Responsive Tables” – Simon Elvery http://elvery.net/demo/responsive-tables/ •  “Server-side Mobile Web Detection Used by 82% of Alexa Top 100 Sites” – CircleID http://www.circleid.com/posts/20120111_analysis_of_server_side_mobile_web_detection/ •  “Web Content Accessibility Guidelines (WCAG) 2.0” – W3C http://www.w3.org/TR/WCAG20/ •  “Responsive Images Group” - http://responsiveimages.org/