SlideShare una empresa de Scribd logo
1 de 44
Descargar para leer sin conexión
Theming and Designing for
    Mobile Devices
               David Lanier
       http://twitter.com/nadavoid

            Blue Tent Marketing
    http://www.bluetentmarketing.com
Introduction and Outline

• About how to think about mobile design
• About how to approach your theming tasks
• A touch of implementation near the end
How big of a deal is mobile stuff?

• 418 Million mobile internet users in Europe (David Moore)
• US Usage doubled in 2009 (David Moore)
• How many of you use a smartphone or internet connected
  mobile device? (iPhone, Droid, BlackBerry)
Stats
Stats
How big of a deal is it to YOU?

•   Look at stats for your current sites.
•   What percentage of your visitors are mobile?
•   How does that compare to last year?
•   What are the most common mobile devices to visit your site?
•   How do their traffic patterns compare?
What should I think about?

•   The Visitor
•   Their needs and objectives
•   In and out, looking for something, quick results
•   Base this on the data you can gather from your visitors
What should I think about?

•   The Technology
•   Slow transfer speeds
•   Often there are fees for data transfer
•   Small screens (100 x 80 to 480 x 320)
•   Fewer features (no flash, limited javascript, bookmarking,
    clicking vs tapping)
•   Again, base this on data you gather from your visitors
What’s the big idea?

•   What is the one main goal of your site for you?
•   Sell a product?
•   Distribute information?
•   Get a contact or lead?
•   Establish an image?
•   Provide availability information? (rentals, flights)


• And not just your mobile site. What’s the main point of your
    main site?
Approaches

• 1. Solid foundation of logical markup and other good
    practices
•   Or put it this way: a mobile friendly desktop theme
•   Allows for graceful degradation
•   Allows repurposing of content to happen more logically and
    easily
•   You can’t know ALL of the possible destination devices -- the
    fridge computer, and the talking computer in your car
Approaches

• 2. CSS that adjusts for smaller screens -- “media queries”
• <link media=”screen and (max-device-width: 480px)”
    rel=”stylesheet” type=”text/css” href=”mobile.css” />
•   http://www.alistapart.com/articles/responsive-web-design/
•   Great for designs that are minimal to begin with
Approaches

•   3. Different theme, same content
•   The theme is altogether different
•   Content from the same site is displayed in this theme
•   Content is optimized for mobile delivery (smaller & fewer
    images, leaner HTML, minimal javascript and CSS)
Approaches

• 4. Completely separate site
• Completely different content, only lightly related to the
    desktop site.
•   Separate theme.
•   Wouldn’t even have to be a Drupal site, necessarily.
•   Redirect mobile users to this other site by auto detection or
    by user choice.
Approaches, the guiding principles

• Reduce markup
• Reduce content
• Optimize for the mobile user
How to think

• Think in terms of “panes” rather than “pages”
• Focus on single column layouts, rather than multiple
    columns.


• What do I want to keep? (rather than: What do I want to
    eliminate)
•   What is the one most important user action?
A little experiment

• Which sites have mobile versions available?
• For the ones that do, notice what they chose to keep.
• Notice the design elements.
Better Homes and Gardens?
Better Homes and Gardens?
Kayak?
Kayak?
Work at Play?
Work at Play?
Work at Play?
Work at Play?
Verizon Wireless?
Verizon Wireless?
mobiForge?
mobiForge?
Apple?
Apple?
Hicks Design?
Hicks Design?
Design Issues

• Forms: minimal & simple (limited screen space)
• Links, anything clickable, make a large clickable area
• Scrolling in only one direction. Scrolling a long pane is OK,
  but if you have to scroll left and right too? Not so good.
Implementation Issues

• Device detection -- Is it mobile? How big is the screen? Is it
    a touch device?
•   Site selection and redirection
     – m.example.com, example.mobi, example.com/m
•   Content selection and optimization
A Splash of Implementation

•   SonnenalpRealEstate.com (a development copy)
•   New theme: .mobi
•   Conditionally switch theme: mobile_tools
•   Custom home page
     – panels variant with php snippet
     – hook_boot() in a custom module
