SlideShare ist ein Scribd-Unternehmen logo
1 von 74
POST-PC
Website Development in a Mobile, Touch-Based World

                 Jared White
             Creative Director, Siteshine
WHY THIS MATTERS
WHY THIS MATTERS
iPhone
WHY THIS MATTERS
       iPhone

110m
WHY THIS MATTERS
       iPhone

110m
         3%
       Browser
        Usage
WHY THIS MATTERS
       iPhone    iPad

110m
         3%
       Browser
        Usage
WHY THIS MATTERS
       iPhone          iPad

110m
         3%
       Browser
        Usage

                 25m
WHY THIS MATTERS
       iPhone          iPad

110m
         3%              2%
       Browser         Browser
        Usage           Usage

                 25m
WHY THIS MATTERS
       iPhone          iPad      Android

110m
         3%              2%
       Browser         Browser
        Usage           Usage

                 25m
WHY THIS MATTERS
       iPhone          iPad         Android
                                 120m
110m
         3%              2%
       Browser         Browser
        Usage           Usage

                 25m
WHY THIS MATTERS
       iPhone          iPad         Android
                                 120m
110m
         3%              2%               3%
       Browser         Browser          Browser
        Usage           Usage            Usage

                 25m
PUT IN PERSPECTIVE...
  iPhone     iPad   Android


<2007      <2010    <2008
PUT IN PERSPECTIVE...
    iPhone     iPad   Android


<2007        <2010    <2008




0
PUT IN PERSPECTIVE...
    iPhone       iPad   Android


<2007        <2010      <2008




0            0
PUT IN PERSPECTIVE...
    iPhone       iPad       Android


<2007        <2010          <2008




0            0          0
2000

 FACT: Global mobile data traffic in 2010 was
three times the size of all global Internet traffic
     (fixed and mobile) in the year 2000
                     Source: Cisco
2000 2010

 FACT: Global mobile data traffic in 2010 was
three times the size of all global Internet traffic
     (fixed and mobile) in the year 2000
                     Source: Cisco
ADD IT ALL TOGETHER...
2011
  1 in 10 users are using a
mobile device to browse the web
2011
  1 in 10 users are using a
mobile device to browse the web
A LITTLE ABOUT ME...
WHO IS THIS GUY?
         • I've
             been in the computer/
          web field for 14 years
         • Self-taught   graphics designer
         • LearnedHTML & CSS in
          the bad old browser wars

WANTED    days
         • PHP and I go way back, but
          I'm a Rails kid now
WHO IS THIS GUY?

         • Founded     Siteshine in 2009
         •I   bill myself as a
          “Creative Director”
          which is a fancy word for
          Jack-of-all-Trades
WANTED   •Ifollow 37signals’ Get Real
          approach whenever I can
Think Different.
Mobile
     !=
  Traditional


Think Different.
TRADITIONAL
You're Sitting. You're Using a Mouse/Trackpad.
You Have Resizable Windows. It's Anti-Social.
MOBILE
You're on the Go. You're Using Your Fingers.
 You Have a Fixed Screen. It's More Social.
MOBILE
You're on the Go. You're Using Your Fingers.
 You Have a Fixed Screen. It's More Social.
WHAT'S THIS MEAN FOR
  WEB DEVELOPERS?
       • Yourhave you rework your
        content for mobile use cases.
       • Youhave to intercept Javascript
        touch events rather than clicks.
       • You have to design for fixed
        screen sizes while accounting
        for device orientation.
TRADITIONAL CONTENT
MOBILE CONTENT
Don't forget about forms!




 MOBILE CONTENT
Don't forget about forms!




 MOBILE CONTENT
Don't forget about forms!




 MOBILE CONTENT
TRADITIONAL: HOVER/CLICK
TRADITIONAL: HOVER/CLICK
MOBILE: GESTURE
MOBILE: GESTURE
TRADITIONAL: FIXED-WIDTH
MOBILE: PORTRAIT/LANDSCAPE
ASIDE...
USA Today website SUCKS
 compared to iPad app!
ATTENTION WEB DESIGNERS:
 iOS App Developers may eat your lunch.
HEY, WHICH SIDE AM I ON?

  I've seen great mobile sites and lousy apps.
                And visa-versa.

        I'm on the side of great design.

If you can design a mobile site as cool as an app,
              GO FOR IT.
4         AREAS TO FOCUS ON
• JS   Events: Stop using onmouse* events and start using
               ontouch* and ongesture* events.

• Orientation: Use   CSS and Javascript to detect changes
                 from portrait to landscape and back again.

• Viewport: Lock    in 100% zoom. Hide the chrome.

• HTML5: Your    ticket to the outside (hardware) world.
1st         AREA TO FOCUS ON
• JS   Events: Stop using onmouse* events and start using
               ontouch* and ongesture* events.

   ontouchstart                  ongesturestart
   ontouchmove                   ongesturechange
   ontouchend                    ongestureend
