Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Développement mobile HTML5
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Pierre Renaudin
September 26, 2013
Programming
150
0
Share
Développement mobile HTML5
Pierre Renaudin
September 26, 2013
More Decks by Pierre Renaudin
See All by Pierre Renaudin
Muxu.Retreat #4 - Evolution
prenaudin
0
34
Go realtime with GraphQL Subscriptions
prenaudin
1
180
Startup Making-of @LeWagon for Azendoo [French]
prenaudin
0
86
BDX.IO - Maîtriser son style CSS
prenaudin
0
380
User Experience at Azendoo
prenaudin
0
350
Other Decks in Programming
See All in Programming
AIエージェントで業務改善してみた
taku271
0
500
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
130
iOS機能開発のAI環境と起きた変化
ryunakayama
0
170
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
110
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.2k
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
250
実践CRDT
tamadeveloper
0
400
Java 21/25 Virtual Threads 소개
debop
0
340
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
230
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
290
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
230
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
180
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
The untapped power of vector embeddings
frankvandijk
2
1.7k
Thoughts on Productivity
jonyablonski
76
5.1k
The Limits of Empathy - UXLibs8
cassininazir
1
290
Designing Experiences People Love
moore
143
24k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
260
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
350
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
220
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Transcript
Node – Bordeaux JS 26 septembre 2013 Pierre Renaudin Développeur
Front-End chez Azendoo DÉVELOPPEMENT MOBILE HTML5
COMMENT DÉVELOPPER UNE APPLICATION POUR DES TÉLÉPHONES MOBILES AVEC INTERNET
DANS LES ANNÉES 2010 ?
HTML5 CSS3 WEBGL Single Page Application Responsive AJAX
OUI LE JAVASCRIPT EST PRÊT POUR FAIRE DES APPLICATIONS MOBILES
Sencha a réalisé un client HTML5 pour Facebook
ADAPTER SON APPLICATION AU MOBILE
None
None
None
MEDIA QUERIES
Utiliser un framework CSS ( Bootstrap 3 )
Tester les capacités du terminal mobile ( Modernizr ) -
Ajoute des classes CSS : .csstransitions - Teste en JavaScript : Modernizr.websockets
Choisir la librairie de manipulation du DOM ( Zepto )
- API similaire à jQuery - Optimisé pour l’utilisation sur mobile
Fonctions dédiées pour le mobile
Utiliser les TouchEvents $el.on(‘touchstart’, function(){ alert(‘TOUCH ME AGAIN’); });
UN CLICK AJOUTE UN DÉLAI DE 300 MS SUR UN
MOBILE
Détecter la localisation du terminal navigator.geolocation.getCurrentPosition( successCallback, errorCallback, options);
Faire vibrer le téléphone navigator.vibrate(100); navigator.vibrate([ 50, 100, 50])
Contrôler la batterie du téléphone navigator.battery.charging : boolean navigator.battery.level :
0.0 – 1.0
Envoyer des notifications var notification = new Notification( ‘test’, {
title: ‘C’est moi’, body: ‘COUCOU’, url: ‘..jpg’ } )
Stocker des informations localStorage.setItem( ‘a’, ‘html5 rocks’ ) localStorage.getItem(‘a’) localStorage.clear()
Mettre en cache les assets ## <html manifest="site.manifest »> CACHE
MANIFEST # v0.1 CACHE: index.html css/style.css img/logo.png
Utiliser les formulaires HTML5 <input type=‘url’ /> <input type=‘date’
/>
TOUCH EVENTS MOTION SENSORS NATIVE FORM VIBRATION BATTERY LOCAL STORAGE
AUDIO / VIDEO HTML TAGS
OK MAINTENANT ON VEUT JOUER
$ -> npm install -g yo bower grunt-cli generator-mobile-boilerplate $
-> yo mobile-boilerplate …. DO YOUR AWESOME APP $ -> bower install $ -> grunt build && grunt deploy Utiliser les bons outils
Publier son application avec Phonegap
https://speakerdeck.com/prenaudin/ developpement-mobile-html5 Pierre Renaudin Développeur Front-End chez Azendoo http://azendoo.com Contact
:
[email protected]