SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Andere mochten auch

FutureCasting at Confratute 2015
FutureCasting at Confratute 2015FutureCasting at Confratute 2015
FutureCasting at Confratute 2015Angela Housand
 
Sd pragathi template tolling
Sd pragathi template   tollingSd pragathi template   tolling
Sd pragathi template tollingMohammed Azhad
 
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-3Thecreating Experts
 
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ñosBiblioteca Virtual Scout
 
Ch08 Sampling
Ch08 SamplingCh08 Sampling
Ch08 Samplingyxl007
 
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...Agile Testing Alliance
 
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 Datayxl007
 
Integrated sales pipeline management
Integrated sales pipeline managementIntegrated sales pipeline management
Integrated sales pipeline managementNamkee Chung
 
Analytical Thinking Training
Analytical Thinking TrainingAnalytical Thinking Training
Analytical Thinking TrainingM Furqan Aslam
 
Curiosity Mississippi 2016
Curiosity Mississippi 2016Curiosity Mississippi 2016
Curiosity Mississippi 2016Brian Housand
 
2016 Choose Your Own Adventure
2016 Choose Your Own Adventure2016 Choose Your Own Adventure
2016 Choose Your Own AdventureBrian Housand
 
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 CorbijnSam Hopkins
 
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 IntegrityParasoft
 

Andere mochten auch (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
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
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 WoodJuan lago vázquez
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
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
 
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...apidays
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
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 connectorsNanddeep Nachan
 
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
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
"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
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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
 
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...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
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
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
"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
 

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

Hinweis der Redaktion

  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