sencha space review

53
Grgur Grisogono @ggrgur

Upload: grgur-grisogono

Post on 11-May-2015

1.737 views

Category:

Technology


2 download

DESCRIPTION

Review of Sencha Space BYOD enterprise hybrid web app solution Includes tips and tricks, sencha space vs cordova, deployment info, source code

TRANSCRIPT

Page 1: Sencha Space review

Grgur Grisogono @ggrgur

Page 2: Sencha Space review

B Y ODEnterprise Software

Provided to

Unmanaged devices

Page 3: Sencha Space review
Page 4: Sencha Space review

HTML5

Phones + TabletsSecure

Central (remote) Management

Console

Cross-platform

Framework agnostic

Page 5: Sencha Space review

Sencha Space Mobile Client

Components

Management Console

Enterprise Web App+ +

Page 6: Sencha Space review

Sencha Space Mobile Client

Components

Management Console

Enterprise Web App+ +

Page 7: Sencha Space review

Management Console

Page 8: Sencha Space review

!

Phones Tablets Desktop

Management Console

√ √ √Runs on

Page 9: Sencha Space review

Mobile Client

HTML Application Host

Any web app/site allowed

API exposed

Page 10: Sencha Space review

Space Menu with refresh,

back, forward buttons

Application & Organization

Switcher

Application Name (from <title>)

Application area

Layout

Page 11: Sencha Space review

Applications available

Account info

Change Organizations

Application Switcher

Page 12: Sencha Space review

Supported Platforms

BetaBeta

Page 13: Sencha Space review

Application Requirements

A valid HTML document !

!

Deployed on a server (public or private)

1.2.

Page 14: Sencha Space review

Sencha Touch

NOTrequired

Page 15: Sencha Space review

Locally hosted apps

ALLOWED

Page 16: Sencha Space review

SecuritySecureFiles API

SecureLocalStorage API

Data encryption w/ secure key management

Configurable security policies

Immediate ACL propagation

Remote data wipe

Page 17: Sencha Space review

Security

Every app has it’s own isolated WebView

Page 18: Sencha Space review

Jailbreakers NOT Welcome

NOW

CONFIGURABLE

Page 19: Sencha Space review

Application URLs are never exposed

Page 20: Sencha Space review

Authentication

SAML

LDAP

Email (classic)

Page 21: Sencha Space review

API

Security Layer Device Layer Comm Layer

SecureFiles SecureLocalStorage

Camera Connectivity Notification Vibration

Device info Orientation

Promise Invoke

Downloads

Page 22: Sencha Space review

Promise Land

All asynchronous calls use Promises

Page 23: Sencha Space review

Promise Land

Promises A+ spec promisesaplus.com

Page 24: Sencha Space review

Debugging

Safari Remote Inspector x

Chrome Remote Inspector x

Weinre √

Tip: use a local weinre instance

Page 25: Sencha Space review

Space vs Cordova

Page 26: Sencha Space review

Space vs Cordova

No libraries or building required

Cordova and platform tools & libraries,

building required

Page 27: Sencha Space review

Space vs Cordova

No native plugins Plenty of plugins available

Page 28: Sencha Space review

Space vs Cordova

Limited access to native components

Virtually all native APIs accessible

Page 29: Sencha Space review

Space vs Cordova

Good cross-application communication *Apps contained in Sencha Space

N/A, but Cordova apps can

communicate to other apps on device

Page 30: Sencha Space review

Space vs Cordova

Remote server needed

No remote server or services needed

Page 31: Sencha Space review

Space vs Cordova

Built in user and group management ACLs N/A

Page 32: Sencha Space review

Space vs Cordova

Automatic updates pushed without App store

App store and app verification needed to

push updates

Page 33: Sencha Space review

Space vs Cordova

Timed offline lease available (security feature)

100% offline apps with custom refresh

logic as needed

Page 34: Sencha Space review

Space vs Cordova

Secure LocalStorage and File System

No built in security options for files

and data

Page 35: Sencha Space review

Space vs Cordova

Remote user, device, and app management *for Space apps

Remote management N/A

Page 36: Sencha Space review

Space vs Cordova

WebView secured WebView exposed

Page 37: Sencha Space review

Space vs Cordova

Can deny access to Jailbroken/Rooted devices

No built-in Jailbreak/Root

detection

Page 38: Sencha Space review

Space vs Cordova

VPN support No built-in VPN support

Page 39: Sencha Space review

Space vs Cordova

Free for 10 users and 10 apps in an organization. Paid plans available

Free

Page 40: Sencha Space review

Real Life Experience

Page 41: Sencha Space review

Register Application ID in the Management Console if you

need Invoke functionality!

Page 42: Sencha Space review

SecureLocalStorage is

ASYNCHRONOUS !

(unlike LocalStorage)!

Page 43: Sencha Space review

You can use MULTIPLE SecureLocalStorage

instances!

Page 44: Sencha Space review

SecureLocalStorage data is saved to an isolated

SQLite database !!

Page 45: Sencha Space review

Each application has it’s own SQLite database!!

Page 46: Sencha Space review

Apps CANNOT share SecureLocalStorage

or SecureFiles!

Page 47: Sencha Space review

Arbitrary SQLite adapter is currently not available!

Page 48: Sencha Space review

LocalStorage: storage.getItem(‘myKey’);  

!

!

vs  !

SecureLocalStorage: storage.get(‘myKey’);!

(ASYNCHRONOUS, RETURNS PROMISE)

(SYNCHRONOUS, RETURNS VALUE)

Page 49: Sencha Space review

There is a 100-400 ms delay between document ready and Space ready!

Page 50: Sencha Space review

Space API is available to any HTML document,

whether it uses a Sencha framework or not !

Page 51: Sencha Space review

Sencha Touch developers could benefit from using

workspaces and packages through Sencha Cmd!

Page 52: Sencha Space review

While developing, set up your apps to run from a

locally hosted environment instead of a publicly

exposed server!

Page 53: Sencha Space review

Grgur Grisogono [email protected]

@

Read the review: http://moduscreate.com/sencha-space-review/

Space Up Your Apps!