SlideShare a Scribd company logo
DEVCON ´12


THE MAGIC
AND PAIN OF
RESPONSIVE
DESIGN .
PRESENTED BY MATTHIAS LAU
{
    name: "Matthias Lau",
    link: "http://laumatthias.de",
    twitter: "@matthiaslau",
    hometown: {
      name: "Hamburg, Germany"
    },
    bio: "Web-Allrounder mit Leidenschaft für E-Commerce, Coden,
    Hacken, Konzipieren, Designen.",
    work: {
      employer: {
        name: "Jimdo"
      },
      position: {
        name: "Shop-Rakete"
      },
    },
}
1   More than desktop: TVs, laptops, tablets, eReader and
                                     smartphones.




              AGE OF
HETEROGENEOUS DEVICES
      960 GRID IS SO YESTERDAY
                                 2   Fragmented screen sizes.




                                 3   Websites should always look good and be usable.




                                 4   Different usability concepts, e.g. touch.
SERVE THE DEVICES
            POSSIBILITIES




   DESKTOP ONLY             APPS   MOBILE WEBSITES   RESPONSIVE DESIGN
      (apple.com)
MAKE IT RESPONSIVE
HOW DOES RESPONSIVE DESIGN WORK?




                 /* IPAD */
                 @media screen and (max-device-width: 1024px) {

                 }

                 /* IPHONE */
                 @media screen and (max-device-width: 480px) {

                 }
FRAMEWORKS
 GETTING STARTED




  TWITTER BOOTSTRAP                       FOUNDATION                         INUIT CSS
 http://twitter.github.com/bootstrap/   http://foundation.zurb.com/   http://csswizardry.com/inuitcss/
POW
KAZONG




     PAINS.
         *OUCH*
COMPLEX ABOUT BLOGS
  IT´S NOT JUST
                PAGES.
NON-RESPONSIVE
 REQUIREMENTS.
  NO, THE BUTTON CAN´T HAVE
     A UNICORN ON THE EDGE!!!
THIRD PARTY
         CONTENT
HANDLING THINGS YOU DON´T KNOW
NODEFINES THE DEVICE-SPECIFICS?
WHO
      PROCESSES.
                  HOW TO TEST?
EFFORT.
CARING FOR DEVICES MEANS WORK
EFFORT PER DEVICE.
 EVERY NEW DEVICE MEANS WORK
A COMPLETE
       RELAUNCH IS
         EXPENSIVE.
     AND THERE´S NO WAY TO
MIGRATE THIS BIG BALL OF MUD
NOT REALLY
MOBILE-OPTIMIZED .
            LOAD TIME?
„I don´t care who you are or
where you´re from, I still love you“
                          LOVE YOUR USERS
1   If you want to hide it, think about deleting it.




COMPLEXITY
                          2   Mobile First (Tablet First)



 KEEP IT SIMPLE, STUPID
                          3   Embrace CSS3.




                          4   The web IS responsive! We just started to use fixed width.
„Mobile users want to see our menu,
hours, and delivery number. Desktop
users definitely want this 1mb png of
someone smiling at a salad.“
                      MAT MARQUIS (@wilto)
RESPONSIVE
    TILES .
   WHERE TO PUT THEM

                       by http://www.lukew.com
MOSTLY FLUID
  RESPONSIVE TILES
COLUMN DROP
   RESPONSIVE TILES
LAYOUT SHIFTER
    RESPONSIVE TILES
TINY TWEAKS
 RESPONSIVE TILES
OFF CANVAS
 RESPONSIVE TILES
MORE TILES .
   http://tinyurl.com/responsive-tiles
<SOMETHING> FIRST
         OR OTHER
“There is no Mobile Web. There is only
The Web, which we view in different
ways. There is also no Desktop Web.
Or Tablet Web. Thank you.”
                      STEPHEN HAY (@stephenhay)
1   Remove the mental model of full control!



  PREPARE TO
LOSE CONTROL
DON´T OPTIMIZE FOR MOBILE
                            2   Fluid Layout


    OPTIMIZE FOR THE WEB

                            3   Okay, perhaps optimize for device classes
1   THERE´S NO MOBILE WEB! Today people also use mobile
                        devices for surfing on the couch.




YOUR USERS
WANT STUFF
    DON´T HIDE IT
                    2   Don´t assume users want other content just because they use
                        a different device!




                    3   RESPONSIVE CONTENT IS DANGEROUS. Just be careful.
