SlideShare une entreprise Scribd logo
Principes de dév web d’applications mobile JqueryMobile et GWTMobile essais et retours d’expérience Montréal #2 @gtugmontreal https://groups.google.com/group/gtug-montreal Sacha Leprêtre 14 Septembre 2011
Stratégies de développements Pur natif (sdk android) Avec SDK Avec NDK Pur web (dans  le navigateur) App locale sans navigateur mais web Autres: Combinaisons possibles…, mécanisme d’extensions Meta langages…
Possibilités App natif App web Extensions
Webkit ? Webkit ? HTML5 ? Webview ? ARM Dalvik VM Webkit HTML JS CSS
Outils de développement Eclipse  (svn, androidsdk…) Chrome Inspection de DOM Debug js WebSQL Extension chrome: Window resizer Lita (SQLLite client) LA TABLETTE  ou le smartphone! Pas l’émulateur… ADB Console.log SQL App: Astro filemanager
Pile technologique présentées Application Webview: Phonegap Language Javascript: (pur, Jquery…) ou Java->Javascript (GWT) Layout HTML,CSS,Javascript: JqueryMobile, GWTMobile Stockage HTML5 websql: persistencejs Fichier: Phonegap
Dev dans le navigateur CHROME
Phonegap
Phonegap Eclipse, Installer Android SDK et Android Eclipse Plugin Faire un projet Android Déposer phonegap.js et librairie phonegap.jar
Parlons de  stockage (offline)
Persistence.js http://persistencejs.org/ ORM pas d’écriture de SQL ! Couche d abstraction extensible selon l’évolution de la norme HTML5: WEBSQL LocalStorage IndexedDB
Persistence.js Définition des entités: Optimiser (index et dénormalization) mettre en relation Persistence.js
Persistence.js Requêtes !
Log SQL pour webSQL ! CHROME ! Ou FF Persistence.js
SQLLite client permet d’acceder à la BD de CHROME ! LITA HTML5 storage !
Parlons de  JqueryMobile
JqueryMobile http://jquerymobile.com/demos/1.0a4.1/ Un language visuel pour l’utilisateur
JqueryMobile: Principes Votre code : Page html Balise HTML Balises JQM Page html enrichie (DOM mémoire) Processeur Jquery.js+JQM.js
Parlons de  GWTMobile
Intérêts GWT Mobile Application et… architecture
GWT Mobile UI: les widgets Un langage visuel Webkit (Android,IOS,Chrome,Safari…) Un langage visuel pour l’utilisateur Démo:  http://www.ambigtion.com/gwtmobileui/ Approches visuelles similaires : Jquerymobile.com alpha 4 Dojomobile Forces/faiblesses de GWT Mobile UI ?
Code: env Env Eclipse +  GWT Eclipse plugin GWT Mobile UI Lancement de Kitchensink (palette de widgets)
Code: Principes et architecture
Code: Principes et architecture Mécanisme de « Page » ;-) : Faire la vue UIbinder de la Page: MainPage.ui.xml  Rapide avec le GWT dev mode !
Code: Principes et architecture Mécanisme de « Page » ;-) : Désigner la logique associé à la page: MainPage.java: Étendre Page MainPage.java: Définir logique suivante et routage…goto(…) Back géré
Code: Principes et architecture Mécanisme de « Page » ;-) : Autres pages… Page est un concept Non MVP Principe d’architecture simple
GWT Mobile phonegap Un wrapper javascript de phonegap Phonegap ?
Quoi d’autre… Dev nouveau( jan 2011) Message de Denis: « Hi GTUG Montreal, GWT Mobile welcomes their participation in the open source project !» ROADMAP From Denis: 1. Complete the initial release of the gwtmobile-ui project. That includes finishing up a basic set of UI widgets and laying down the fundation for the theming function. 2. Upgrade the gwtmobile-phonegap project to support 0.9.4, the current phonegap version. 3. Enhance the gwtmobile-persistence project to support GWT Request Factory so that the same domain classes can be used on both the client and the server sides. 4. Alternative or in additional to #3, enhance gwtmobile-persistence to work with the resty-gwt project, for people who perfer JSON in communicating with the server. 5. Support WP7 later this year when the WP7 mobile browser is upgraded to IE9. 6. Support tablet form factor. May utilize the GWT MVP Framework for this purpose if it makes sense to do so. 7. Make gwtmobile-ui work with the GWT UI Designer in designing UI for mobile devices. This is actually a long term to-do. I haven't done any research on the feasibility.

Contenu connexe

