SlideShare uma empresa Scribd logo
1 de 43
The Future is Mobile
WordCamp Montréal 2011

July 10, 2011
Shannon Smith
CEO of Café Noir Design




w: www.cafenoirdesign.com
e: info@cafenoirdesign.com
t: @cafenoirdesign
Why Design for Mobile?
Cell Phone Use
Mobile Browsing


✤   5% of all Web browsing from smartphones and tablets.

✤   In the U.S. 8.2% of all browsing takes place on mobile devices.

✤   2.9% of U.S. Web browsing comes on the iPhone, 2.6% on Android
    devices, and 2.1% on the iPad with BlackBerry next at 0.57%.

✤   (Net Application)
Share of Canadian Non-Computer
 Device Traffic - May 2011
                                                             iPad
                                     iPod Touch              Android Tablet
                                        15%                  Other tablet
                                                      iPad
                                                      34%    iPhone
                                                             Android Phone
                          Android Phone
                               8%                            Other Smart Phone
                                                             Feature Phone
                                                             iPod Touch
                                             iPhone          Other
                                               35%




Source: comScore Device Essentials
http://bit.ly/mJVyy5
Easy Solutions
Online Services for Any Site



✤   Vis RSS feed: MoFuse and
    Mippin Mobilizer,
    WireNode, Mobify,
    dotMobi

✤   Google Mobile Optimizer
Mobile Landing Page




✤   http://buildinternet.com/2011/01/add-a-mobile-
    landing-page-to-your-site/
WordPress Solutions

✤   Mobile-Ready Themes (Mobius, iPhonista)

✤   Mobile Frameworks (Obox, JQTouch)

✤   Free Plugins (MobilePress, WPTouch, WordPress Mobile Edition,
    WPTap, WordPress Mobile Pack, BuddyPress Mobile)

✤   Premium Plugins (WPTouch Pro)

✤   Plugins for online services

✤   Tools for Admins (WordPress for iPhone, Blackberry, and Android, and
    WPhone)
WPTouch
Custom Mobile Site
Planning & Testing
What are we designing for?


✤   OS

✤   Browser

✤   Screen resolution

✤   Screen aspect ratio

✤   Special capabilities
Design for iOS



✤   iPhone (landscape and portrait)

✤   iPad (portrait)
Other OSs?


✤   Android: which one?

✤   Blackberry: market share? OS?

✤   Windows: market share?

✤   OS, resolution, screen dimensions
How are we serving this?


✤   Server-side methods & the UA string

✤   Client-side methods & media queries

✤   Measuring screen size with javascript
    http://css-tricks.com/snippets/javascript/redirect-mobile-devices/


✤   PHP function to detect mobile user agents & browsers
    http://detectmobilebrowsers.mobi/
Serving with WordPress


✤   Theme Switch plugin
    http://digwp.com/2009/12/redirect-
    mobile-users-to-mobile-theme/


✤   Built in conditional tags
<?php
if
(
$is_iphone
)
{?>





<?php
include(
TEMPLATEPATH
.
'/mobile/
single.php'
);
?>
<?php
}
else
{
?>





//
entire
contents
of
your
regular
single.php

template
<?php
}
?>
What needs to change

✤   Dimensions

✤   Bandwidth

✤   Font-size

✤   Features

✤   Floated elements

✤   Mouseover states

✤   Flash
Tools


✤   Browser testing tools

✤   Emulators iOS SDK, Android SDK, Online Opera Mini Emulator

✤   Screen Capture Tools (iPhone-Simulator Cropper)

✤   Validators (W3C mobileOK Checker)
Images for Mobile
Icons


✤   iPhone icon (rel="apple-touch-icon")

✤   Opera browser icon (rel="icon")

✤   114x114 pixels

✤   Precomposed icons
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="apple-touch-icon-precomposed" href="/apple-touch-icon.png" />
Images


✤   Double image dimensions, then resize

✤   Individual component caching: iOS 3.x will only cache HTML pages
    under 25k , iOS 4 102.4 kb per item

✤   Total component caching: Android and iOS 4 set limit at 2MB

✤   gzip has no effect on cache-ability on any device
✤   http://www.yuiblog.com/blog/2010/06/28/mobile-browser-cache-limits/
HTML for Mobile
Targeting Viewport Dimensions &
   Orientation



   ✤   Hardboiled CSS3
       Media Queries
       (Andy Clarke)