•   New top menu
SonnenalpRealEstate.com
PHP Snippet
• Using the mobile_tools module
• In a Panels Selection Rule
 if (module_exists('mobile_tools'))
   $device = mobile_tools_is_mobile_device();
 }
 else {
   return FALSE;
 }
 if ($device['type'] == 'mobile' && $device['group'] != 'ipad') {
   return TRUE;
 }
 else {
   return FALSE;
 }


• In a Custom Module
 function MYMODULE_boot() {
   if (module_exists('mobile_tools')) {
     $device = _mobile_tools_is_mobile_device();
     if ($device['type'] == 'mobile') {
       global $conf;
       $conf['site_frontpage'] = 'mobile_frontpage';
     }
   }
 }
Takeaways

• Much of this work has more to do with architecture and
    planning and usability than about visual aesthetics.
•   There are some good implementation techniques for Drupal,
    but there is no complete and ready to go solution. Your
    developer must assemble elements that meet the mobile
    needs of your site and visitors.
Drupal Modules
• mobile_tools
• mobile_redirects -- a module that Bob Christenson is working
    on, only at github currently.
•   idrupal -- for managing a drupal site by iphone ( + idrupal_ui
    theme)
•   wurfl -- for device detection
•   browscap -- for device detection
•   mobile_theme -- simply switches theme when it detects a
    mobile device
•   mobileplugin -- device detection, redirection, automatic
    content optimization
Drupal Modules (more to look at)

•   context
•   section
•   rules
•   domain
•   subdomain
•   spaces
•   ds (display suite) plus views or panels to override default
    node display
Drupal Themes

•   .mobi -- very lean
•   mobile -- very lean
•   nokia_mobile -- looks nice right away
•   iui -- provides an iPhone-like interface
•   iwebkit
•   mobilewebkit -- only at hedindesign.com
Design, testing, and development
resources
• iphonetester.com
• User Agent Switcher -- addons.mozilla.org/en-US/firefox/
    addon/59/
•   jqtouch.com
•   iphone stencils -- mortenjust.com/2010/05/02/iphone-
    wireframe-stencils-for-google-docs/
•   Mobile Design and Development, O’Reilly, Brian Fling
•   noupe.com/how-tos/mobile-web-design-tips-and-best-
    practices.html
•   mobiledrupal.com/content/overview-mobile-modules-drupal
Bonus Resources

• Slides from David Moore’s mobile presentation -- http://
    crookednumber.com/sites/crookednumber.com/files/
    mobile101.pdf (more details on implementation)
•   mobiforge.com -- discussions and resources on all things
    mobile. (and their site is in Drupal)
•   Mobile Analytics
     – google.com/analytics
     – code.google.com/mobile/analytics/docs/web/
•   handsetdetection.com -- “Mobile Website Redirection |
    Mobile Analytics | Handset Detection”
•   delicious.com/nadavoid/mobile
Theming and Designing for
    Mobile Devices
               David Lanier
       http://twitter.com/nadavoid

            Blue Tent Marketing
    http://www.bluetentmarketing.com

Más contenido relacionado

La actualidad más candente

Guide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFutureGuide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFutureguidecreative
 
The Top Ten Elements Your Noprofit's Strategic Website Should Have
The Top Ten Elements Your Noprofit's Strategic Website Should HaveThe Top Ten Elements Your Noprofit's Strategic Website Should Have
The Top Ten Elements Your Noprofit's Strategic Website Should Haveguidecreative
 
Guidelines for Responsive UX Design 11/16/19
Guidelines for Responsive UX Design 11/16/19Guidelines for Responsive UX Design 11/16/19
Guidelines for Responsive UX Design 11/16/19Robert Stribley
 
Kill The Noise - Prioritizing Content for Strategic Nonprofit Websites
Kill The Noise - Prioritizing Content for Strategic Nonprofit WebsitesKill The Noise - Prioritizing Content for Strategic Nonprofit Websites
Kill The Noise - Prioritizing Content for Strategic Nonprofit Websitesguidecreative
 
