34
Worklight Overview © 2012 Worklight, Inc. All rights reserved. The information contained herein is the proprietary and confidential information of Worklight. IBM IDR SPGI – IBM Mobile Solutions December 12th 2012

IBM Worklight - Technical Overview

Embed Size (px)

DESCRIPTION

 

Citation preview

Worklight Overview

© 2012 Worklight, Inc. All rights reserved. The information contained herein is the proprietary and confidential information of Worklight.

IBM IDR SPGI – IBM Mobile Solutions December 12th 2012

Worklight Introdcution

2

Worklight is an open, complete and advanced mobile application platform for HTML5, hybrid and native apps.

Controlling the growing portfolio of applications deployed “in the wild”

Connecting the enterprise back-end services in a secure and scalable manner

Creating rich, yet cost-effective mobile apps in a fragmented technological landscape. Multiple apps, building in house, moving away from proprietary langs.

Mobile Apps – Top Challenges

3

Worklight Server Unified notifications, runtime skinning, version management, security, integration and delivery

Worklight Console A web-based console for real-time analytics and control of your mobile apps and infrastructure

Worklight Studio The most complete, extensible environment with maximum code reuse and per-device optimization

Worklight Overview

4

Worklight Runtime Components Extensive libraries and client APIs that expose and interface with native device functionality ←

5

Worklight Architecture

6

Worklight Application Types Native Apps

Platform-specific. Requires unique expertise, pricy and long to develop. Can deliver higher user experience.

Native Application

Device APIs

1001010101011101001010010010101110100100110101010101001001001011110010011001010101001010101010010101010101010101010111111000001010101010101001001010101010101000111101010001111010100111010101111100101101111010001011001110

Hybrid Apps - Mixed

User augments web code with native language for unique needs and maximized user experience.

Native Shell

Web Native

Device APIs

<!DOCTYPE html

PUBLIC created

2003-12 </p>

</body> </html>

10010101010111

01001010101010

10100100100101

11100100110010

Hybrid Apps - Web

HTML5 code and Worklight runtime libraries packaged within the app and executed in a native shell.

Native Shell

Web Code

<!DOCTYPE html PUBLIC <html>

<! - - created 2003-12-1 <head><title>XYZ</title

</head> </body>

</html>

Device APIs

Web Apps

Written in HTML5 JavaScript and CSS3. Quick and cheap to develop, but less powerful than native.

Mobile Browser

Web Code

<!DOCTYPE html PUBLIC <html>

<! - - created 2003-12-12 - -

<head><title>XYZ</title> </head>

<body> </p>

</body> </html>

Browser Access Downloadable Downloadable Downloadable

Browser Access Hybrid Apps - Web Hybrid Apps - Mixed Native Apps

Downloadable (Native) Apps

7

Application Stores

File System (on mobile device)

