sencha space review
DESCRIPTION
Review of Sencha Space BYOD enterprise hybrid web app solution Includes tips and tricks, sencha space vs cordova, deployment info, source codeTRANSCRIPT
![Page 1: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/1.jpg)
Grgur Grisogono @ggrgur
![Page 2: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/2.jpg)
B Y ODEnterprise Software
Provided to
Unmanaged devices
![Page 3: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/3.jpg)
![Page 4: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/4.jpg)
HTML5
Phones + TabletsSecure
Central (remote) Management
Console
Cross-platform
Framework agnostic
![Page 5: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/5.jpg)
Sencha Space Mobile Client
Components
Management Console
Enterprise Web App+ +
![Page 6: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/6.jpg)
Sencha Space Mobile Client
Components
Management Console
Enterprise Web App+ +
![Page 7: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/7.jpg)
Management Console
![Page 8: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/8.jpg)
!
Phones Tablets Desktop
Management Console
√ √ √Runs on
![Page 9: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/9.jpg)
Mobile Client
HTML Application Host
Any web app/site allowed
API exposed
![Page 10: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/10.jpg)
Space Menu with refresh,
back, forward buttons
Application & Organization
Switcher
Application Name (from <title>)
Application area
Layout
![Page 11: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/11.jpg)
Applications available
Account info
Change Organizations
Application Switcher
![Page 12: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/12.jpg)
Supported Platforms
BetaBeta
![Page 13: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/13.jpg)
Application Requirements
A valid HTML document !
!
Deployed on a server (public or private)
1.2.
![Page 14: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/14.jpg)
Sencha Touch
NOTrequired
![Page 15: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/15.jpg)
Locally hosted apps
ALLOWED
![Page 16: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/16.jpg)
SecuritySecureFiles API
SecureLocalStorage API
Data encryption w/ secure key management
Configurable security policies
Immediate ACL propagation
Remote data wipe
![Page 17: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/17.jpg)
Security
Every app has it’s own isolated WebView
![Page 18: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/18.jpg)
Jailbreakers NOT Welcome
NOW
CONFIGURABLE
![Page 19: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/19.jpg)
Application URLs are never exposed
![Page 20: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/20.jpg)
Authentication
SAML
LDAP
Email (classic)
![Page 21: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/21.jpg)
API
Security Layer Device Layer Comm Layer
SecureFiles SecureLocalStorage
Camera Connectivity Notification Vibration
Device info Orientation
Promise Invoke
Downloads
![Page 22: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/22.jpg)
Promise Land
All asynchronous calls use Promises
![Page 24: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/24.jpg)
Debugging
Safari Remote Inspector x
Chrome Remote Inspector x
Weinre √
Tip: use a local weinre instance
![Page 25: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/25.jpg)
Space vs Cordova
![Page 26: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/26.jpg)
Space vs Cordova
No libraries or building required
Cordova and platform tools & libraries,
building required
![Page 27: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/27.jpg)
Space vs Cordova
No native plugins Plenty of plugins available
![Page 28: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/28.jpg)
Space vs Cordova
Limited access to native components
Virtually all native APIs accessible
![Page 29: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/29.jpg)
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](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/30.jpg)
Space vs Cordova
Remote server needed
No remote server or services needed
![Page 31: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/31.jpg)
Space vs Cordova
Built in user and group management ACLs N/A
![Page 32: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/32.jpg)
Space vs Cordova
Automatic updates pushed without App store
App store and app verification needed to
push updates
![Page 33: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/33.jpg)
Space vs Cordova
Timed offline lease available (security feature)
100% offline apps with custom refresh
logic as needed
![Page 34: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/34.jpg)
Space vs Cordova
Secure LocalStorage and File System
No built in security options for files
and data
![Page 35: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/35.jpg)
Space vs Cordova
Remote user, device, and app management *for Space apps
Remote management N/A
![Page 36: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/36.jpg)
Space vs Cordova
WebView secured WebView exposed
![Page 37: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/37.jpg)
Space vs Cordova
Can deny access to Jailbroken/Rooted devices
No built-in Jailbreak/Root
detection
![Page 38: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/38.jpg)
Space vs Cordova
VPN support No built-in VPN support
![Page 39: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/39.jpg)
Space vs Cordova
Free for 10 users and 10 apps in an organization. Paid plans available
Free
![Page 40: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/40.jpg)
Real Life Experience
![Page 41: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/41.jpg)
Register Application ID in the Management Console if you
need Invoke functionality!
![Page 42: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/42.jpg)
SecureLocalStorage is
ASYNCHRONOUS !
(unlike LocalStorage)!
![Page 43: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/43.jpg)
You can use MULTIPLE SecureLocalStorage
instances!
![Page 44: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/44.jpg)
SecureLocalStorage data is saved to an isolated
SQLite database !!
![Page 45: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/45.jpg)
Each application has it’s own SQLite database!!
![Page 46: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/46.jpg)
Apps CANNOT share SecureLocalStorage
or SecureFiles!
![Page 47: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/47.jpg)
Arbitrary SQLite adapter is currently not available!
![Page 48: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/48.jpg)
LocalStorage: storage.getItem(‘myKey’);
!
!
vs !
SecureLocalStorage: storage.get(‘myKey’);!
(ASYNCHRONOUS, RETURNS PROMISE)
(SYNCHRONOUS, RETURNS VALUE)
![Page 49: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/49.jpg)
There is a 100-400 ms delay between document ready and Space ready!
![Page 50: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/50.jpg)
Space API is available to any HTML document,
whether it uses a Sencha framework or not !
![Page 51: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/51.jpg)
Sencha Touch developers could benefit from using
workspaces and packages through Sencha Cmd!
![Page 52: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/52.jpg)
While developing, set up your apps to run from a
locally hosted environment instead of a publicly
exposed server!
![Page 53: Sencha Space review](https://reader038.vdocument.in/reader038/viewer/2022102618/554f91d0b4c905d25b8b523d/html5/thumbnails/53.jpg)
Grgur Grisogono [email protected]
@
Read the review: http://moduscreate.com/sencha-space-review/
Space Up Your Apps!