Guidelines for Responsive UX Design 07/07/2018
Guidelines for Responsive UX Design 07/07/2018Guidelines for Responsive UX Design 07/07/2018
Guidelines for Responsive UX Design 07/07/2018Robert Stribley
 
Building Sexy User Interfaces in Servoy
Building Sexy User Interfaces in ServoyBuilding Sexy User Interfaces in Servoy
Building Sexy User Interfaces in ServoyThomas Immich
 
Guidelines for Responsive UX Design 11/15/2018
Guidelines for Responsive UX Design 11/15/2018Guidelines for Responsive UX Design 11/15/2018
Guidelines for Responsive UX Design 11/15/2018Robert Stribley
 
Mobile Apps MPI DFW Camp Wisdom
Mobile  Apps MPI DFW Camp WisdomMobile  Apps MPI DFW Camp Wisdom
Mobile Apps MPI DFW Camp WisdomJessica Levin
 
Why Do Mobile Projects Fail?
Why Do Mobile Projects Fail?Why Do Mobile Projects Fail?
Why Do Mobile Projects Fail?Indiginox
 
Building Cross Platform Mobile Apps
Building Cross Platform Mobile AppsBuilding Cross Platform Mobile Apps
Building Cross Platform Mobile AppsJonathan Stark
 
Boris Chan - FITC SCREENS - Becoming Social By Default on Mobile
Boris Chan - FITC SCREENS - Becoming Social By Default on MobileBoris Chan - FITC SCREENS - Becoming Social By Default on Mobile
Boris Chan - FITC SCREENS - Becoming Social By Default on MobileBoris Chan
 
Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...Dmitri Khanine
 
Introducing Responsive Web Design
Introducing Responsive Web DesignIntroducing Responsive Web Design
Introducing Responsive Web Designglvsav37
 
Show, Don't Tell! Using Video to Tell Your Story
Show, Don't Tell! Using Video to Tell Your StoryShow, Don't Tell! Using Video to Tell Your Story
Show, Don't Tell! Using Video to Tell Your StoryHall Internet Marketing
 
Goldmund, Wyldebeast & Wunderliebe - Responsive Webdesign Workshop
Goldmund, Wyldebeast & Wunderliebe - Responsive Webdesign WorkshopGoldmund, Wyldebeast & Wunderliebe - Responsive Webdesign Workshop
Goldmund, Wyldebeast & Wunderliebe - Responsive Webdesign WorkshopKim Chee Leong
 
Boulder Denver New Tech Meetup
Boulder Denver New Tech MeetupBoulder Denver New Tech Meetup
Boulder Denver New Tech MeetupDigital Idea Media
 
Leveraging Technology
Leveraging TechnologyLeveraging Technology
Leveraging TechnologyJessica Levin
 
Michael Slater Mobile Opportunity
Michael Slater Mobile OpportunityMichael Slater Mobile Opportunity
Michael Slater Mobile OpportunityNorthBayWeb
 
Smartphone icons - System for Improved Organization and Access - 11.15.2011
Smartphone icons - System for Improved Organization and Access - 11.15.2011Smartphone icons - System for Improved Organization and Access - 11.15.2011
Smartphone icons - System for Improved Organization and Access - 11.15.2011www.webhub.mobi by Yuvee, Inc.
 

La actualidad más candente (20)

Guide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFutureGuide Series Interactive Design_PastPresentAndFuture
Guide Series Interactive Design_PastPresentAndFuture
 
The Top Ten Elements Your Noprofit's Strategic Website Should Have
The Top Ten Elements Your Noprofit's Strategic Website Should HaveThe Top Ten Elements Your Noprofit's Strategic Website Should Have
The Top Ten Elements Your Noprofit's Strategic Website Should Have
 
Guidelines for Responsive UX Design 11/16/19
Guidelines for Responsive UX Design 11/16/19Guidelines for Responsive UX Design 11/16/19
Guidelines for Responsive UX Design 11/16/19
 
Kill The Noise - Prioritizing Content for Strategic Nonprofit Websites
Kill The Noise - Prioritizing Content for Strategic Nonprofit WebsitesKill The Noise - Prioritizing Content for Strategic Nonprofit Websites
Kill The Noise - Prioritizing Content for Strategic Nonprofit Websites
 