http://www.stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries
HTML Head



✤   Icon links

✤   Viewport meta tag or 980
    pixels?
Accessibility

✤   Pinch to zoom: body {-webkit-
    text-size-adjust:100%;}

✤   Disable user zoom: Accessibility
    and maximum-scale=1.0

✤   “auto-zoom when changing
    orientation” feature
✤   http://mattgemmell.com/2010/12/19/accessibility-for-
    iphone-and-ipad-apps


✤   http://www.456bereastreet.com/archive/201012/
    controlling_text_size_in_safari_for_ios_without_disablin
    g_user_zoom/
CSS for Mobile
CSS Reset
Fancy fonts


✤   SVG and fancy fonts
    http://www.fontsquirrel.com/


✤   Other font-face generator tools

✤   Licensing

✤   Google font API

✤   MIME type for SVG to "image/
    svg+xml" in the server settings
Bulletproof font-face syntax




http://www.fontspring.com/blog/further-hardening-
of-the-bulletproof-syntax by Ethan Dunham
Fluid Layout


✤   Width 100%

✤   Float none

✤   Stack elements

✤   Remove elements
Interactive Mobile
Fluid YouTube Videos




✤   http://css-tricks.com/7066-fluid-width-
    youtube-videos/
Trouble with Javascripts




✤   Fluid width and
    missing tags
Content for Mobile
Hide Content
✤   Why hide content?

✤   What to hide?

✤   “no-mobile” and “mobile-
    only” tags

✤   “display: none;” is bad for
    SEO

✤   Another way to hide content

✤   Skip to content links
Add Content

✤   Clickable Phone Numbers with
    class="phone-link"

✤   Special Input Types with HTML5

     type="tel"
         ✤




     type="email"
     type="url"
     type="number"
     type="range"
     type="search"
     type="date"
Alternative Strategies



✤   Mobile First

✤   Mobile Boilerplate

✤   Completely fluid design
Additional Reading




✤   WordPress Mobile Tutorials
    http://speckyboy.com/2011/03/17/mobile-toollbox-for-wordpress-tutorials-plugins-and-themes/
Shannon Smith
CEO of Café Noir Design


http://slideshare.net/cafenoirdesign


w: www.cafenoirdesign.com
e: info@cafenoirdesign.com
t: @cafenoirdesign
Thank You

Mais conteúdo relacionado

Destaque

Case Study of a Music Video Director - Anton Corbijn
Case Study of a Music Video Director - Anton CorbijnCase Study of a Music Video Director - Anton Corbijn
Case Study of a Music Video Director - Anton Corbijn
Sam Hopkins
 

Destaque (15)

FutureCasting at Confratute 2015
FutureCasting at Confratute 2015FutureCasting at Confratute 2015
FutureCasting at Confratute 2015
 
Sd pragathi template tolling
Sd pragathi template   tollingSd pragathi template   tolling
Sd pragathi template tolling
 
Personal Skills Strengths
Personal Skills StrengthsPersonal Skills Strengths
Personal Skills Strengths
 
SAP SD Training in Chennai Demo Part-3
SAP SD Training in Chennai Demo Part-3SAP SD Training in Chennai Demo Part-3
SAP SD Training in Chennai Demo Part-3
 
Actividades Scouts para niños/as de 7 a 11 años
Actividades Scouts para niños/as de 7 a 11 añosActividades Scouts para niños/as de 7 a 11 años
Actividades Scouts para niños/as de 7 a 11 años
 
Ch08 Sampling
Ch08 SamplingCh08 Sampling
Ch08 Sampling
 
Atagg2015 iot internet of things - get ready to test the connected future ata...
Atagg2015 iot internet of things - get ready to test the connected future ata...Atagg2015 iot internet of things - get ready to test the connected future ata...
Atagg2015 iot internet of things - get ready to test the connected future ata...
 
Ch11 Agency Records, Content Analysis, and Secondary Data
Ch11 Agency Records, Content Analysis, and Secondary DataCh11 Agency Records, Content Analysis, and Secondary Data
Ch11 Agency Records, Content Analysis, and Secondary Data
 
