On Github flrent / mobile-web-geneva-talk
Présenté par Florent Lamoureux & Mathias Extremo
Ingénieur JavaScript web/mobile chez PayrollHero à RaincouverVancouver, BC
Freelance sur des projets mobiles
Open source ♥
“Some 88% of U.S. adults own a cell phone, and more than half of these cell owners (55%) use their phone to go online,”
The Pew study found that 45% of those who use the Internet on their phones prefer Web browsing on their mobile devices.
June 2012 Pew Internet & American Life Project.http://pewinternet.org/Reports/2012/Cell-Internet-Use-2012.aspx
chaque plateforme vient avec :
jQuery Mobile
jQTouch (Zepto)
Appcelerator Titanium
AngularJS
Sencha Touch
PhoneGap
KendoUI
Jo
Twitter Bootstrap
iUI
Mobello
Rikulo UI
Tile5
SproutCore
...
Responsive design librairies
Twitter Bootstrap
UI frameworks : HTML/CSS
jQuery Mobile
KendoUI
Frameworks MVC
Sencha Touch
Les autres
PhoneGap
Appcelerator Titanium
<ul data-role="listview" data-inset="true" id="myList"> <li><a href="#" class="roll"><span data-title="Acura">Acura</span></a></li> <li><a href="#" class="roll"><span data-title="Audi">Audi</span></a></li> <li><a href="#" class="roll"><span data-title="BMW">BMW</span></a></li> <li><a href="#" class="roll"><span data-title="Cadillac">Cadillac</span></a></li> <li><a href="#" class="roll"><span data-title="Ferrari">Ferrari</span></a></li> </ul>
$("#myList").on("click", function() { $("this").append("<li>New car</li>"); $("this").listview("refresh"); });
function ApplicationWindow(title) { var self = Ti.UI.createWindow({ title:title, backgroundColor:'white' }); var button = Ti.UI.createButton({ height:44, width:200, title:L('openWindow'), top:20 }); self.add(button); button.addEventListener('click', function() { //containingTab attribute must be set by parent tab group on //the window for this work self.containingTab.open(Ti.UI.createWindow({ title: L('newWindow'), backgroundColor: 'white' })); }); return self; }; module.exports = ApplicationWindow;
Basé sur jQuery
Simple à implémenter
Compatibilité accrue
Plugins
Tous les besoins d'une app présent dans ST
Meilleure architecture d'application
Workflow de développement intégré
Communauté
Performance quasi native
Présence de tous les composants nécessaires
Communauté
@flrent