Guidelines for Responsive UX Design 07/07/2018
Guidelines for Responsive UX Design 07/07/2018Guidelines for Responsive UX Design 07/07/2018
Guidelines for Responsive UX Design 07/07/2018
 
Building Sexy User Interfaces in Servoy
Building Sexy User Interfaces in ServoyBuilding Sexy User Interfaces in Servoy
Building Sexy User Interfaces in Servoy
 
Guidelines for Responsive UX Design 11/15/2018
Guidelines for Responsive UX Design 11/15/2018Guidelines for Responsive UX Design 11/15/2018
Guidelines for Responsive UX Design 11/15/2018
 
Mobile Apps MPI DFW Camp Wisdom
Mobile  Apps MPI DFW Camp WisdomMobile  Apps MPI DFW Camp Wisdom
Mobile Apps MPI DFW Camp Wisdom
 
Responsive web - CC FE & UX
Responsive web -  CC FE & UXResponsive web -  CC FE & UX
Responsive web - CC FE & UX
 
Why Do Mobile Projects Fail?
Why Do Mobile Projects Fail?Why Do Mobile Projects Fail?
Why Do Mobile Projects Fail?
 
Building Cross Platform Mobile Apps
Building Cross Platform Mobile AppsBuilding Cross Platform Mobile Apps
Building Cross Platform Mobile Apps
 
Boris Chan - FITC SCREENS - Becoming Social By Default on Mobile
Boris Chan - FITC SCREENS - Becoming Social By Default on MobileBoris Chan - FITC SCREENS - Becoming Social By Default on Mobile
Boris Chan - FITC SCREENS - Becoming Social By Default on Mobile
 
Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...Responsive Design and Information Architecture with Oracle Web Center Content...
Responsive Design and Information Architecture with Oracle Web Center Content...
 
Introducing Responsive Web Design
Introducing Responsive Web DesignIntroducing Responsive Web Design
Introducing Responsive Web Design
 
Show, Don't Tell! Using Video to Tell Your Story
Show, Don't Tell! Using Video to Tell Your StoryShow, Don't Tell! Using Video to Tell Your Story
Show, Don't Tell! Using Video to Tell Your Story
 
Goldmund, Wyldebeast & Wunderliebe - Responsive Webdesign Workshop
Goldmund, Wyldebeast & Wunderliebe - Responsive Webdesign WorkshopGoldmund, Wyldebeast & Wunderliebe - Responsive Webdesign Workshop
Goldmund, Wyldebeast & Wunderliebe - Responsive Webdesign Workshop
 
Boulder Denver New Tech Meetup
Boulder Denver New Tech MeetupBoulder Denver New Tech Meetup
Boulder Denver New Tech Meetup
 
Leveraging Technology
Leveraging TechnologyLeveraging Technology
Leveraging Technology
 
Michael Slater Mobile Opportunity
Michael Slater Mobile OpportunityMichael Slater Mobile Opportunity
Michael Slater Mobile Opportunity
 
Smartphone icons - System for Improved Organization and Access - 11.15.2011
Smartphone icons - System for Improved Organization and Access - 11.15.2011Smartphone icons - System for Improved Organization and Access - 11.15.2011
Smartphone icons - System for Improved Organization and Access - 11.15.2011
 

Similar a Designing and Theming Drupal for Mobile Devices

Technologies: Expert in the Room Webinar: Optimizing your Website for Mobile
Technologies: Expert in the Room Webinar: Optimizing your Website for MobileTechnologies: Expert in the Room Webinar: Optimizing your Website for Mobile
Technologies: Expert in the Room Webinar: Optimizing your Website for MobileRandstad USA
 
Neil Perlin - We're Going Mobile! Great! Are We Ready?
Neil Perlin - We're Going Mobile! Great! Are We Ready?Neil Perlin - We're Going Mobile! Great! Are We Ready?
Neil Perlin - We're Going Mobile! Great! Are We Ready?LavaConConference
 
PSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOURPSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOURTerminalfour
 
NoVA UX Responsive Design
NoVA UX Responsive DesignNoVA UX Responsive Design
NoVA UX Responsive DesignUXMattFiore
 