Integrated sales pipeline management
Integrated sales pipeline managementIntegrated sales pipeline management
Integrated sales pipeline management
 
Analytical Thinking Training
Analytical Thinking TrainingAnalytical Thinking Training
Analytical Thinking Training
 
El tutor en Educación Infantil
El tutor en Educación InfantilEl tutor en Educación Infantil
El tutor en Educación Infantil
 
Curiosity Mississippi 2016
Curiosity Mississippi 2016Curiosity Mississippi 2016
Curiosity Mississippi 2016
 
2016 Choose Your Own Adventure
2016 Choose Your Own Adventure2016 Choose Your Own Adventure
2016 Choose Your Own Adventure
 
Case Study of a Music Video Director - Anton Corbijn
Case Study of a Music Video Director - Anton CorbijnCase Study of a Music Video Director - Anton Corbijn
Case Study of a Music Video Director - Anton Corbijn
 
End-to-end Testing for IoT Integrity
End-to-end Testing for IoT IntegrityEnd-to-end Testing for IoT Integrity
End-to-end Testing for IoT Integrity
 

Último

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
"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 ...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
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...
 
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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

The future is mobile | WordCamp Montreal 2011

  • 1. The Future is Mobile WordCamp Montréal 2011 July 10, 2011
  • 2. Shannon Smith CEO of Café Noir Design w: www.cafenoirdesign.com e: info@cafenoirdesign.com t: @cafenoirdesign
  • 3. Why Design for Mobile?
  • 5. Mobile Browsing ✤ 5% of all Web browsing from smartphones and tablets. ✤ In the U.S. 8.2% of all browsing takes place on mobile devices. ✤ 2.9% of U.S. Web browsing comes on the iPhone, 2.6% on Android devices, and 2.1% on the iPad with BlackBerry next at 0.57%. ✤ (Net Application)
  • 6. Share of Canadian Non-Computer Device Traffic - May 2011 iPad iPod Touch Android Tablet 15% Other tablet iPad 34% iPhone Android Phone Android Phone 8% Other Smart Phone Feature Phone iPod Touch iPhone Other 35% Source: comScore Device Essentials http://bit.ly/mJVyy5
  • 8. Online Services for Any Site ✤ Vis RSS feed: MoFuse and Mippin Mobilizer, WireNode, Mobify, dotMobi ✤ Google Mobile Optimizer
  • 9. Mobile Landing Page ✤ http://buildinternet.com/2011/01/add-a-mobile- landing-page-to-your-site/
  • 10. WordPress Solutions ✤ Mobile-Ready Themes (Mobius, iPhonista) ✤ Mobile Frameworks (Obox, JQTouch) ✤ Free Plugins (MobilePress, WPTouch, WordPress Mobile Edition, WPTap, WordPress Mobile Pack, BuddyPress Mobile) ✤ Premium Plugins (WPTouch Pro) ✤ Plugins for online services ✤ Tools for Admins (WordPress for iPhone, Blackberry, and Android, and WPhone)
  • 14. What are we designing for? ✤ OS ✤ Browser ✤ Screen resolution ✤ Screen aspect ratio ✤ Special capabilities
  • 15. Design for iOS ✤ iPhone (landscape and portrait) ✤ iPad (portrait)
  • 16. Other OSs? ✤ Android: which one? ✤ Blackberry: market share? OS? ✤ Windows: market share? ✤ OS, resolution, screen dimensions
  • 17. How are we serving this? ✤ Server-side methods & the UA string ✤ Client-side methods & media queries ✤ Measuring screen size with javascript http://css-tricks.com/snippets/javascript/redirect-mobile-devices/ ✤ PHP function to detect mobile user agents & browsers http://detectmobilebrowsers.mobi/
  • 18. Serving with WordPress ✤ Theme Switch plugin http://digwp.com/2009/12/redirect- mobile-users-to-mobile-theme/ ✤ Built in conditional tags <?php