RESPONSIVE DESIGN
IS NO NERD STUFF .
        IT´S INTERDISCIPLINARY
DECORATE YOUR DESK
       WITH DEVICES
              TESTING
1   DEVICE BREAKPOINTS
                            Break at the specific device width. DON´T DO THIS!




BREAKPOINTS
   320px? 480px? WTF!   2   DEVICE CLASS BREAKPOINTS
                            Identify your most important device widths, classify the
                            devices and set the breakpoints BETWEEN them.




                        3   NATURAL BREAKPOINTS
                            Define breakpoints where your layout breaks. Also define
                            breakpoints where you need a layout change due to space
                            limitations.
FEATURE DETECTION
    USE JAVASCRIPT TO BE EVEN
              MORE RESPONSIVE




          if (Modernizr.touch){
             // Touch is supported
          } else {
             // This is no touch device
          }
RESS .
    RESPONSIVE DESIGN +
SERVER SIDE COMPONENTS
1            There are some things RWD can´t offer.
                          Images in the right size. Order of Markup.




             2            Check HTTP headers and lookup device features in a
                          database / API.

        RESS
             3
FINALLY A NEW BUZZWORD    Combine it with client side detection and share
                          information using cookies.




$WURFLWidth = $client->getDeviceCapability('max_image_width');
CAREFUL:
CACHING HATES RESS
     ALL THIS MAGIC MEANS
          DYNAMIC CONTENT!
1           Layout and design for TABLET or MOBILE.




  THERE IS NO 2
                          Start with a FLUID LAYOUT and RESPONSIVE RESET.



ONE-FITS-ALL
 APPROACH 3
                          Define your DEVICE-CLASSES and implement media
                          queries for them considering DEVICE CLASS
                          BREAKPOINTS. Only use them for device specific stuff
                          (menu, perhaps buttons).
  BUT HERE IS A STARTER

              4
                          S c a l e d o w n a n d u p t o fi n d yo u r N AT U R A L
                          BREAKPOINTS where your layout breaks. Implement
                          media queries for them and fix the layout considering
                          RESPONSIVE TILES.



              5           Use RESS to serve optimized images for each device-class. Use
                          it for other stuff if needed (text truncate limit, markup order).
QA     &
PUT YOUR QUESTIONS
Book: RESPONSIVE WEB DESIGN by ETHAN MARCOTTE
            http://www.abookapart.com/products/responsive-web-design

            FLUID GRIDS by ETHAN MARCOTTE
            http://www.alistapart.com/articles/fluidgrids/

            RESPONSIVE WEB DESIGN by ETHAN MARCOTTE
            http://www.alistapart.com/articles/responsive-web-design/


LINKS
 READ IT!
            RESPONSIVE LAYOUTS
            http://www.thismanslife.co.uk/projects/lab/responsivewireframes/

            320 AND UP - tiny screen first HTML5 Boilerplate
            http://stuffandnonsense.co.uk/projects/320andup/

            RESPONSIVE DESIGN TESTING TOOL
            http://mattkersley.com/responsive/

            5 REASONS WHY RESPONSIVE DESIGN IS NOT WORTH IT
            http://managewp.com/5-reasons-why-responsive-design-is-not-
            worth-it
RESPONSIVE DESIGN SKETCHBOOK
            http://appsketchbook.com/products/responsive-design-
            sketchbook

            RESPONSIVE IMAGES
            http://filamentgroup.com/lab/
            responsive_images_experimenting_with_context_aware_image_sizing/


            MULTI-DEVICE LAYOUT PATTERNS

LINKS
 READ IT!
            http://www.lukew.com/ff/entry.asp?1514


            AN EVENT APART: THE RESPONSIVE DESIGNER´S WORKFLOW
            http://www.lukew.com/ff/entry.asp?1353
THANKS.
 FOR YOUR ATTENTION
                      http://twitter.com/matthiaslau
                          http://laumatthias.de/

More Related Content

Similar to The Magic and Pain of Responsive Design

A research on i pad device & experience design
A research on i pad   device & experience designA research on i pad   device & experience design
A research on i pad device & experience design
Vinny Wu
 
SXSWi - VPRO / HU
SXSWi - VPRO / HUSXSWi - VPRO / HU
SXSWi - VPRO / HU
Laurens Vreekamp
 