1st         AREA TO FOCUS ON
• JS   Events: Stop using onmouse* events and start using
               ontouch* and ongesture* events.




                         Example
1st         AREA TO FOCUS ON
• JS   Events: Stop using onmouse* events and start using
               ontouch* and ongesture* events.


                                ontouchstart
                                 ontouchend




                          ontouchmove


                         Example
1st         AREA TO FOCUS ON
• JS   Events: Stop using onmouse* events and start using
               ontouch* and ongesture* events.


                  Remember!
Some platforms like iOS exhibit a delay for onclick.
 For best user experience, ditch the onclicks and
          intercept ontouchend instead.
2nd AREA TO FOCUS ON
• Orientation: Use         CSS and Javascript to detect changes
                       from portrait to landscape and back again.

       CSS - iPhone                                 Javascript
  /* Portrait */
  @media screen and (max-width: 320px)   onorientationchange
  {
     .panel { width: 300px; }            var ori = window.orientation;
  }
  	                                      if (ori == 0 || ori == 180) {
  /* Landscape */                           // Portrait
  @media screen and (min-width: 321px)   }
  {                                      else if (ori == 90 || ori == -90) {
    .panel { width: 460px; }                // Landscape	 	
  }                                      }


Also (orientation: portrait/landscape)
3rd       AREA TO FOCUS ON
• Viewport: Lock   in 100% zoom. Hide the chrome.
                            HTML
     <meta name="viewport" content="width=device-width,
     initial-scale=1.0, maximum-scale=1.0, user-scalable=no">


                        Javascript
         window.addEventListener("load", function() {
           setTimeout(function(){
              // Hide the address bar!
              window.scrollTo(0, 1);
           }, 0);
         });
4th     AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.
4th     AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.
4th      AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.



      Semantics       Offline & Storage      Device Access




     Connectivity        Multimedia         3D Graphics & FX


                                                    ?
    Performance &
                            CSS3          And it's still evolving!
      Integration
4th     AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.

    Device Access
4th     AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.

    Device Access


                        Geolocation
           function start_geolocation() {  
               navigator.geolocation.getCurrentPosition(geo_handler);  
           }
              
           function geo_handler(position) {
               var latitude = position.coords.latitude;
               var longitude = position.coords.longitude;
               // Do something cool 
           }
4th      AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.

    Device Access


                      Accelerometer
         window.ondevicemotion = function(e) {  
             var accelerationX = event.accelerationIncludingGravity.x;  
             var accelerationY = event.accelerationIncludingGravity.y;  
             var accelerationZ = event.accelerationIncludingGravity.z;  
         }
4th     AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.

    Device Access


            Camera: Still & Video
4th     AREA TO FOCUS ON
• HTML5: Your   ticket to the outside (hardware) world.

    Device Access


            Camera: Still & Video



                  C omi ng So on!
AND DON'T FORGET
THE MOST IMPORTANT
      THING...
NO FLASH!
 Really. Just kill it now.
-webkit -transform
                           <video
                                  >

 <au dio>
                            <ca
            ry                  nv
       jQue                        as>


    JAVASCRIPT, CANVAS, SVG, CSS3,
       HTML5 VIDEO, AND H.264
            ARE YOUR FRIENDS
-webkit -transform
                           <video
                                  >

 <au dio>
                            <ca
            ry                  nv
       jQue                        as>


    JAVASCRIPT, CANVAS, SVG, CSS3,
       HTML5 VIDEO, AND H.264
            ARE YOUR FRIENDS
WHAT ABOUT
FRAMEWORKS?
SPEED UP THE PROCESS
•   jQuery – you should be using this anyway!

•   jQuery Mobile – new layer built on top of jQuery

• jQTouch    – a similar alternative also based on jQuery

• TouchSwipe    – a lightweight, awesome jQuery plugin

• Sencha Touch   – heavy-duty webapp framework

• M-Project, Rhomobile, etc.   – choose your flavor
SPEED UP THE PROCESS
•   What about popular CMS platforms?

•   WP Touch – oft-used theme for WordPress

•   OnSwipe – iPad-optimized theme for WordPress

•   Mobile Joomla! – extensions for Joomla!

• iUI, Others   – themes for Drupal
JQUERY MOBILE
JQUERY MOBILE
JQUERY MOBILE
JQUERY MOBILE
JQUERY MOBILE
<!DOCTYPE html>
<html>

    <head>

    <title>Page Title</title>

    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />

    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script>

    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0b1/
jquery.mobile-1.0b1.min.js"></script>
</head>
<body>

