SlideShare ist ein Scribd-Unternehmen logo
1 von 45
Downloaden Sie, um offline zu lesen
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/

Weitere ähnliche Inhalte

Ähnlich wie 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 designVinny Wu
 
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 ResponsivelyChad 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 mindsetMiika 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 & prototypingVisual Engineering
 
Responsive Design & CSS Frameworks
Responsive Design & CSS FrameworksResponsive Design & CSS Frameworks
Responsive Design & CSS FrameworksG 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 2012Anna 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 DrupalAdyax
 
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 2013Anna Dahlström
 
Pragmatic Principles for Mobile Design
Pragmatic Principles for Mobile DesignPragmatic Principles for Mobile Design
Pragmatic Principles for Mobile DesignBrandon Carson
 
50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career Counselors50 Mobile Hacks for Career Counselors
50 Mobile Hacks for Career CounselorsMelissa 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 frameworkJohn Strott
 
Beyond Responsive Web Design
Beyond Responsive Web DesignBeyond Responsive Web Design
Beyond Responsive Web Designarborwebsolutions
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 

Kürzlich hochgeladen (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 

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/