PPTX
Faut-il maîtriser son code HTML ? @ Paris-Web 2009
PPT
Gdd07 Gwt Dig
PPTX
PPTX
JavaScript Open Day - Migration Web To App
PDF
Introduction à web assembly
PDF
Développer des applications mobiles avec phonegap
PDF
[FR] Présentation de PhoneGap
PPTX
jQuery mobile / PhoneGap : contenus dynamiques client-side
Faut-il maîtriser son code HTML ? @ Paris-Web 2009
Gdd07 Gwt Dig
JavaScript Open Day - Migration Web To App
Introduction à web assembly
Développer des applications mobiles avec phonegap
[FR] Présentation de PhoneGap
jQuery mobile / PhoneGap : contenus dynamiques client-side

En vedette (20)

PPTX
Web Components - presented at JS-Montréal Jun 2014
PPTX
Google Reviews as % of total pre and post Hotpot
PDF
Method Statement for Powerflushing Domestic Systems
PPT
Dr.nanyingi ifvm cc_2012
PPT
BENBROOK
PPT
Saving Cane Toads
PPTX
Chrome Dev Summit Summary 2013 part 1 - what’s hot ?
PPT
4 lnpt nota kemasukan penilaian prestasi pyd (4)
PPT
Fernox Product Presentation
PDF
ICT, IT market and HR in Colombia
PPTX
History of Google Local from 2004-2011
PDF
Bridging The Gap Executive Summary Dutch
PDF
Business Process Management Presentation
PPTX
Les energies
PPTX
Mujeres trabajadoras
PDF
Gm5 ei 2006-le-gall-rapport
PPTX
virus informaticos
PPT
Variedad hormel y cabot
PPT
Angela palmeiro martinez
PPT
Bloodstream
Web Components - presented at JS-Montréal Jun 2014
Google Reviews as % of total pre and post Hotpot
Method Statement for Powerflushing Domestic Systems
Dr.nanyingi ifvm cc_2012
BENBROOK
Saving Cane Toads
Chrome Dev Summit Summary 2013 part 1 - what’s hot ?
4 lnpt nota kemasukan penilaian prestasi pyd (4)
Fernox Product Presentation
ICT, IT market and HR in Colombia
History of Google Local from 2004-2011
Bridging The Gap Executive Summary Dutch
Business Process Management Presentation
Les energies
Mujeres trabajadoras
Gm5 ei 2006-le-gall-rapport
virus informaticos
Variedad hormel y cabot
Angela palmeiro martinez
Bloodstream
Publicité

Similaire à Gtug2 Mobile app with web technlogy (20)

PPTX
Jquery Mobile vs Twitter Bootstrap
PDF
Programmation sous Android
PPTX
jQuery mobile vs Twitter bootstrap
PPTX
Intro Android
PPTX
Construire une Application Mobile en 30 minutes avec le plugin WP-AppKit
PPTX
L'histoire d'html5 pour les développeurs windows phone 8
PDF
1er Meetup Mobile Montpellier - Présentation Appcelerator Titanium - Alloy
PPT
Présentation GWT et HTML 5 pour l'Offline
PDF
Conférence Titanium + Alloy au JUG Montpellier
PDF
Meetup sencha
PDF
JCertif Tunisie 2015 - Le Web sur Mobile, Faisons le point !
PDF
Formation mobile-cross-platform
PDF
Support developpement applications mobiles avec ionic v3 et v4
PDF
Ingénieur étude et développement JAVA JEE.pdf
PDF
Jug Lausanne Android Janvier2013
PDF
Cours cordova & REST
PPTX
L'histoire d'HTML5 pour les développeurs Windows Phone 8
PDF
Introduction à GWT - GTI780 & MTI780 - ETS - A08
PDF
Introduction a Flutter
PPTX
Ionic, AngularJS,Cordova,NodeJS,Sass
Jquery Mobile vs Twitter Bootstrap
Programmation sous Android
jQuery mobile vs Twitter bootstrap
Intro Android
Construire une Application Mobile en 30 minutes avec le plugin WP-AppKit
L'histoire d'html5 pour les développeurs windows phone 8
1er Meetup Mobile Montpellier - Présentation Appcelerator Titanium - Alloy
Présentation GWT et HTML 5 pour l'Offline
Conférence Titanium + Alloy au JUG Montpellier
Meetup sencha
JCertif Tunisie 2015 - Le Web sur Mobile, Faisons le point !
Formation mobile-cross-platform
Support developpement applications mobiles avec ionic v3 et v4
Ingénieur étude et développement JAVA JEE.pdf
Jug Lausanne Android Janvier2013
Cours cordova & REST
L'histoire d'HTML5 pour les développeurs Windows Phone 8
Introduction à GWT - GTI780 & MTI780 - ETS - A08
Introduction a Flutter
Ionic, AngularJS,Cordova,NodeJS,Sass
Publicité