<div   data-role="page">

      <div data-role="header">

      
    <h1>Page Title</h1>

      </div><!-- /header -->


      <div data-role="content">

      
    <p>Page content goes here.</p>
 

      </div><!-- /content -->


    <div data-role="footer">

    
    <h4>Page Footer</h4>

    </div><!-- /footer -->
</div><!-- /page -->

</body>
</html>
JQUERY MOBILE
MY PREDICTION
  I could be wrong, but...
2020
  25%-50% of your site visitors
will be using Post-PC mobile devices
NOW GO MAKE SOME
   COOL STUFF
      Questions?

    jared@siteshine.com

    @WebDevJared

     Thank you.

Weitere ähnliche Inhalte

Kürzlich hochgeladen

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
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 Scriptwesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
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)wesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
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
 
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
 

Kürzlich hochgeladen (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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...
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
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
 
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...
 

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Post PC - Website Development in a Mobile, Touch-based World

  • 1. POST-PC Website Development in a Mobile, Touch-Based World Jared White Creative Director, Siteshine
  • 4. WHY THIS MATTERS iPhone 110m
  • 5. WHY THIS MATTERS iPhone 110m 3% Browser Usage
  • 6. WHY THIS MATTERS iPhone iPad 110m 3% Browser Usage
  • 7. WHY THIS MATTERS iPhone iPad 110m 3% Browser Usage 25m
  • 8. WHY THIS MATTERS iPhone iPad 110m 3% 2% Browser Browser Usage Usage 25m
  • 9. WHY THIS MATTERS iPhone iPad Android 110m 3% 2% Browser Browser Usage Usage 25m
  • 10. WHY THIS MATTERS iPhone iPad Android 120m 110m 3% 2% Browser Browser Usage Usage 25m
  • 11. WHY THIS MATTERS iPhone iPad Android 120m 110m 3% 2% 3% Browser Browser Browser Usage Usage Usage 25m
  • 12. PUT IN PERSPECTIVE... iPhone iPad Android <2007 <2010 <2008
  • 13. PUT IN PERSPECTIVE... iPhone iPad Android <2007 <2010 <2008 0
  • 14. PUT IN PERSPECTIVE... iPhone iPad Android <2007 <2010 <2008 0 0
  • 15. PUT IN PERSPECTIVE... iPhone iPad Android <2007 <2010 <2008 0 0 0
  • 16. 2000 FACT: Global mobile data traffic in 2010 was three times the size of all global Internet traffic (fixed and mobile) in the year 2000 Source: Cisco
  • 17. 2000 2010 FACT: Global mobile data traffic in 2010 was three times the size of all global Internet traffic (fixed and mobile) in the year 2000 Source: Cisco
  • 18. ADD IT ALL TOGETHER...
  • 19. 2011 1 in 10 users are using a mobile device to browse the web
  • 20. 2011 1 in 10 users are using a mobile device to browse the web
  • 21. A LITTLE ABOUT ME...
  • 22. WHO IS THIS GUY? • I've been in the computer/ web field for 14 years • Self-taught graphics designer • LearnedHTML & CSS in the bad old browser wars WANTED days • PHP and I go way back, but I'm a Rails kid now
  • 23. WHO IS THIS GUY? • Founded Siteshine in 2009 •I bill myself as a “Creative Director” which is a fancy word for Jack-of-all-Trades WANTED •Ifollow 37signals’ Get Real approach whenever I can
  • 25. Mobile != Traditional Think Different.
  • 26. TRADITIONAL You're Sitting. You're Using a Mouse/Trackpad. You Have Resizable Windows. It's Anti-Social.
  • 27. MOBILE You're on the Go. You're Using Your Fingers. You Have a Fixed Screen. It's More Social.
  • 28. MOBILE You're on the Go. You're Using Your Fingers. You Have a Fixed Screen. It's More Social.
  • 29. WHAT'S THIS MEAN FOR WEB DEVELOPERS? • Yourhave you rework your content for mobile use cases. • Youhave to intercept Javascript touch events rather than clicks. • You have to design for fixed screen sizes while accounting for device orientation.
  • 32. Don't forget about forms! MOBILE CONTENT
  • 33. Don't forget about forms! MOBILE CONTENT
  • 34. Don't forget about forms! MOBILE CONTENT
  • 41. ASIDE... USA Today website SUCKS compared to iPad app!
  • 42. ATTENTION WEB DESIGNERS: iOS App Developers may eat your lunch.
  • 43. HEY, WHICH SIDE AM I ON? I've seen great mobile sites and lousy apps. And visa-versa. I'm on the side of great design. If you can design a mobile site as cool as an app, GO FOR IT.
  • 44. 4 AREAS TO FOCUS ON • JS Events: Stop using onmouse* events and start using ontouch* and ongesture* events. • Orientation: Use CSS and Javascript to detect changes from portrait to landscape and back again. • Viewport: Lock in 100% zoom. Hide the chrome. • HTML5: Your ticket to the outside (hardware) world.
  • 45. 1st AREA TO FOCUS ON • JS Events: Stop using onmouse* events and start using ontouch* and ongesture* events. ontouchstart ongesturestart ontouchmove ongesturechange ontouchend ongestureend
  • 46. 1st AREA TO FOCUS ON • JS Events: Stop using onmouse* events and start using ontouch* and ongesture* events. Example
  • 47. 1st AREA TO FOCUS ON • JS Events: Stop using onmouse* events and start using ontouch* and ongesture* events. ontouchstart ontouchend ontouchmove Example
  • 48. 1st AREA TO FOCUS ON • JS Events: Stop using onmouse* events and start using ontouch* and ongesture* events. Remember! Some platforms like iOS exhibit a delay for onclick. For best user experience, ditch the onclicks and intercept ontouchend instead.
  • 49. 2nd AREA TO FOCUS ON • Orientation: Use CSS and Javascript to detect changes from portrait to landscape and back again. CSS - iPhone Javascript /* Portrait */ @media screen and (max-width: 320px) onorientationchange { .panel { width: 300px; } var ori = window.orientation; } if (ori == 0 || ori == 180) { /* Landscape */ // Portrait @media screen and (min-width: 321px) } { else if (ori == 90 || ori == -90) { .panel { width: 460px; } // Landscape } } Also (orientation: portrait/landscape)
  • 50. 3rd AREA TO FOCUS ON • Viewport: Lock in 100% zoom. Hide the chrome. HTML <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> Javascript window.addEventListener("load", function() { setTimeout(function(){ // Hide the address bar! window.scrollTo(0, 1); }, 0); });
  • 51. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world.
  • 52. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world.
  • 53. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world. Semantics Offline & Storage Device Access Connectivity Multimedia 3D Graphics & FX ? Performance & CSS3 And it's still evolving! Integration
  • 54. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world. Device Access
  • 55. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world. Device Access Geolocation function start_geolocation() {   navigator.geolocation.getCurrentPosition(geo_handler);   }     function geo_handler(position) { var latitude = position.coords.latitude; var longitude = position.coords.longitude; // Do something cool  }
  • 56. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world. Device Access Accelerometer window.ondevicemotion = function(e) {       var accelerationX = event.accelerationIncludingGravity.x;       var accelerationY = event.accelerationIncludingGravity.y;       var accelerationZ = event.accelerationIncludingGravity.z;   }
  • 57. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world. Device Access Camera: Still & Video
  • 58. 4th AREA TO FOCUS ON • HTML5: Your ticket to the outside (hardware) world. Device Access Camera: Still & Video C omi ng So on!
  • 59. AND DON'T FORGET THE MOST IMPORTANT THING...
  • 60. NO FLASH! Really. Just kill it now.
  • 61. -webkit -transform <video > <au dio> <ca ry nv jQue as> JAVASCRIPT, CANVAS, SVG, CSS3, HTML5 VIDEO, AND H.264 ARE YOUR FRIENDS
  • 62. -webkit -transform <video > <au dio> <ca ry nv jQue as> JAVASCRIPT, CANVAS, SVG, CSS3, HTML5 VIDEO, AND H.264 ARE YOUR FRIENDS
  • 64. SPEED UP THE PROCESS • jQuery – you should be using this anyway! • jQuery Mobile – new layer built on top of jQuery • jQTouch – a similar alternative also based on jQuery • TouchSwipe – a lightweight, awesome jQuery plugin • Sencha Touch – heavy-duty webapp framework • M-Project, Rhomobile, etc. – choose your flavor
  • 65. SPEED UP THE PROCESS • What about popular CMS platforms? • WP Touch – oft-used theme for WordPress • OnSwipe – iPad-optimized theme for WordPress • Mobile Joomla! – extensions for Joomla! • iUI, Others – themes for Drupal
  • 70. JQUERY MOBILE <!DOCTYPE html> <html> <head> <title>Page Title</title> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/mobile/1.0b1/ jquery.mobile-1.0b1.min.js"></script> </head> <body> <div data-role="page"> <div data-role="header"> <h1>Page Title</h1> </div><!-- /header --> <div data-role="content"> <p>Page content goes here.</p> </div><!-- /content --> <div data-role="footer"> <h4>Page Footer</h4> </div><!-- /footer --> </div><!-- /page --> </body> </html>
  • 72. MY PREDICTION I could be wrong, but...
  • 73. 2020 25%-50% of your site visitors will be using Post-PC mobile devices
  • 74. NOW GO MAKE SOME COOL STUFF Questions? jared@siteshine.com @WebDevJared Thank you.

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \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. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n
  82. \n
  83. \n
  84. \n
  85. \n
  86. \n
  87. \n
  88. \n
  89. \n
  90. \n