Responsive Web Design - Why and How
Responsive Web Design - Why and HowResponsive Web Design - Why and How
Responsive Web Design - Why and HowJudi Wunderlich
 
Responsive Design And You
Responsive Design And YouResponsive Design And You
Responsive Design And YouJoe Hass
 
Responsive Web Design - Tom Robertshaw
Responsive Web Design - Tom RobertshawResponsive Web Design - Tom Robertshaw
Responsive Web Design - Tom RobertshawMeet Magento Spain
 
responsive awareness
responsive awarenessresponsive awareness
responsive awarenessonehundred_be
 
We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?STC-Philadelphia Metro Chapter
 
The XPages Mobile Controls: What's New in Notes 9.0.1
The XPages Mobile Controls: What's New in Notes 9.0.1The XPages Mobile Controls: What's New in Notes 9.0.1
The XPages Mobile Controls: What's New in Notes 9.0.1Teamstudio
 
Creating Large-Scale Responsive Websites
Creating Large-Scale Responsive WebsitesCreating Large-Scale Responsive Websites
Creating Large-Scale Responsive WebsitesKeith Doyle
 
Responsive Web Design Primer - NAGW 2014
Responsive Web Design Primer - NAGW 2014Responsive Web Design Primer - NAGW 2014
Responsive Web Design Primer - NAGW 2014Adrian Roselli
 
Getting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web DesignGetting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web Designmartinridgway
 
Effective course design
Effective course designEffective course design
Effective course designWCET
 
Responsive Design: Where, Why and How | Imagine 2013 Strategic Marketing
Responsive Design: Where, Why and How | Imagine 2013 Strategic MarketingResponsive Design: Where, Why and How | Imagine 2013 Strategic Marketing
Responsive Design: Where, Why and How | Imagine 2013 Strategic MarketingAtwix
 
Ready, Set, Go Mobile!
Ready, Set, Go Mobile!Ready, Set, Go Mobile!
Ready, Set, Go Mobile!Hall_
 
Get responsive in 30 minutes (WordCamp Sofia)
Get responsive in 30 minutes (WordCamp Sofia)Get responsive in 30 minutes (WordCamp Sofia)
Get responsive in 30 minutes (WordCamp Sofia)Nickolay Ninarski
 
Implementing Modernization by Trevor Perry
Implementing Modernization by Trevor PerryImplementing Modernization by Trevor Perry
Implementing Modernization by Trevor PerryFresche Solutions
 
Responsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparisonResponsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparisonDhrubaJyoti Dey
 

Similar a Designing and Theming Drupal for Mobile Devices (20)

Technologies: Expert in the Room Webinar: Optimizing your Website for Mobile
Technologies: Expert in the Room Webinar: Optimizing your Website for MobileTechnologies: Expert in the Room Webinar: Optimizing your Website for Mobile
Technologies: Expert in the Room Webinar: Optimizing your Website for Mobile
 
Neil Perlin - We're Going Mobile! Great! Are We Ready?
Neil Perlin - We're Going Mobile! Great! Are We Ready?Neil Perlin - We're Going Mobile! Great! Are We Ready?
Neil Perlin - We're Going Mobile! Great! Are We Ready?
 
PSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOURPSEWEB 2013 - Make it responsive - TERMINALFOUR
PSEWEB 2013 - Make it responsive - TERMINALFOUR
 
NoVA UX Responsive Design
NoVA UX Responsive DesignNoVA UX Responsive Design
NoVA UX Responsive Design
 
Responsive Web Design - Why and How
Responsive Web Design - Why and HowResponsive Web Design - Why and How
Responsive Web Design - Why and How
 
Mobile web development
Mobile web development Mobile web development
Mobile web development
 
Responsive Design And You
Responsive Design And YouResponsive Design And You
Responsive Design And You
 
Responsive Web Design - Tom Robertshaw
Responsive Web Design - Tom RobertshawResponsive Web Design - Tom Robertshaw
Responsive Web Design - Tom Robertshaw
 
responsive awareness
responsive awarenessresponsive awareness
responsive awareness
 
