Drupal è uno strumento che permette di sviluppare applicazioni web con rapidità e semplicità, in questa sessione analizzeremo le tecniche che permettono di trasferire le stesse metodologie per lo sviluppo di applicazioni mobile.
Faremo una overview di applicazioni già sviluppate, sull’utilizzo delle API e dei moduli contrib e su come creare applicazioni native integrando framework come Titanium e Phonegap.
Oltre al codice, parleremo di come i core developers stanno affrontando lo sviluppo della prossima release Drupal 8, della Mobile e Web Services initiative e dell’evoluzione dell’architettura con l’integrazione di alcuni componenti di Symfony2.
9. Target OS Development OS Language
Apple iOS OSX Objective-C
Android * Java
RIM Blackberry Windows, OSX HTML, JS, CSS / JAVA
Windows Phone Windows .NET / Silverlight
Samsung Bada Windows C++
HP WebOS * HTML, CSS, JS (Also: Nodejs)
Symbian, Meego * C++ (Qt)
14. Define your strategy in advance, before thinking about the
technology
Strategy
15. Define your strategy in advance, before thinking about the
technology
Strategy
Technology
16. Cosa intendiamo per “App”?
Native HTML5 Hybrid
Android: Java Mobile Framework
iPhone, iPad: Objective-C jQuery Mobile, Sencha Titanium, Phonegap
Touch
17. Cosa intendiamo per “App”?
:-)
Native HTML5 Hybrid
Android: Java Mobile Framework
iPhone, iPad: Objective-C jQuery Mobile, Sencha Titanium, Phonegap
Touch
18. Native app
Pros Cons
Can be more immersive Requires install
Multiple apps for various
Performance
platforms
Takes longer to deploy
Direct access to
changes/update
Native Hardware
(AppStore nightmare)
Android: Java
iPhone, iPad: Objective-C
19. HTML5 App
Pros Cons
No install Slow performances
Single code-base to non-native interface
multiple platforms
subject to connectivity issues
Drupal friendly
HTML5
Mobile Framework
jQuery Mobile, Sencha
Touch
20. Hybrid app
Pros Cons
No new API to learn
Sometime slow
speaks our language
performances
(JS, HTML, CSS)
New API to learn (only
Good performance
Titanium)
One app to multiple
platforms
Drupal friendly Hybrid
Titanium, Phonegap
21.
22. What is Phonegap?
Application container that allows you to build natively
installed apps using HTML, CSS & Javascript
31. Features
Accelerometer Geolocation
Camera Media
Capture Notification
Compass Storage
Connection
Contacts
File
32. PhoneGap is a web app that runs in a Titanium is a pure JavaScript API that
native web browser view creates native code
HTML5, CSS, and JavaScript Better performances