Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
© 2013 IBM Corporation
Mobile Cross Platform Development – really? Jonathan Marshall, IBM Mobile Technical Specialist
© 2013 IBM Corporation 2
Objectives
§ Worklight update § Brief demonstration § Experiences around cross-platform development
© 2013 IBM Corporation 3
IBM MobileFirst Offering Portfolio
"Analytics!
"Security!
"Management!
"
IBM & Partner Applications!
Application Platform and Data Services!
Banking! Insurance! Transport! Telecom! Government!
Industry Solutions!
Healthcare!Retail! Automotive!
Application & Data Platform!
Stra
tegy
& D
esig
n Se
rvic
es!
Developm
ent & Integration Services!
Cloud & Managed Services!
Devices! Network! Servers!
© 2013 IBM Corporation 4
The IBM Mobile Lifecycle
Scan & Certify!
Instrument!
Test!
Integrate!Obtain Insight!
Manage!
Deploy!
Design & Develop!
© 2013 IBM Corporation 5
The IBM Mobile Lifecycle
Scan & Certify!
Instrument!
Test!
Integrate!Obtain Insight!
Manage!
Deploy!
Design & Develop!
Worklight Acquisition
© 2013 IBM Corporation 6
The IBM Mobile Lifecycle
Scan & Certify!
Instrument!
Test!
Integrate!Obtain Insight!
Manage!
Deploy!
Design & Develop!
Worklight V6.0
© 2013 IBM Corporation 7
The IBM Mobile Lifecycle
Scan & Certify!
Instrument!
Test!
Integrate!Obtain Insight!
Manage!
Deploy!
Design & Develop!
© 2013 IBM Corporation 8
DEMO
© 2013 IBM Corporation 9
Cross platform affects end to end mobile development
Network
Worklight Server
App mgmt Security
Integration Push
notification
Application Data
10 © 2013 IBM Corporation
Worklight supports multiple mobile development models
Where is best for your application?
11 © 2013 IBM Corporation
What is hybrid? What approaches are there to hybrid?
§ Hybrid: “A thing made combining two different elements”
§ Development: Cross-platform (productivity and flexibility) § Deployment: Native (full integration, high user experience)
§ Approaches to hybrid
X-platform compilation First generation X-platform Pros Rapid prototyping Great user experience Cons Restricted to widget set provided Platform dev scale
Pure HTML5
Code HTML5, Deploy Native Pros Openness, Skills Develop once, deploy many Still have device integration Cons “Last 5%” UX
HTML5 + Native
Best of both worlds Code base is reusable Can access any native functionality desired (lose X-platform for that feature)
12 © 2013 IBM Corporation
How far can you go with HTML5?
§ What’s possible? - Default to all in HTML5 - Can emulate native look and feel (or not)
§ Device access available in HTML5? - Standard function; camera, GPS, etc
§ So do we need native? - Specific function E.g. QR Code reader - Some have chosen specific UX components for native dev, such as slide-in menu
§ Device power and capability vary - Android hardware acceleration for graphics has been behind that of iOS. Catching up
§ Skills are important - Basics can rely on web development skill - But for high end user experience do need good JavaScript and CSS3 skills - And good software engineering practices - Rely on a good frameworks such as Dojo, JQuery, Sencha
13 © 2013 IBM Corporation
How does Worklight help with cross-platform mobile applications?
§ Development Lifecycle - Cross-platform dev framework - Dev build system - Leave OS support to the platform - Application Center - Testing
§ Higher level APIs - Apache Cordova – APIs for device access, Designed to be extensible - Security - Native database with synchronisable storage (JSONStore) - Geo fencing - “Crash” analytics
§ Server-side infrastructure… next few slides
© 2013 IBM Corporation 14
Cross platform affects end to end mobile development
Network
Worklight Server
App mgmt Security
Integration Push
notification
Application Data
© 2013 IBM Corporation 15
Mobile Infrastructure – The case for mobile middleware
E S B
Application Services
Data Services
Cast Iron
Devices Mobile
Gateway DataPower
Worklight Server
Integration Services
Mobile Services
Security Services
DMZ
Worklight DB
Mobile Device Mgmt
Google GCM
Apple APNS
Management Services
Internet Enterprise Services
PEP <-> PDP
API Mgmt
Google Play
Apple App
Store
© 2013 IBM Corporation 16
Mobile Infrastructure – The case for mobile middleware
§ Mobile-specific - Separate from enterprise services - Optimise data for the wire – don’t need all of it, don’t want it in verbose formats (XML)
§ Application-specific - Offload application processing from devices - “Mash up” enterprise services – further optimise bandwidth and latency - Develop in mobile application language – JavaScript - Security for device, application, and users of specific application
§ Device-agnostic – Do it once! - Integration - Push notification - Management - Security
© 2013 IBM Corporation 17
The development lifecycle is getting faster and faster
Scan & Certify!
Instrument!
Test!
Integrate!Obtain Insight!
Manage!
Deploy!
Design & Develop!
© 2013 IBM Corporation 18
Worklight enables Speed and Agility Base development on continuous integration
Design Maquetta
Dev Worklight
Studio
Deploy App Center
Continuous Integration
RTC/Worklight build
Testing
Worklight Test Server
Worklight Build Ant
Server WAR
Android wlapp iPad wlapp iPhone wlapp
Adapter
Adapter
Android app iPad app iPhone app
Source Code
Source Code
© 2013 IBM Corporation 19
Worklight enables Speed and Agility Mobile infrastructure needs to keep pace
E S B
Application Services
Data Services
Cast Iron
Devices Mobile
Gateway DataPower
Worklight Server
Integration Services
Mobile Services
Security Services
DMZ
Worklight DB
Mobile Device Mgmt
Google GCM
Apple APNS
Management Services
Internet Enterprise Services
PEP <-> PDP
API Mgmt
Google Play
Apple App
Store
Stay Agile - Mobile middleware needs to keep pace
© 2013 IBM Corporation 20
Summary – Is cross-platform really possible?
© 2013 IBM Corporation 21
1! Download the free IBM Worklight Developer Edition: ibm.com/developerworks/mobile/worklight!
Learn more: ibm.com/mobilefirst!
2!3!
Download the free IBM Mobile Development Lifecycle Solution (Worklight PLUS ALM): ibm.com/developerworks/cloud/cloudtrial Promo code IMDLS
Three Ways to Get Started with IBM
© 2013 IBM Corporation 22