Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Optimiser votre site Web sur mobile - Devoxx France 2012 - Partie 3 sur 3

3,145 views

Published on

Présentation donnée lors de la conférence Devoxx France 2012 (partie 3 sur 3).

Lien : http://www.devoxx.com/display/FR12/Optimiser+votre+site+Web+sur+mobile

Partie 1 : http://www.slideshare.net/rmat0n/optimiser-votre-site-web-sur-mobile-devoxx-france-2012-partie-1-sur-3
Partie 2 : http://www.slideshare.net/rmat0n/optimiser-votre-site-web-sur-mobile-devoxx-france-2012-partie-2-sur-3
Partie 3 : http://www.slideshare.net/rmat0n/optimiser-votre-site-web-sur-mobile-devoxx-france-2012-partie-3-sur-3

Published in: Technology
  • My car battery was completely dead before I used your methods! I reconditioned my dead car battery a few weeks ago with your program and it's been working perfectly since then! My car battery was completely dead before I used your methods. This just saved me hundreds of dollars on a new battery! ♥♥♥ http://ishbv.com/ezbattery/pdf
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Optimiser votre site Web sur mobile - Devoxx France 2012 - Partie 3 sur 3

  1. 1. 61
  2. 2. Frameworks Plus loin que le Web SDK propriétaire Accès hardware Caméra, GPS, RFID... 62 62
  3. 3. 63
  4. 4. 64
  5. 5. 65
  6. 6. 66
  7. 7. Le debug, c’est important ! 67 67
  8. 8. 68
  9. 9. 69
  10. 10. Rapidité 70
  11. 11. Données Que recherchent vos utilisateurs ? Youtube, SNCF, Twitter, Facebook...N’essayez de faire rentrer toutes vos fonctionnalités sur le site mobile ! Thème mobile Wordpress ? Une page complète = 20ko (W3C) 71 71
  12. 12. Bande passante 1 Mbit/s 380 kbit/s 180 kbit/s 50 kbit/s10 kbit/s GSM GPRS EDGE 3G 3G+ 72 72
  13. 13. Bande passante pour 100 ko ?1 mn 20 s 16 s 4,5 s 2,1 s 0,8 s GSM GPRS EDGE 3G 3G+ 73 73
  14. 14. Latence Min Max 2s1s 700 ms 600 ms 500 ms 300 ms 300 ms 100 ms 150 ms 50 ms GSM GPRS EDGE 3G 3G+ 74 74
  15. 15. Latence pour 10 appels ? Min Max 20 s10 s 7s 6s 5s 3s 3s 1s 1,5 s 0,5 s GSM GPRS EDGE 3G 3G+ 75 75
  16. 16. 7676
  17. 17. 7777
  18. 18. 7878
  19. 19. 7979
  20. 20. 8080
  21. 21. 81
  22. 22. 82
  23. 23. 83
  24. 24. 84
  25. 25. 85
  26. 26. JavascriptValidation côté client (BP, latence...) Ajax avec parcimonie Attention aux bibliothèques...Éviter setInterval() et setTimeout()Éviter de trop manipuler le DOM 86 86
  27. 27. Cache CDN (vitesse + réutilisation) Proxy Cache Expires, Cache-Control, ETagVersion de fichiers « logo-v1.2.jpg »Validateurs : Wireshark, REDBot... 87 87
  28. 28. HTML5 Locale Storage window.localStorage.attr Préférences, compteur, panier... Application Cache => Offlinemanifest=«index.appcache» avec text/cache-manifest 88 88
  29. 29. Requêtes Concaténation de fichiers Javascript et CSS Images : CSS SpritesEncoder vos petites images en base64 (à vous de placer le curseur) Éviter les redirections Utilisez Firebug,YSlow et PageSpeed Score avec les optimisations à effectuer 89 89
  30. 30. Minifier CSS et Javascript YUI CompressorRequireJS optimization tool Google Closure Compiler UglifyJS 90 90
  31. 31. Le mot de la fin Optimiser ? Bon design Bonnes données Rapide Lancez-vous ! 91 91
  32. 32. 9292
  33. 33. Merci ! 93 93
  34. 34. ? 94 94
  35. 35. http://home.wtal.de/FerrariRevolution/F50/FRD04_0083_Ferrari_F50.jpghttp://www.flickr.com/photos/23919346@N05/4440941361/http://www.flickr.com/photos/whocarescl/2278932128/http://www.flickr.com/photos/fontina/4900389965/http://www.flickr.com/photos/calotype46/6440448469/http://www.flickr.com/photos/27326713@N02/5395248854/http://www.flickr.com/photos/52137170@N00/56206868/http://www.flickr.com/photos/technokitten/3729367882/http://www.flickr.com/photos/72296542@N00/311658424/http://www.flickr.com/photos/49462908@N00/5097039329/http://www.flickr.com/photos/24325001@N00/4359779134/http://www.flickr.com/photos/22258062@N00/53235940/http://www.flickr.com/photos/29601732@N06/3378189534/http://www.flickr.com/photos/8558831@N05/4945592650/ Cette oeuvre est mise à disposition selonhttp://www.flickr.com/photos/17884028@N00/2852716477/ les termes de la Licence Creativehttp://www.flickr.com/photos/56502208@N00/2366162104/ Commons Paternité - Pas dUtilisationhttp://www.flickr.com/photos/64121897@N00/19913607/ Commerciale - Partage à lIdentique 3.0http://casablanca.repimmo.com/portable_imode_wap.php non transcrit.http://fr.wikipedia.org/wiki/Protocole_WAPhttp://thediscipleproject.net/?tag=once-upon-a-timehttp://fr.flash-screen.com/free-wallpaper/olympic-games_33722.htmlhttp://learnthemobileweb.com/2009/12/how-to-view-http-request-headers-sent-by-a-mobile-browser/http://www.flickr.com/photos/57518661@N00/4322847975/http://www.flickr.com/photos/30982194@N05/4046320876/http://deadendthrills.com/?cat=199http://iphone.appstorm.net/reviews/internet-reviews/finally-a-native-digg-iphone-app/http://www.flickr.com/photos/ogil/1507585665/ 95 95

×