IBM Worklight 5 Introduction

  • 1,625 views
Uploaded on

Giới thiệu IBM Worklight 5. …

Giới thiệu IBM Worklight 5.
Download IBM Worklight để cùng thực hành theo bài viết: http://www.ibm.com/developerworks/mobile/worklight.html?ca=dti-hivis-worklight&S_TACT=105AGY75

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,625
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
60
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Technical Briefing: IBM Worklight © 2012 IBM Corporation MobileIBM Mobile FoundationBuild, connect, manage and secure your mobile enterprise Includes • IBM Worklight IBM Mobile • IBM WebSphere Cast Iron Foundation • IBM Endpoint Manager for Mobile Devices Services Offering • IBM Software Services for Mobile Foundation2 © 2012 IBM Corporation
  • 2. MobileIBM WorklightOpen, cost-effective, cross-platform app development App development using App delivery in variety Compatible with prominent native and/or familiar of forms: HTML5 libraries and web technologies: • Mobile Web app tools: • HTML5 • Hybrid app • Native • CSS3 • JavaScript3 © 2012 IBM Corporation Mobile Worklight Studio The most complete, extensible environment with maximum code reuse and per-device optimization Worklight Server Unified notifications, runtime skins, version management, security, integration and delivery Worklight Runtime Components Extensive libraries and client APIs that expose and ← interface with native device functionality Worklight Console A web-based console for real-time analytics and control of your mobile apps and infrastructure Worklight App Center An application repository for distributing apps to dev, test and QA teams4 © 2012 IBM Corporation
  • 3. 5 Mobile Downloadable (Native) Apps High-quality user experience and full Application File System device access. Stores (on mobile device) Platform-specific, requires unique expertise, expensive to develop and maintain. Mobile Operating System 5 © 2012 IBM Corporation6 Mobile Web Apps Web Server Written in HTML5 JavaScript and CSS3. Quick and cheap to develop. Less powerful than native and limited device access. Mobile Operating System 6 © 2012 IBM Corporation
  • 4. 7 Mobile Hybrid Apps Combines best of both Application File System worlds: Stores (on mobile device) Primarily written in Native Container HTML5, CSS, JS while allowing full access to HTML, CSS, JavaScript device capabilities. Mobile Operating System 7 © 2012 IBM Corporation8 Mobile Worklight Shell Approach Allows development of Trusted App downloadable apps without any knowledge of native Repository File System development languages. (on mobile device) Dedicated teams with native expertise can provide custom native Native Container (“Shell”) with capabilities and security custom functionality for performance and security functions to app developers. HTML, CSS, JavaScript Mobile Operating System 8 © 2012 IBM Corporation
  • 5. MobileWorklight Architecture9 © 2012 IBM Corporation MobileWorklight Studio • Eclipse-based IDE • Combining native and standard web technologies in one multiplatform app • Environment-specific optimization • 3rd-party libraries integration • Device SDK integration • Back-end connectivity utilities10 © 2012 IBM Corporation
  • 6. MobileWorklight Studio • 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 utilities11 © 2012 IBM Corporation MobileSingle Shared Codebase •Common code placed in primary file •Environment optimization code is maintained separately12 © 2012 IBM Corporation
  • 7. MobileIncorporated Device SDKs13 © 2012 IBM Corporation MobileIncorporated Device SDKs – Continued14 © 2012 IBM Corporation
  • 8. MobileIntegrating Best-in-class Tools Worklight is compatible with prominent HTML5 libraries and tools:15 © 2012 IBM Corporation MobileIBM Worklight Studio v5.0• The IBM Worklight studio provides a visual development environment for building rich mobile applications• Maximize code reuse across mobile platforms while leveraging specifics• Key capabilities: • WYSIWYG UI Construction • Drag and Drop components • Improved Code Assist • Fast Preview in browser with device simulation • Integration with Native SDK • Improved Integration with Rational Team Concert • Integration with RAD via shell sharing16 © 2012 IBM Corporation
  • 9. MobileIBM Worklight Studio New / improved Bluewashed OS SDK Construct UI Preview Test in Create Preview Debug in Build in simulator Project Build browser App browser or device Code Business In Logic Studio In RTC17 © 2012 IBM Corporation MobileWYSIWYG UI Construction18 © 2012 IBM Corporation
  • 10. MobilePreview in browser Perform device specific tests in the Mobile Browser Simulator: supports PhoneGap and19 Worklight client API © 2012 IBM Corporation MobileWorklight RuntimeShell Approach Inner Application: Common web code Utilizes External Shell API’s Required to comply with shell parameters External Shell: Install as a native App (IPA/APK file) Customizable container Provides JS access to native functionality Branding, Security, Authentication20 © 2012 IBM Corporation
  • 11. Mobile The Shell-based Application Reducing the barriers of mobile development, making it ubiquitous across the organization, by compartmentalizing skill-sets and responsibilities Shell Team Inner App Team Distributed App • Security configurations • Shell fed by repository • Business logic and audits • Shell fused with app • Develop the UI • Authentication • Shell packaged with • Data integration • Mobile expertise directory App Store s21 © 2012 IBM Corporation MobileCentralized Build SDK Worklight Cmd Build Ant Line22 © 2012 IBM Corporation
  • 12. MobileRational Team Concert (RTC) integration Worklight supports shell-sharing with RTC eclipse client Worklight build scripts SDK are supported in RTC Worklight Cmd Build System Build Ant Line23 © 2012 IBM Corporation MobileWorklight Runtime Architecture Worklight Server Device Runtime Server-side Client-side Application Code App Resources Stats Aggregation Cross Platform Technology JSON Translation Direct Update Mobile Authentication Security and Authentication Web Apps Back-end Data Integration Post-deployment control and Unified Push Diagnostics Adapter Library Notifications24 © 2012 IBM Corporation
  • 13. MobileBack-end Integration • 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 properties25 © 2012 IBM Corporation MobileData Collection and Analytics26 © 2012 IBM Corporation
  • 14. MobileDirect Update – On-device Logic 1. Web resources packaged with app to ensure initial Native Shell offline availability 1 Download 2. Web resources transferred Pre-packaged resources to apps cache storage App Store 3. App checks for updates 2 Transfer • On startup • On foreground 3 Check for updates 4. Updated web resources Cached downloaded when Worklight Web resources necessary Server resources Update 4 web resource27 © 2012 IBM Corporation MobileWorklight Console • Application Version Management • Push management • Usage reports and analytics • Reports of custom application events • Configurable audit log • Administrative dashboards for: • Deployed applications • Installed adapters • Push notifications • Data export to BI enterprise systems28 © 2012 IBM Corporation
  • 15. MobileWorklight Console • Application Version Management • Push management • Usage reports and analytics • Reports of custom application events • Configurable audit log • Administrative dashboards for: • Deployed applications • Installed adapters • Push notifications • Data export to BI enterprise systems29 © 2012 IBM Corporation MobileWorklight Console30 © 2012 IBM Corporation
  • 16. Mobile Mobile Application CenterA cross platform private mobile application store similar topublic app stores but focused on the needs of a Dev, Test,QA organization or a teamEase highly iterative development process and distributionof mobile applicationsKey capabilities: Delivers distribution and management of mobile applications within a company / teams Easy distribution of iOS and Android apps within a team Supports any mobile applications Provides versioning and updates App store supporting iterative Centralizes rating and feedback information development lifecycle to improve collaboration with application Controls who can modify or install an application stakeholders, QA and Easy to install and simple to run Development teams Cross platform, technology agnostic mobile application store31 © 2012 IBM Corporation MobileEnhanced Application Governance capabilities IBM Worklight V5.0.532 © 2012 IBM Corporation
  • 17. Mobile Enhanced Application Governance capabilities - Details33 © 2012 IBM Corporation MobileUpdated App Center AppCenter brings ACL support for provisioned rollouts to groups and individuals IBM Endpoint Manager (IEM) integration for marking apps as ready for production for import into IEM True removal of applications in the app center Support of icon sets Support for production databases34 © 2012 IBM Corporation
  • 18. MobileApplication Center role-based administration35 © 2012 IBM Corporation MobileNative Application Governance36 © 2012 IBM Corporation
  • 19. MobileNew / Enhanced Platform capabilities IBM Worklight V5.0.537 © 2012 IBM Corporation Mobile New / Enhanced Platform capabilities - Details38 © 2012 IBM Corporation
  • 20. MobileNew Java ME support39 © 2012 IBM Corporation MobileNew environment – Windows 8 Applications IBM Worklight brings support for Windows 8 Applications Windows 8 environment can be added from Add New Environment wizard Once built IBM Worklight will generate a native Windows 8 Application project that can be edited and compiled using Microsoft Visual Studio40 © 2012 IBM Corporation
  • 21. MobileUpdated environment – Windows Phone 7 Prior to WL 5.0.5 Windows Phone 7 environment had old custom PhoneGap version that limited the usage of many features In WL 5.0.5 Windows Phone 7 environment was upgraded to have the latest Cordova 2.2 version v0.95 V2.241 © 2012 IBM Corporation MobileNew feature – SMS notifications Prior to 5.0.5 Worklight supported push notifications on two platforms – iOS and Android In WL 5.0.5 new type of notifications is added – SMS notifications As SMS messages are not platform dependant the feature is supported on all mobile platforms – iOS, Android, BlackBerry and Windows Phone Hard requirement – mobile device is required to have a SIM card and support SMS text messaging SMS messages are implemented using the same EventSource model as push notifications. This means that very minimal changes/additions are required in client side code and no changes are required on server side Various types of SMS gateways are supported, configuration is done in a single XML file using templates42 © 2012 IBM Corporation
  • 22. MobileNew feature – JMS adapter New Worklight adapter type is added to simplify communications with JMS data sources Allows retrieving and publishing messages from/to JMS queues Can be used in conjunction with EventSources to create fluid push notifications43 © 2012 IBM Corporation MobileNew / Enhanced Apps and Tooling capabilities IBM Worklight V5.0.544 © 2012 IBM Corporation
  • 23. Mobile New / Enhanced Apps and Tooling capabilities - Details45 © 2012 IBM Corporation MobileNew feature - native API for Android / iOS / JavaME New ability introduced in WL 5.0.5 Native iOS / Android and JavaME application can use supplied Worklight APIs library to communicate with WL server and benefit from its advanced features like • Application management • Ability to restrict application usage • Integration adapters • Authentication framework New application type is created using Worklight Studio Application meta-data, settings and library files are created for developers to use Tutorials and samples for all environments will be provided46 © 2012 IBM Corporation
  • 24. MobilejQuery Mobile WYSIWYG editing47 © 2012 IBM Corporation Mobile jQuery Mobile selector highlighting48 © 2012 IBM Corporation
  • 25. MobileNew / Enhanced Mobile Capabilities IBM Worklight V5.0.549 © 2012 IBM Corporation Mobile Security Updates - Overview50 © 2012 IBM Corporation
  • 26. MobileNew feature – custom device provisioning Worklight authentication framework provides ability to identify and authenticate various types of entities Usually only user authentication is performed by collecting and validating user credentials, e.g. username and password Custom device provisioning technique allows to implement custom device authentication When application tries to connect to the WL server for the first time the custom provisioning sequence is initiated Information about device is collected and sent to WL server WL server communicates with custom enterprise provisioning server to verify whether this device is allowed to access requested data In case device is approved it’s being provisioned with supplied certificate Additional custom validations can be performed, e.g. user receives a text message (SMS) with one-time pin code to confirm his device51 © 2012 IBM Corporation Mobile Mobile Data support - Details52 © 2012 IBM Corporation
  • 27. MobileUpdated functionality – server side reports viewer IBM Worklight comes with an extensive reporting mechanism Both predefined and custom actions can be logged and processed In WL 5.0.5 we’re documenting a way to use server side BIRT reports viewer application to view reports generated by WL server Separate reports are generated for application usage and notifications data (both push and SMS)53 © 2012 IBM Corporation MobileWindows 8 Clarifications OS Version Details on OS Version Supported in V5.0.5 Windows 8 and Windows 8 Pro Windows 8 is the official product name for the Yes next x86/64 editions of Windows. Support for legacy desktop Windows 8 Pro is the Business version of apps Windows 8. It includes all the features in Windows 8 plus features for encryption, Support for apps built using new virtualization, PC management and domain Windows 8 modern UI connectivity. (Previously named Metro UI) Windows 8 and Windows 8 Pro is supported for ((X86, Intel/AMD, 32 bit/64 bit) based devices Windows Phone 8 Next generation of Windows Smart Phone No. Operating system High Priority and Planned Support in Post V5.0.5 release (2013) Windows 8 RT A feature-limited Windows 8 version to run on Support for Windows 8 should ARM processors. This includes ARM based also cover Windows 8 RT/RT devices such as Tablets and Microsoft Pro Surface. All Apps built using Windows 8 Windows 8 RT Pro Intel Based for High end tablets modern UI can run on all the versions (Windows 8, Windows 8 Pro, Windows RT and Windows RT Pro)54 © 2012 IBM Corporation