We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?
 
The XPages Mobile Controls: What's New in Notes 9.0.1
The XPages Mobile Controls: What's New in Notes 9.0.1The XPages Mobile Controls: What's New in Notes 9.0.1
The XPages Mobile Controls: What's New in Notes 9.0.1
 
Creating Large-Scale Responsive Websites
Creating Large-Scale Responsive WebsitesCreating Large-Scale Responsive Websites
Creating Large-Scale Responsive Websites
 
Responsive Web Design Primer - NAGW 2014
Responsive Web Design Primer - NAGW 2014Responsive Web Design Primer - NAGW 2014
Responsive Web Design Primer - NAGW 2014
 
Getting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web DesignGetting Down & Dirty with Responsive Web Design
Getting Down & Dirty with Responsive Web Design
 
Effective course design
Effective course designEffective course design
Effective course design
 
Responsive Design: Where, Why and How | Imagine 2013 Strategic Marketing
Responsive Design: Where, Why and How | Imagine 2013 Strategic MarketingResponsive Design: Where, Why and How | Imagine 2013 Strategic Marketing
Responsive Design: Where, Why and How | Imagine 2013 Strategic Marketing
 
Ready, Set, Go Mobile!
Ready, Set, Go Mobile!Ready, Set, Go Mobile!
Ready, Set, Go Mobile!
 
Get responsive in 30 minutes (WordCamp Sofia)
Get responsive in 30 minutes (WordCamp Sofia)Get responsive in 30 minutes (WordCamp Sofia)
Get responsive in 30 minutes (WordCamp Sofia)
 
Implementing Modernization by Trevor Perry
Implementing Modernization by Trevor PerryImplementing Modernization by Trevor Perry
Implementing Modernization by Trevor Perry
 
Responsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparisonResponsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparison
 

