SlideShare une entreprise Scribd logo
1  sur  33
Télécharger pour lire hors ligne
Designing
                     for the Mobile Web




http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/

Saturday, September 25, 2010
ahoj !
                                   twitter:zibin
                               slideshare.net/zibin




Saturday, September 25, 2010
Mobile Web is growing.....




Saturday, September 25, 2010
iphone
                                                ipad


                         Mobile Web is growing.....


                                   android



Saturday, September 25, 2010
big screen

                                     family photo




                               happy :-)



                                 tab tab “keyboard”




                                                      click click “mouse”

            Designing a desktop site
                                                        http://www.flickr.com/photos/anantablamichhane/438854995/sizes/l/
Saturday, September 25, 2010
mobile developer :-(




     piece of crap (?).....




             Designing a mobile site   http://www.flickr.com/photos/hendry/763193147/sizes/l/

Saturday, September 25, 2010
iphone




         5% users in EU5 countries
                                        http://www.flickr.com/photos/goincase/4973847949/

Saturday, September 25, 2010
the rest use something else...




http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/

Saturday, September 25, 2010
different screen size                     != iphone
                               small screen
                                                         hard to debug




                                                                memory issue
               the real mobile phone                http://www.flickr.com/photos/osde-info/2270663393/sizes/l/

Saturday, September 25, 2010
Approaches to
                              design



Saturday, September 25, 2010
3 approaches
                                 to create a mobile site




Saturday, September 25, 2010
1. Do Nothing



Saturday, September 25, 2010
1. Do Nothing
                                 (at least not too much)




Saturday, September 25, 2010
1. Do Nothing
                                 (at least not too much)


                                                    liquid layout
                       semi liquid layout


Saturday, September 25, 2010
2. separate mobile
                   site



Saturday, September 25, 2010
Saturday, September 25, 2010
browser sniffing....

Saturday, September 25, 2010
Saturday, September 25, 2010
selection & cookie




Saturday, September 25, 2010
3. one site to rule
                   them all



Saturday, September 25, 2010
3. one site to rule
                   them all    (including ipad)




Saturday, September 25, 2010
3. one site to rule
                   them all                     (including ipad)




                               viewport   media queries




Saturday, September 25, 2010
media queries


     @media all and (max-device-width: 480px) {
       // insert CSS rules here
     }

     @media all and (min-width: 480px) and (max-width:
     800px) {
       // insert CSS rules here
     }


Saturday, September 25, 2010
viewport




                               visual viewport                                         actual viewport
                                           http://www.quirksmode.org/mobile/viewports2.html


Saturday, September 25, 2010
viewport




            <meta name=”viewport” content=”width=device-
                             width”>




Saturday, September 25, 2010
viewport




                               http://www.quirksmode.org/mobile/viewports2.html


Saturday, September 25, 2010
media queries      viewport


     <meta name=”viewport” content=”width=device-
     width”>

     @media screen and (max-width: 360px){
       // CSS style here
     }


      max/min-width relates directly to the viewport width
      value

Saturday, September 25, 2010
1. do nothing
   2. separate site
   3. one site to rule them all




Saturday, September 25, 2010
hard to debug




     debugging the mobile phone
Saturday, September 25, 2010
Mobile Emulator




Saturday, September 25, 2010
Remote Debugging
        demo: http://my.opera.com/ODIN/blog/opera-mobile-10-and-its-remote-debugging-party-trick




Saturday, September 25, 2010
děkuji ! , Q&A
                                       twitter:zibin
                                   slideshare.net/zibin




Saturday, September 25, 2010
Credits
                  My colleague Andreas Bovens
                  http://www.slideshare.net/andreasbovens/mobile-web-development-techniques-and-operas-developer-
                  tools


                  A dude Bryan Rieger
                  http://www.slideshare.net/bryanrieger/going-mobile-2010-by-yiibu

                  Image credits are listed in every image




Saturday, September 25, 2010

Contenu connexe

Similaire à Designing for the mobile web

Responsive Design for the Web
Responsive Design for the WebResponsive Design for the Web
Responsive Design for the Webjonbuda
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkZi Bin Cheah
 
For every site a make file
For every site a make fileFor every site a make file
For every site a make fileDevelopment Seed
 
User Experience and Agile Software Development
User Experience and Agile Software DevelopmentUser Experience and Agile Software Development
User Experience and Agile Software DevelopmentZee Spencer
 
SUA Mobile Development
SUA Mobile DevelopmentSUA Mobile Development
SUA Mobile DevelopmentTony Thomas
 
HTML5 Apps - Cross platform
HTML5 Apps - Cross platformHTML5 Apps - Cross platform
HTML5 Apps - Cross platformwolframkriesing
 
HTML5/CSS3 @ Baidu
HTML5/CSS3 @ BaiduHTML5/CSS3 @ Baidu
HTML5/CSS3 @ BaiduZi Bin Cheah
 
Web Standards Indonesia Tour
Web Standards Indonesia TourWeb Standards Indonesia Tour
Web Standards Indonesia TourZi Bin Cheah
 
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScriptSencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScriptDavid Kaneda
 
CSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp BostonCSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp BostonJen Simmons
 
Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...
Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...
Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...Jeremie Charlet
 
HTML5 Apps - Mobile Developer Summit Bangalore
HTML5 Apps - Mobile Developer Summit BangaloreHTML5 Apps - Mobile Developer Summit Bangalore
HTML5 Apps - Mobile Developer Summit Bangalorewolframkriesing
 
Internet Safety and Digital Citizenship
Internet Safety and Digital CitizenshipInternet Safety and Digital Citizenship
Internet Safety and Digital CitizenshipWesley Fryer
 
Si mobile projectsv2
Si mobile projectsv2Si mobile projectsv2
Si mobile projectsv2Nancy Proctor
 
How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...
How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...
How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...Antony Mayfield
 

Similaire à Designing for the mobile web (20)

Responsive Design for the Web
Responsive Design for the WebResponsive Design for the Web
Responsive Design for the Web
 
Html5 Development
Html5 DevelopmentHtml5 Development
Html5 Development
 
Browsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talkBrowsers & Web Technology - an Opera talk
Browsers & Web Technology - an Opera talk
 
For every site a make file
For every site a make fileFor every site a make file
For every site a make file
 
User Experience and Agile Software Development
User Experience and Agile Software DevelopmentUser Experience and Agile Software Development
User Experience and Agile Software Development
 
SUA Mobile Development
SUA Mobile DevelopmentSUA Mobile Development
SUA Mobile Development
 
HTML5 Apps - Cross platform
HTML5 Apps - Cross platformHTML5 Apps - Cross platform
HTML5 Apps - Cross platform
 
HTML5/CSS3 @ Baidu
HTML5/CSS3 @ BaiduHTML5/CSS3 @ Baidu
HTML5/CSS3 @ Baidu
 
Html5 Apps
Html5 AppsHtml5 Apps
Html5 Apps
 
SpriteKit 101
SpriteKit 101SpriteKit 101
SpriteKit 101
 
Social Network and Online Community
Social Network and Online CommunitySocial Network and Online Community
Social Network and Online Community
 
Web Standards Indonesia Tour
Web Standards Indonesia TourWeb Standards Indonesia Tour
Web Standards Indonesia Tour
 
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScriptSencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
Sencha Touch beta — Amazing Mobile Web Apps with HTML5, CSS3 & JavaScript
 
CSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp BostonCSS3: The Future is Now at Drupal Design Camp Boston
CSS3: The Future is Now at Drupal Design Camp Boston
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...
Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...
Bibliography & Appendixes Can new web technologies HTML5 & CSS3 kill Flash? D...
 
HTML5 Apps - Mobile Developer Summit Bangalore
HTML5 Apps - Mobile Developer Summit BangaloreHTML5 Apps - Mobile Developer Summit Bangalore
HTML5 Apps - Mobile Developer Summit Bangalore
 
Internet Safety and Digital Citizenship
Internet Safety and Digital CitizenshipInternet Safety and Digital Citizenship
Internet Safety and Digital Citizenship
 
Si mobile projectsv2
Si mobile projectsv2Si mobile projectsv2
Si mobile projectsv2
 
How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...
How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...
How to Manage Your Reputation Online: Me & My Web Shadow - the slideshow of t...
 

Plus de Zi Bin Cheah

Beyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real TimeBeyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real TimeZi Bin Cheah
 
Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Zi Bin Cheah
 
let's talk web standards
let's talk web standardslet's talk web standards
let's talk web standardsZi Bin Cheah
 
Mobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaMobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaZi Bin Cheah
 
Standards: politics, case studies
Standards: politics, case studiesStandards: politics, case studies
Standards: politics, case studiesZi Bin Cheah
 
谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010Zi Bin Cheah
 
Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010Zi Bin Cheah
 
Web Standards @ Opera Talk Oslo
Web Standards @ Opera Talk OsloWeb Standards @ Opera Talk Oslo
Web Standards @ Opera Talk OsloZi Bin Cheah
 
Standards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour IndonesiaStandards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour IndonesiaZi Bin Cheah
 
Browser War 2: Standards strikes back
Browser War 2: Standards strikes backBrowser War 2: Standards strikes back
Browser War 2: Standards strikes backZi Bin Cheah
 

Plus de Zi Bin Cheah (10)

Beyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real TimeBeyond HTML5:Device, Graphics, Orientation, Real Time
Beyond HTML5:Device, Graphics, Orientation, Real Time
 
Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011Taiwan Web Standards Talk 2011
Taiwan Web Standards Talk 2011
 
let's talk web standards
let's talk web standardslet's talk web standards
let's talk web standards
 
Mobile Web Trends inIndonesia
Mobile Web Trends inIndonesiaMobile Web Trends inIndonesia
Mobile Web Trends inIndonesia
 
Standards: politics, case studies
Standards: politics, case studiesStandards: politics, case studies
Standards: politics, case studies
 
谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010谈一谈HTML5/CSS3 @ WebRebuild 2010
谈一谈HTML5/CSS3 @ WebRebuild 2010
 
Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010Cutting Edge CSS3 @ WebExpo Tour 2010
Cutting Edge CSS3 @ WebExpo Tour 2010
 
Web Standards @ Opera Talk Oslo
Web Standards @ Opera Talk OsloWeb Standards @ Opera Talk Oslo
Web Standards @ Opera Talk Oslo
 
Standards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour IndonesiaStandards Talk - Opera Uni Tour Indonesia
Standards Talk - Opera Uni Tour Indonesia
 
Browser War 2: Standards strikes back
Browser War 2: Standards strikes backBrowser War 2: Standards strikes back
Browser War 2: Standards strikes back
 

Designing for the mobile web

  • 1. Designing for the Mobile Web http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/ Saturday, September 25, 2010
  • 2. ahoj ! twitter:zibin slideshare.net/zibin Saturday, September 25, 2010
  • 3. Mobile Web is growing..... Saturday, September 25, 2010
  • 4. iphone ipad Mobile Web is growing..... android Saturday, September 25, 2010
  • 5. big screen family photo happy :-) tab tab “keyboard” click click “mouse” Designing a desktop site http://www.flickr.com/photos/anantablamichhane/438854995/sizes/l/ Saturday, September 25, 2010
  • 6. mobile developer :-( piece of crap (?)..... Designing a mobile site http://www.flickr.com/photos/hendry/763193147/sizes/l/ Saturday, September 25, 2010
  • 7. iphone 5% users in EU5 countries http://www.flickr.com/photos/goincase/4973847949/ Saturday, September 25, 2010
  • 8. the rest use something else... http://www.flickr.com/photos/albanyassociates/3308582269/sizes/l/in/photostream/ Saturday, September 25, 2010
  • 9. different screen size != iphone small screen hard to debug memory issue the real mobile phone http://www.flickr.com/photos/osde-info/2270663393/sizes/l/ Saturday, September 25, 2010
  • 10. Approaches to design Saturday, September 25, 2010
  • 11. 3 approaches to create a mobile site Saturday, September 25, 2010
  • 12. 1. Do Nothing Saturday, September 25, 2010
  • 13. 1. Do Nothing (at least not too much) Saturday, September 25, 2010
  • 14. 1. Do Nothing (at least not too much) liquid layout semi liquid layout Saturday, September 25, 2010
  • 15. 2. separate mobile site Saturday, September 25, 2010
  • 19. selection & cookie Saturday, September 25, 2010
  • 20. 3. one site to rule them all Saturday, September 25, 2010
  • 21. 3. one site to rule them all (including ipad) Saturday, September 25, 2010
  • 22. 3. one site to rule them all (including ipad) viewport media queries Saturday, September 25, 2010
  • 23. media queries @media all and (max-device-width: 480px) { // insert CSS rules here } @media all and (min-width: 480px) and (max-width: 800px) { // insert CSS rules here } Saturday, September 25, 2010
  • 24. viewport visual viewport actual viewport http://www.quirksmode.org/mobile/viewports2.html Saturday, September 25, 2010
  • 25. viewport <meta name=”viewport” content=”width=device- width”> Saturday, September 25, 2010
  • 26. viewport http://www.quirksmode.org/mobile/viewports2.html Saturday, September 25, 2010
  • 27. media queries viewport <meta name=”viewport” content=”width=device- width”> @media screen and (max-width: 360px){ // CSS style here } max/min-width relates directly to the viewport width value Saturday, September 25, 2010
  • 28. 1. do nothing 2. separate site 3. one site to rule them all Saturday, September 25, 2010
  • 29. hard to debug debugging the mobile phone Saturday, September 25, 2010
  • 31. Remote Debugging demo: http://my.opera.com/ODIN/blog/opera-mobile-10-and-its-remote-debugging-party-trick Saturday, September 25, 2010
  • 32. děkuji ! , Q&A twitter:zibin slideshare.net/zibin Saturday, September 25, 2010
  • 33. Credits My colleague Andreas Bovens http://www.slideshare.net/andreasbovens/mobile-web-development-techniques-and-operas-developer- tools A dude Bryan Rieger http://www.slideshare.net/bryanrieger/going-mobile-2010-by-yiibu Image credits are listed in every image Saturday, September 25, 2010