Responsive design
Responsive designResponsive design
Responsive design
Hock Leng PUAH
 
How to build a kick-ass mobile experience
How to build a kick-ass mobile experienceHow to build a kick-ass mobile experience
How to build a kick-ass mobile experienceMichael Dick
 
Why should I care about Responsive Design?
Why should I care about Responsive Design?Why should I care about Responsive Design?
Why should I care about Responsive Design?Fabricio Teixeira
 
Embracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think ResponsivelyEmbracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think Responsively
Chad Currie
 
10 stops towards a responsive web design mindset
10 stops towards a responsive web design mindset10 stops towards a responsive web design mindset
10 stops towards a responsive web design mindset
Miika Puputti
 
UX Design for Mobile Apps
UX Design for Mobile AppsUX Design for Mobile Apps
UX Design for Mobile AppsKamil Zieba
 
Workshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototypingWorkshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototyping
Visual Engineering
 
Service worker API
Service worker APIService worker API
Service worker API
Giorgio Natili
 
Responsive Design & CSS Frameworks
Responsive Design & CSS FrameworksResponsive Design & CSS Frameworks
Responsive Design & CSS Frameworks
G C
 
Designing for multiple devices, GA London - 6 Aug 2012
Designing for multiple devices, GA London - 6 Aug 2012Designing for multiple devices, GA London - 6 Aug 2012
Designing for multiple devices, GA London - 6 Aug 2012
Anna Dahlström
 
Breaking the Box: Pushing the Boundaries of UX with Drupal
Breaking the Box: Pushing the Boundaries of UX with DrupalBreaking the Box: Pushing the Boundaries of UX with Drupal
Breaking the Box: Pushing the Boundaries of UX with DrupalAcquia
 
For a Social Local and Mobile Drupal
For a Social Local and Mobile DrupalFor a Social Local and Mobile Drupal
For a Social Local and Mobile Drupal
Adyax
 
New Rules of The Responsive Web
New Rules of The Responsive WebNew Rules of The Responsive Web
New Rules of The Responsive WebMatt Carver
 
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Anna Dahlström
 
Pragmatic Principles for Mobile Design
Pragmatic Principles for Mobile DesignPragmatic Principles for Mobile Design
Pragmatic Principles for Mobile Design
Brandon Carson
 
50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors
Melissa A. Venable
 
Stocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible frameworkStocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible framework
John Strott
 
Beyond Responsive Web Design
Beyond Responsive Web DesignBeyond Responsive Web Design
Beyond Responsive Web Design
arborwebsolutions
 

Similar to The Magic and Pain of Responsive Design (20)

A research on i pad device & experience design
A research on i pad   device & experience designA research on i pad   device & experience design
A research on i pad device & experience design
 
SXSWi - VPRO / HU
SXSWi - VPRO / HUSXSWi - VPRO / HU
SXSWi - VPRO / HU
 
Responsive design
Responsive designResponsive design
Responsive design
 
How to build a kick-ass mobile experience
How to build a kick-ass mobile experienceHow to build a kick-ass mobile experience
How to build a kick-ass mobile experience
 
Why should I care about Responsive Design?
Why should I care about Responsive Design?Why should I care about Responsive Design?
Why should I care about Responsive Design?
 
Embracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think ResponsivelyEmbracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think Responsively
 
10 stops towards a responsive web design mindset
10 stops towards a responsive web design mindset10 stops towards a responsive web design mindset
10 stops towards a responsive web design mindset
 
UX Design for Mobile Apps
UX Design for Mobile AppsUX Design for Mobile Apps
UX Design for Mobile Apps
 
Workshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototypingWorkshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototyping
 
Service worker API
Service worker APIService worker API
Service worker API
 
Responsive Design & CSS Frameworks
Responsive Design & CSS FrameworksResponsive Design & CSS Frameworks
Responsive Design & CSS Frameworks
 
Designing for multiple devices, GA London - 6 Aug 2012
Designing for multiple devices, GA London - 6 Aug 2012Designing for multiple devices, GA London - 6 Aug 2012
Designing for multiple devices, GA London - 6 Aug 2012
 
Breaking the Box: Pushing the Boundaries of UX with Drupal
Breaking the Box: Pushing the Boundaries of UX with DrupalBreaking the Box: Pushing the Boundaries of UX with Drupal
Breaking the Box: Pushing the Boundaries of UX with Drupal
 