Último

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Designing and Theming Drupal for Mobile Devices

  • 1. Theming and Designing for Mobile Devices David Lanier http://twitter.com/nadavoid Blue Tent Marketing http://www.bluetentmarketing.com
  • 2. Introduction and Outline • About how to think about mobile design • About how to approach your theming tasks • A touch of implementation near the end
  • 3. How big of a deal is mobile stuff? • 418 Million mobile internet users in Europe (David Moore) • US Usage doubled in 2009 (David Moore) • How many of you use a smartphone or internet connected mobile device? (iPhone, Droid, BlackBerry)
  • 6. How big of a deal is it to YOU? • Look at stats for your current sites. • What percentage of your visitors are mobile? • How does that compare to last year? • What are the most common mobile devices to visit your site? • How do their traffic patterns compare?
  • 7. What should I think about? • The Visitor • Their needs and objectives • In and out, looking for something, quick results • Base this on the data you can gather from your visitors
  • 8. What should I think about? • The Technology • Slow transfer speeds • Often there are fees for data transfer • Small screens (100 x 80 to 480 x 320) • Fewer features (no flash, limited javascript, bookmarking, clicking vs tapping) • Again, base this on data you gather from your visitors
  • 9. What’s the big idea? • What is the one main goal of your site for you? • Sell a product? • Distribute information? • Get a contact or lead? • Establish an image? • Provide availability information? (rentals, flights) • And not just your mobile site. What’s the main point of your main site?
  • 10. Approaches • 1. Solid foundation of logical markup and other good practices • Or put it this way: a mobile friendly desktop theme • Allows for graceful degradation • Allows repurposing of content to happen more logically and easily • You can’t know ALL of the possible destination devices -- the fridge computer, and the talking computer in your car
  • 11. Approaches • 2. CSS that adjusts for smaller screens -- “media queries” • <link media=”screen and (max-device-width: 480px)” rel=”stylesheet” type=”text/css” href=”mobile.css” /> • http://www.alistapart.com/articles/responsive-web-design/ • Great for designs that are minimal to begin with
  • 12. Approaches • 3. Different theme, same content • The theme is altogether different • Content from the same site is displayed in this theme • Content is optimized for mobile delivery (smaller & fewer images, leaner HTML, minimal javascript and CSS)
  • 13. Approaches • 4. Completely separate site • Completely different content, only lightly related to the desktop site. • Separate theme. • Wouldn’t even have to be a Drupal site, necessarily. • Redirect mobile users to this other site by auto detection or by user choice.
  • 14. Approaches, the guiding principles • Reduce markup • Reduce content • Optimize for the mobile user
  • 15. How to think • Think in terms of “panes” rather than “pages” • Focus on single column layouts, rather than multiple columns. • What do I want to keep? (rather than: What do I want to eliminate) • What is the one most important user action?
  • 16. A little experiment • Which sites have mobile versions available? • For the ones that do, notice what they chose to keep. • Notice the design elements.
  • 17. Better Homes and Gardens?
  • 18. Better Homes and Gardens?
  • 33. Design Issues • Forms: minimal & simple (limited screen space) • Links, anything clickable, make a large clickable area • Scrolling in only one direction. Scrolling a long pane is OK, but if you have to scroll left and right too? Not so good.
  • 34. Implementation Issues • Device detection -- Is it mobile? How big is the screen? Is it a touch device? • Site selection and redirection – m.example.com, example.mobi, example.com/m • Content selection and optimization
  • 35. A Splash of Implementation • SonnenalpRealEstate.com (a development copy) • New theme: .mobi • Conditionally switch theme: mobile_tools • Custom home page – panels variant with php snippet – hook_boot() in a custom module • New top menu
  • 37. PHP Snippet • Using the mobile_tools module • In a Panels Selection Rule if (module_exists('mobile_tools')) $device = mobile_tools_is_mobile_device(); } else { return FALSE; } if ($device['type'] == 'mobile' && $device['group'] != 'ipad') { return TRUE; } else { return FALSE; } • In a Custom Module function MYMODULE_boot() { if (module_exists('mobile_tools')) { $device = _mobile_tools_is_mobile_device(); if ($device['type'] == 'mobile') { global $conf; $conf['site_frontpage'] = 'mobile_frontpage'; } } }
  • 38. Takeaways • Much of this work has more to do with architecture and planning and usability than about visual aesthetics. • There are some good implementation techniques for Drupal, but there is no complete and ready to go solution. Your developer must assemble elements that meet the mobile needs of your site and visitors.
  • 39. Drupal Modules • mobile_tools • mobile_redirects -- a module that Bob Christenson is working on, only at github currently. • idrupal -- for managing a drupal site by iphone ( + idrupal_ui theme) • wurfl -- for device detection • browscap -- for device detection • mobile_theme -- simply switches theme when it detects a mobile device • mobileplugin -- device detection, redirection, automatic content optimization
  • 40. Drupal Modules (more to look at) • context • section • rules • domain • subdomain • spaces • ds (display suite) plus views or panels to override default node display
  • 41. Drupal Themes • .mobi -- very lean • mobile -- very lean • nokia_mobile -- looks nice right away • iui -- provides an iPhone-like interface • iwebkit • mobilewebkit -- only at hedindesign.com
  • 42. Design, testing, and development resources • iphonetester.com • User Agent Switcher -- addons.mozilla.org/en-US/firefox/ addon/59/ • jqtouch.com • iphone stencils -- mortenjust.com/2010/05/02/iphone- wireframe-stencils-for-google-docs/ • Mobile Design and Development, O’Reilly, Brian Fling • noupe.com/how-tos/mobile-web-design-tips-and-best- practices.html • mobiledrupal.com/content/overview-mobile-modules-drupal
  • 43. Bonus Resources • Slides from David Moore’s mobile presentation -- http:// crookednumber.com/sites/crookednumber.com/files/ mobile101.pdf (more details on implementation) • mobiforge.com -- discussions and resources on all things mobile. (and their site is in Drupal) • Mobile Analytics – google.com/analytics – code.google.com/mobile/analytics/docs/web/ • handsetdetection.com -- “Mobile Website Redirection | Mobile Analytics | Handset Detection” • delicious.com/nadavoid/mobile
  • 44. Theming and Designing for Mobile Devices David Lanier http://twitter.com/nadavoid Blue Tent Marketing http://www.bluetentmarketing.com