Upload
worklight
View
261
Download
0
Embed Size (px)
DESCRIPTION
An overview of Worklight's latest release of its mobile app platform and tools with new HTML 5 mobile web app support, Windows Phone 7 app development, encrypted on-device storage, new Console management features and much more.
Citation preview
© 2011 Worklight, Inc. All rights reserved. The information contained herein is the proprietary and confidential information of Worklight. © 2011 Worklight, Inc. All rights reserved. The information contained herein is the proprietary and confidential information of Worklight.
Worklight 4.1 OverviewWorklight Webinar Series
Mobile application platform for smartphones and tablets
• Worklight Studio, Worklight Server, Worklight Console, Worklight Device Runtime
Serving many of the world’s largest organizations
Enabling consumer, business and internal apps
Over 151% growth in 2010
30+ partnerships in Europe, North America and Asia
Worklight Fast Facts
2
Windows Phone 7 Hybrid App Support
HTML5 Mobile Web App Support
Direct Update of Apps
Secure On-device Storage
Push Notification Console
Worklight 4.1 Key Features
3
Windows Phone 7 – Characteristics
Big leap towards modern smartphone standards
Unique user interface
Strong and capable hardware
Rich and engaging user experience
4
Developing Windows Phone 7 Apps with Worklight
Benefits for the application developer
• Using HTML to develop Windows Phone apps
• Optimization framework
• Device features
• Native UI components
5
Worklight Integration with Visual Studio
6
Windows Phone 7 Browser
IE7 with few IE8 features
Core HTML/JS incompatibilities• HTML 4 and CSS 2.1 only
• Incompatible JS event handling
• No custom handling of touch events
Windows Phone 7.5 with IE9 – major improvement expected
7
Windows Phone 7 Hybrid Apps SupportAccess to Device Functionality
Access to native device features
PhoneGap-compatible
• Ahead of Official Release
Access custom native code
8
Windows Phone 7 Hybrid AppsJS Access to WP7 Native Dialog and Application Bar
9
Windows Phone 7 Hybrid AppsJS Access to WP7 Native Busy Indicator and Back Button
10
Windows Phone 7 – Worklight Server Support
Capabilities
• Invoking backend services
• Authentication
• Remote app disable
Benefits
• Re-use existing enterprise connectivity resources
• Maintain uniform security and authentication schemes
• Ensure app management and versioning is controlled
11
Worklight Server
Authentication
JSON Translation
Unified Push Notifications
Stats Aggregation
Server-side App Code
Adapter Library
Ente
rpri
se B
acke
nd
sys
tem
s an
d C
lou
d S
ervi
ces
Client-side App Resources
Mobile Web Apps
Direct Update
HTML5 Mobile Web Apps Support
What are mobile web apps?• Accessed by the mobile browser and
runs within it
• Unlike mobile web sites, written with client-side, dynamic web technologies (JavaScript)
How are HTML5 mobile web apps different?
• Cross-platform high-quality user experience
• Available offline with caching
12
Mobile Web Site Mobile Web App
HTML5 Mobile Web App
Mobile Web Apps – Benefits
No need to submit and get app store approval
Users always access the latest app version
Extend reach to mobile operating systems with browsers supporting HTML 4, CSS 2.1, and JS 1.5
• Such as Symbian S60 Ed 3
On iOS 4.3: Faster JS than in hybrid app • As long as user does not “add to home screen”
• App still reachable from browser's bookmarks or history
Branded presence on device
13
Developing Mobile Web Apps with the Worklight Studio
Development in Worklight Studio• New environment
• Only web content, no “native” folder
14
Serving Mobile Web Apps by the Worklight Server
Serving of app resources
Script files embedded and minified, style sheets concatenated and minified for download speed
HTML5 cache manifest built automatically
15
HTML
CSS1 CSS2JS1 JS2 JS3
HTML + JS1 + JS2 + JS3
CSS1 + CSS2HTML5 Cache
manifest
Concat
6 resources 2 resources
Direct Update of Apps
Direct update of application web resources• Supports for iOS and Android
• Native resources require uploading a new version to app stores
OS-specific restrictions• Android: no restrictions
• Apple
• B2C: Per company's terms of service; usually at least bug fixes are allowed
• B2E: Via enterprise developer program
Benefits• Users get latest application version without requiring explicit download
• Better app version control
• Time to market: Bypass app store or market review process where relevant
16
1. Detection upon startup and foreground
2. Dialog for easy user selection
3. App download progress bar
4. Application restarted automatically
Direct Update – User Experience
17
Direct Update – Under the Hood
Worklight Server
Native Shell
Pre-packaged resources
1 Download
4 Update web resource
App Store
Web resources
Cached resources
1. Web resources first packaged with app
• Ensures availability on offline first access
2. Web resources transferred to app's cache storage
3. App checks for updates • On startup
• On foreground
4. Updated web resources downloaded when necessary
2 Transfer
3 Check for updates
18
Direct Update – Development Process
Separate/multiple app versions per device
• Technically: Upgrading native components
• Legally: Significantly changing web functionality (iOS only)
App structure • Small change to application
descriptor
• No change to application structure
• New, automatically added checksum file
19
<application
version="1.0"
id="TestApp">
…
<android version="1.1"></android>
<iphone version="1.2"></iphone>
<mobileWebApp version="1.0"> </mobileWebApp>
<facebook version="1.0"></facebook>
var WL_CHECKSUM = {
"checksum": 1872177234,
"date": 1304863345674,
"machine": "X200-LP2"
}
TestApp/android/native/assets/www/default/wlclient/js/checksum.js:
Application descriptor:
Worklight ServerWorklight Studio
Direct Update – Deployment of Web Resources
Packages web content
Is direct update supported for the
environment? (iOS or Android)
Replace existing content
Is version of new package ≠ version of
existing?
Create a new copy
20
Yes
No No Yes
MyApp 1.0 for iOS
MyApp 1.1 for iOS
MyApp 1.0 for Android
MyApp 1.2 for Android
MyApp 1.0 for Mobile Web App
MyApp 1.2 for Mobile Web App
Direct Update – Worklight Console
21
Encrypted On-device Storage
22
Worklight Server
User
PKCS #5(PBKDF2
Function)
256-bit Data
Protection Key
Password
256-bit Credential
-based Key
Random key, Random salt
Random salt
User Data
AES 256
AES 256
Encrypted 256-bit
Data Protection
Key
Encrypted User Data
PKCS #5(PBKDF2
Function)
Key Generation Key & Data Encryption
Back-end
System
Back-end
System
Push Notification Console
23
Back-end
System
Back-end
System
Polling Adapters
Message-based
Adapters
Unified Push API
Notification State
Database
User-Device Database
iOSDispatcher
Android Dispatcher
BlackBerry Dispatcher
Windows Phone
Dispatcher
SMS Dispatcher
Apple Push Servers (APN)
Google Push
Servers (C2DM)
RIM Push Servers
Microsoft Push
Servers
SMS/MMS BrokersAdministrative Console
Worklight Client-side
Push Services
Worklight Client-side
Push Services
Worklight Client-side
Push Services
Worklight Client-side
Push Services
iOS Push API
Android Push API
BlackBerryPush API
WindowsPush API
Broker API
Data Sources
Push Services
Apps
Push Notification Console
24
For More Information
25
Resource Location
www.worklight.com/download Free TrialDeveloper Zone
www.worklight.com/resources Industry WhitepapersExpert WebinarsSelf-Guided TutorialsTechnical Resources