if
(
$is_iphone
)
{?> 




<?php
include(
TEMPLATEPATH
.
'/mobile/ single.php'
);
?> <?php
}
else
{
?> 




//
entire
contents
of
your
regular
single.php
 template <?php
}
?>
  • 19. What needs to change ✤ Dimensions ✤ Bandwidth ✤ Font-size ✤ Features ✤ Floated elements ✤ Mouseover states ✤ Flash
  • 20. Tools ✤ Browser testing tools ✤ Emulators iOS SDK, Android SDK, Online Opera Mini Emulator ✤ Screen Capture Tools (iPhone-Simulator Cropper) ✤ Validators (W3C mobileOK Checker)
  • 22. Icons ✤ iPhone icon (rel="apple-touch-icon") ✤ Opera browser icon (rel="icon") ✤ 114x114 pixels ✤ Precomposed icons
  • 23. <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon-precomposed" href="/apple-touch-icon.png" />
  • 24. Images ✤ Double image dimensions, then resize ✤ Individual component caching: iOS 3.x will only cache HTML pages under 25k , iOS 4 102.4 kb per item ✤ Total component caching: Android and iOS 4 set limit at 2MB ✤ gzip has no effect on cache-ability on any device ✤ http://www.yuiblog.com/blog/2010/06/28/mobile-browser-cache-limits/
  • 26. Targeting Viewport Dimensions & Orientation ✤ Hardboiled CSS3 Media Queries (Andy Clarke) http://www.stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries
  • 27. HTML Head ✤ Icon links ✤ Viewport meta tag or 980 pixels?
  • 28. Accessibility ✤ Pinch to zoom: body {-webkit- text-size-adjust:100%;} ✤ Disable user zoom: Accessibility and maximum-scale=1.0 ✤ “auto-zoom when changing orientation” feature ✤ http://mattgemmell.com/2010/12/19/accessibility-for- iphone-and-ipad-apps ✤ http://www.456bereastreet.com/archive/201012/ controlling_text_size_in_safari_for_ios_without_disablin g_user_zoom/
  • 31. Fancy fonts ✤ SVG and fancy fonts http://www.fontsquirrel.com/ ✤ Other font-face generator tools ✤ Licensing ✤ Google font API ✤ MIME type for SVG to "image/ svg+xml" in the server settings
  • 33. Fluid Layout ✤ Width 100% ✤ Float none ✤ Stack elements ✤ Remove elements
  • 35. Fluid YouTube Videos ✤ http://css-tricks.com/7066-fluid-width- youtube-videos/
  • 36. Trouble with Javascripts ✤ Fluid width and missing tags
  • 38. Hide Content ✤ Why hide content? ✤ What to hide? ✤ “no-mobile” and “mobile- only” tags ✤ “display: none;” is bad for SEO ✤ Another way to hide content ✤ Skip to content links
  • 39. Add Content ✤ Clickable Phone Numbers with class="phone-link" ✤ Special Input Types with HTML5 type="tel" ✤ type="email" type="url" type="number" type="range" type="search" type="date"
  • 40. Alternative Strategies ✤ Mobile First ✤ Mobile Boilerplate ✤ Completely fluid design
  • 41. Additional Reading ✤ WordPress Mobile Tutorials http://speckyboy.com/2011/03/17/mobile-toollbox-for-wordpress-tutorials-plugins-and-themes/
  • 42. Shannon Smith CEO of Café Noir Design http://slideshare.net/cafenoirdesign w: www.cafenoirdesign.com e: info@cafenoirdesign.com t: @cafenoirdesign

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. http://www.instantshift.com/2011/01/07/22-high-quality-mobile-friendly-wordpress-themes/\nhttp://www.sitepoint.com/10-attractive-mobile-wordpress-themes/\nhttp://speckyboy.com/2011/03/17/mobile-toollbox-for-wordpress-tutorials-plugins-and-themes/\n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. the is_iphone conditional seems to only return true for iPhone and Android users. Palm and BlackBerry users appear to be left in the dark. \n
  19. Links to fb and twitter\n
  20. http://www.opera.com/mobile/demo/\n
  21. \n
  22. \n
  23. \n
  24. The component cache, or object cache, stores individual files. HTML, CSS, JavaScript, and images all go into the component cache. Whenever it needs one of these components, the browser first checks the cache before making a network request.\nThe page cache, also known as the back/forward cache, stores an entire page and all of its components, as well as their current state. When you use the back or forward button, the browser will load the page from the page cache if possible.\n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. Hide social\nHide sidebars\n\n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n