Native App (Java/Objective-C/C#)

Mobile Operating System

High-quality user experience and full device access. Platform-specific, requires unique expertise, expensive to develop and maintain.

Web Server

Web Apps

8

Mobile Browser

Native App (Java/Objective-C/C#)

Mobile Operating System

Written in HTML5 JavaScript and CSS3. Quick and cheap to develop. Less powerful than native and limited device access.

Hybrid Apps

9

Application Stores

File System (on mobile device)

Native Container

HTML, CSS, JavaScript

Mobile Operating System

Combines best of both worlds: Primarily written in HTML5, CSS, JS while allowing full access to device capabilities.

Integrated Development Environment (Eclipse Plug-in) Application development using native and/or familiar web technologies: • HTML5 • CSS3 • JavaScript

Integrated device SDKs allow direct access from within the IDE to emulators and code debugging utilities

Worklight Studio

10

Integrating Best-in-class Tools

11

Worklight is compatible with prominent HTML5 libraries and tools:

Preview in Browser

12

Incorporated Device SDKs

13

Incorporated Device SDKs – Continued

14

Apps – Single Shared Codebase

15

Common code placed in primary file Environment optimization code is maintained separately

Apps – Hybrid Coding – Native and Web

16

Combine HTML5 and native-based pages in the same application Call native code from HTML-based pages Display HTML and native components together on the same page

Secure back-end integration. XML-based declarative specification. Multi-source data mashups. Eclipse plug-in supporting auto-complete and validation. Simplified adapter testing . Server-side debugging. Web services and JDBC integration. Access to session data and user properties.

Back-end Integration

17

Back-end Integration – Adapters

18

• Select an adapter to deploy

• Right click on it Run As - Deploy Worklight Adapter

• The Worklight Studio will archive the adapter code and deploy it onto the Worklight Server

• You can see the deployed adapter in the Worklight Console

Centralized Build

19

Worklight Build System

Source Code Repository

Integ with RTC

Dynamic Control of Deployed Apps

• Centralized control of all installed applications and adapters • Remotely disable apps by device and version • Customize user messages

20

What are Push Notifications?

21

A Push Notification is the ability of a mobile devices to receive messages that are “pushed” from a server

Notifications are received regardless of whether the application is currently running or not

Notification may take several forms: • Alert – a pop-up text message

• Badge – a small badge mark appearing next to the application icon

• Sound alert

Key Elements of Push Notifications

22

Trigger • Behavior-based • Pre-defined • Rule-driven

Content type • Universal versus Personalized • Open versus Protected • Lean versus Detailed • Time-sensitive versus Any-time

User behavior • Read only • Read/Write • Act-Outside-the-App

Nice to have • Analytics, feedback, etc

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper dictum orci, in iaculis sem faucibus eget. Vivamus non diam id dui volutpat semper.

Lorem ipsum

Availability of Mobile Push Notifications Services

23

Apple iOS 3

Google Android 2.2

RIM BlackBerry 5

Microsoft Windows Phone 7

Push Services Management

24

Direct Update

App Versions relate to the native’s version.

In addition, at any time, you can update the web resources within the App.

This is useful for production Apps, but also reduces the development and testing overhead associated with re-installing the native App on a device or simulator.

New web resources are packaged in .wlapp files and deployed to the server. An App accessing the server will find the new resources and refresh itself.

Admins can also lock a version to prevent updating its web resources

25

Direct Update – On-device Logic

Worklight Server

Native Shell

Pre-packaged resources

1 Download

4 Update web resource

App Store

Web resources

Cached resources

1. Web resources packaged with app to ensure initial offline availability

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

26

Runtime Skinning – Use Cases

Different Screen Sizes

Different Input Method

Different Screen Densities

Support for HTML5

27

Skins provide support for multiple form factors in a single executable file for devices of the same OS family. Skins are sub-variant of an environment. Packaged together in one App. Decision on which skin to use is done automatically at runtime.

Direct Update - Distribution

28

Native Shell

Web Code

<!DOCTYPE html

PUBLIC <html>

<! - - created 2011-12-1

<head><title>XYZ</title

</head> </body>

</html>

V1.0

Worklight Studio

Application Stores (*)

Worklight Server

Develop: • Native app • Web resources

Web Resources

Native + Web Resources

Maintains recent web resources for native apps V1.0 and V1.1

Download

Native Shell

Web Code

<!DOCTYPE html

PUBLIC <html>

<! - - created 2011-12-1

<head><title>XYZ</title

</head> </body>

</html>

V1.1

(*) During development cycles, testers automatically get recent web resources via internal distribution mechanisms and not application stores.

Updated Web Resources for V1.0

Updated Web Resources for V1.1

Securing Mobile Apps

29

Enforcing security updates

Remote disable

Direct update

Providing robust authentication and

authorization

Authentication integration framework

Data protection

realms

Using device id as 2nd factor

Streamlining Corporate security

processes

Shell as organizational

sandbox

Application Security

Code obfuscation

SSL with server

identity verification

Proven platform security

Jailbreak and malware detection

App authenticity

testing

Protecting data on the device

Encrypted offline cache

Offline authentication

Secure challenge-response on

startup

Current Online Software Distribution

30

Download 30-day evaluation version

Documentation and wizards inside Studio

Full documentation available online, including over 40 online training modules

Support via portal, forum, e-mail

Need Skills?

31

Overview Preparation Technical Resources

Marketing Selling

This roadmap will guide you through the stages of building and taking your mobile solution to the market. Provides an overview, resources to learn more and actions you can take to help you succeed. Get access to our IBM roadmaps, the easiest way to get enabled:

IBM Roadmap for Mobile Enterprise

34