Gtug2 Mobile app with web technlogy

  • 1. Principes de dév web d’applications mobile JqueryMobile et GWTMobile essais et retours d’expérience Montréal #2 @gtugmontreal https://groups.google.com/group/gtug-montreal Sacha Leprêtre 14 Septembre 2011
  • 2. Stratégies de développements Pur natif (sdk android) Avec SDK Avec NDK Pur web (dans le navigateur) App locale sans navigateur mais web Autres: Combinaisons possibles…, mécanisme d’extensions Meta langages…
  • 3. Possibilités App natif App web Extensions
  • 4. Webkit ? Webkit ? HTML5 ? Webview ? ARM Dalvik VM Webkit HTML JS CSS
  • 5. Outils de développement Eclipse (svn, androidsdk…) Chrome Inspection de DOM Debug js WebSQL Extension chrome: Window resizer Lita (SQLLite client) LA TABLETTE ou le smartphone! Pas l’émulateur… ADB Console.log SQL App: Astro filemanager
  • 6. Pile technologique présentées Application Webview: Phonegap Language Javascript: (pur, Jquery…) ou Java->Javascript (GWT) Layout HTML,CSS,Javascript: JqueryMobile, GWTMobile Stockage HTML5 websql: persistencejs Fichier: Phonegap
  • 7. Dev dans le navigateur CHROME
  • 9. Phonegap Eclipse, Installer Android SDK et Android Eclipse Plugin Faire un projet Android Déposer phonegap.js et librairie phonegap.jar
  • 10. Parlons de stockage (offline)
  • 11. Persistence.js http://persistencejs.org/ ORM pas d’écriture de SQL ! Couche d abstraction extensible selon l’évolution de la norme HTML5: WEBSQL LocalStorage IndexedDB
  • 12. Persistence.js Définition des entités: Optimiser (index et dénormalization) mettre en relation Persistence.js
  • 14. Log SQL pour webSQL ! CHROME ! Ou FF Persistence.js
  • 15. SQLLite client permet d’acceder à la BD de CHROME ! LITA HTML5 storage !
  • 16. Parlons de JqueryMobile
  • 18. JqueryMobile: Principes Votre code : Page html Balise HTML Balises JQM Page html enrichie (DOM mémoire) Processeur Jquery.js+JQM.js
  • 19. Parlons de GWTMobile
  • 20. Intérêts GWT Mobile Application et… architecture
  • 21. GWT Mobile UI: les widgets Un langage visuel Webkit (Android,IOS,Chrome,Safari…) Un langage visuel pour l’utilisateur Démo: http://www.ambigtion.com/gwtmobileui/ Approches visuelles similaires : Jquerymobile.com alpha 4 Dojomobile Forces/faiblesses de GWT Mobile UI ?
  • 22. Code: env Env Eclipse + GWT Eclipse plugin GWT Mobile UI Lancement de Kitchensink (palette de widgets)
  • 23. Code: Principes et architecture
  • 24. Code: Principes et architecture Mécanisme de « Page » ;-) : Faire la vue UIbinder de la Page: MainPage.ui.xml Rapide avec le GWT dev mode !
  • 25. Code: Principes et architecture Mécanisme de « Page » ;-) : Désigner la logique associé à la page: MainPage.java: Étendre Page MainPage.java: Définir logique suivante et routage…goto(…) Back géré
  • 26. Code: Principes et architecture Mécanisme de « Page » ;-) : Autres pages… Page est un concept Non MVP Principe d’architecture simple
  • 27. GWT Mobile phonegap Un wrapper javascript de phonegap Phonegap ?
  • 28. Quoi d’autre… Dev nouveau( jan 2011) Message de Denis: « Hi GTUG Montreal, GWT Mobile welcomes their participation in the open source project !» ROADMAP From Denis: 1. Complete the initial release of the gwtmobile-ui project. That includes finishing up a basic set of UI widgets and laying down the fundation for the theming function. 2. Upgrade the gwtmobile-phonegap project to support 0.9.4, the current phonegap version. 3. Enhance the gwtmobile-persistence project to support GWT Request Factory so that the same domain classes can be used on both the client and the server sides. 4. Alternative or in additional to #3, enhance gwtmobile-persistence to work with the resty-gwt project, for people who perfer JSON in communicating with the server. 5. Support WP7 later this year when the WP7 mobile browser is upgraded to IE9. 6. Support tablet form factor. May utilize the GWT MVP Framework for this purpose if it makes sense to do so. 7. Make gwtmobile-ui work with the GWT UI Designer in designing UI for mobile devices. This is actually a long term to-do. I haven't done any research on the feasibility.