For a Social Local and Mobile Drupal
For a Social Local and Mobile DrupalFor a Social Local and Mobile Drupal
For a Social Local and Mobile Drupal
 
New Rules of The Responsive Web
New Rules of The Responsive WebNew Rules of The Responsive Web
New Rules of The Responsive Web
 
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
Fundamentals of Designing for Multiple Devices - GA, New York, 07 Oct 2013
 
Pragmatic Principles for Mobile Design
Pragmatic Principles for Mobile DesignPragmatic Principles for Mobile Design
Pragmatic Principles for Mobile Design
 
50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors
 
Stocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible frameworkStocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible framework
 
Beyond Responsive Web Design
Beyond Responsive Web DesignBeyond Responsive Web Design
Beyond Responsive Web Design
 

Recently uploaded

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 

Recently uploaded (20)

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 

The Magic and Pain of Responsive Design

  • 1. DEVCON ´12 THE MAGIC AND PAIN OF RESPONSIVE DESIGN . PRESENTED BY MATTHIAS LAU
  • 2. { name: "Matthias Lau", link: "http://laumatthias.de", twitter: "@matthiaslau", hometown: { name: "Hamburg, Germany" }, bio: "Web-Allrounder mit Leidenschaft für E-Commerce, Coden, Hacken, Konzipieren, Designen.", work: { employer: { name: "Jimdo" }, position: { name: "Shop-Rakete" }, }, }
  • 3. 1 More than desktop: TVs, laptops, tablets, eReader and smartphones. AGE OF HETEROGENEOUS DEVICES 960 GRID IS SO YESTERDAY 2 Fragmented screen sizes. 3 Websites should always look good and be usable. 4 Different usability concepts, e.g. touch.
  • 4. SERVE THE DEVICES POSSIBILITIES DESKTOP ONLY APPS MOBILE WEBSITES RESPONSIVE DESIGN (apple.com)
  • 5. MAKE IT RESPONSIVE HOW DOES RESPONSIVE DESIGN WORK? /* IPAD */ @media screen and (max-device-width: 1024px) { } /* IPHONE */ @media screen and (max-device-width: 480px) { }
  • 6.
  • 7. FRAMEWORKS GETTING STARTED TWITTER BOOTSTRAP FOUNDATION INUIT CSS http://twitter.github.com/bootstrap/ http://foundation.zurb.com/ http://csswizardry.com/inuitcss/
  • 8. POW KAZONG PAINS. *OUCH*
  • 9. COMPLEX ABOUT BLOGS IT´S NOT JUST PAGES.
  • 10.
  • 11.
  • 12. NON-RESPONSIVE REQUIREMENTS. NO, THE BUTTON CAN´T HAVE A UNICORN ON THE EDGE!!!
  • 13. THIRD PARTY CONTENT HANDLING THINGS YOU DON´T KNOW
  • 14. NODEFINES THE DEVICE-SPECIFICS? WHO PROCESSES. HOW TO TEST?
  • 16. EFFORT PER DEVICE. EVERY NEW DEVICE MEANS WORK
  • 17. A COMPLETE RELAUNCH IS EXPENSIVE. AND THERE´S NO WAY TO MIGRATE THIS BIG BALL OF MUD
  • 19. „I don´t care who you are or where you´re from, I still love you“ LOVE YOUR USERS
  • 20. 1 If you want to hide it, think about deleting it. COMPLEXITY 2 Mobile First (Tablet First) KEEP IT SIMPLE, STUPID 3 Embrace CSS3. 4 The web IS responsive! We just started to use fixed width.
  • 21. „Mobile users want to see our menu, hours, and delivery number. Desktop users definitely want this 1mb png of someone smiling at a salad.“ MAT MARQUIS (@wilto)
  • 22. RESPONSIVE TILES . WHERE TO PUT THEM by http://www.lukew.com
  • 23. MOSTLY FLUID RESPONSIVE TILES
  • 24. COLUMN DROP RESPONSIVE TILES
  • 25. LAYOUT SHIFTER RESPONSIVE TILES
  • 28. MORE TILES . http://tinyurl.com/responsive-tiles
  • 29. <SOMETHING> FIRST OR OTHER
  • 30. “There is no Mobile Web. There is only The Web, which we view in different ways. There is also no Desktop Web. Or Tablet Web. Thank you.” STEPHEN HAY (@stephenhay)
  • 31. 1 Remove the mental model of full control! PREPARE TO LOSE CONTROL DON´T OPTIMIZE FOR MOBILE 2 Fluid Layout OPTIMIZE FOR THE WEB 3 Okay, perhaps optimize for device classes
  • 32. 1 THERE´S NO MOBILE WEB! Today people also use mobile devices for surfing on the couch. YOUR USERS WANT STUFF DON´T HIDE IT 2 Don´t assume users want other content just because they use a different device! 3 RESPONSIVE CONTENT IS DANGEROUS. Just be careful.
  • 33. RESPONSIVE DESIGN IS NO NERD STUFF . IT´S INTERDISCIPLINARY
  • 34. DECORATE YOUR DESK WITH DEVICES TESTING
  • 35. 1 DEVICE BREAKPOINTS Break at the specific device width. DON´T DO THIS! BREAKPOINTS 320px? 480px? WTF! 2 DEVICE CLASS BREAKPOINTS Identify your most important device widths, classify the devices and set the breakpoints BETWEEN them. 3 NATURAL BREAKPOINTS Define breakpoints where your layout breaks. Also define breakpoints where you need a layout change due to space limitations.
  • 36. FEATURE DETECTION USE JAVASCRIPT TO BE EVEN MORE RESPONSIVE if (Modernizr.touch){ // Touch is supported } else { // This is no touch device }
  • 37. RESS . RESPONSIVE DESIGN + SERVER SIDE COMPONENTS
  • 38. 1 There are some things RWD can´t offer. Images in the right size. Order of Markup. 2 Check HTTP headers and lookup device features in a database / API. RESS 3 FINALLY A NEW BUZZWORD Combine it with client side detection and share information using cookies. $WURFLWidth = $client->getDeviceCapability('max_image_width');
  • 39. CAREFUL: CACHING HATES RESS ALL THIS MAGIC MEANS DYNAMIC CONTENT!
  • 40.
  • 41. 1 Layout and design for TABLET or MOBILE. THERE IS NO 2 Start with a FLUID LAYOUT and RESPONSIVE RESET. ONE-FITS-ALL APPROACH 3 Define your DEVICE-CLASSES and implement media queries for them considering DEVICE CLASS BREAKPOINTS. Only use them for device specific stuff (menu, perhaps buttons). BUT HERE IS A STARTER 4 S c a l e d o w n a n d u p t o fi n d yo u r N AT U R A L BREAKPOINTS where your layout breaks. Implement media queries for them and fix the layout considering RESPONSIVE TILES. 5 Use RESS to serve optimized images for each device-class. Use it for other stuff if needed (text truncate limit, markup order).
  • 42. QA & PUT YOUR QUESTIONS
  • 43. Book: RESPONSIVE WEB DESIGN by ETHAN MARCOTTE http://www.abookapart.com/products/responsive-web-design FLUID GRIDS by ETHAN MARCOTTE http://www.alistapart.com/articles/fluidgrids/ RESPONSIVE WEB DESIGN by ETHAN MARCOTTE http://www.alistapart.com/articles/responsive-web-design/ LINKS READ IT! RESPONSIVE LAYOUTS http://www.thismanslife.co.uk/projects/lab/responsivewireframes/ 320 AND UP - tiny screen first HTML5 Boilerplate http://stuffandnonsense.co.uk/projects/320andup/ RESPONSIVE DESIGN TESTING TOOL http://mattkersley.com/responsive/ 5 REASONS WHY RESPONSIVE DESIGN IS NOT WORTH IT http://managewp.com/5-reasons-why-responsive-design-is-not- worth-it
  • 44. RESPONSIVE DESIGN SKETCHBOOK http://appsketchbook.com/products/responsive-design- sketchbook RESPONSIVE IMAGES http://filamentgroup.com/lab/ responsive_images_experimenting_with_context_aware_image_sizing/ MULTI-DEVICE LAYOUT PATTERNS LINKS READ IT! http://www.lukew.com/ff/entry.asp?1514 AN EVENT APART: THE RESPONSIVE DESIGNER´S WORKFLOW http://www.lukew.com/ff/entry.asp?1353
  • 45. THANKS. FOR YOUR ATTENTION http://twitter.com/matthiaslau http://laumatthias.de/