Worklight building, deploying and running mobile applications


Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Worklight building, deploying and running mobile applications

  1. 1. Worklight: building, deploying, and runningmobile applicationsDaniel Yellin, PhD,Director, IBM Mobile Platform Development and Israel Software Lab © 2012 IBM Corporation
  3. 3. OverviewExample applicationKey features of WorklightFuture Directions © 2012 IBM Corporation
  4. 4. CityPulse: Connecting municipalities with their citizens © 2012 IBM Corporation
  5. 5. Mobile citizens © 2012 IBM Corporation
  6. 6. Analytics © 2012 IBM Corporation
  7. 7. Challenges Supporting multiple devices Application governance and management Analytics © 2012 IBM Corporation
  8. 8. Delivering for multiple mobile platformsIBM WorklightFast and cost-effective development, integration and management of rich, cross-platform mobileapplications Client Challenge Using standards-based technologies and tools and delivering an enterprise-grade platform that meets the needs of mobile employees and customers Key Principles Mobile-optimized middleware Open approach to mobile development and 3rd-party integration HTML5 as the core cross-platform technology Reduces the overhead for enterprise- grade mobile apps: integration, security and authentication, application management, analytics, development process, B2C, B2E, and B2B © 2012 IBM Corporation
  9. 9. Approaches to application development BrowserApps Web Access Hybrid Apps - Web Hybrid Apps Web Hybrid Apps - Hybrid Apps - Mixed Native Apps Native Apps Mixed Written in HTML5 HTML5 code and User augments web Platform-specific. JavaScript and Worklight runtime code with native Requires unique CSS3. Quick and libraries packaged language for unique expertise, pricy and cheap to develop, within the app and needs and long to develop. but less powerful executed in a native maximized user Can deliver higher than native. shell. experience. user experience. Mobile Browser Native Shell Native Shell Native Application 1001010101011101001010 Web Code Web 0100101011101001001101 0101010100100100101111 Web Code <!DOCTYPE html PUBLIC Native <!DOCTY 1001010 0010011001010101001010 PE html 1010111 1010100101010101010101 <html> 0100101 <!DOCTYPE html PUBLIC <! - - created 2003-12-1 PUBLIC 0101011111100000101010 created 0101010 <html> <head><title>XYZ</title 1010010 1010101001001010101010 <! - - created 2003-12-12 - </head> 2003-12 </p> 0100101 1010001111010100011110 - </body> 1110010 </html> </body> 1010011101010111110010 <head><title>XYZ</title> 0110010 </head> </html> 1101111010001011001110 <body> </p> </body> </html> Device APIs Device APIs Device APIs Browser Access Downloadable Downloadable Downloadable © 2012 IBM Corporation
  10. 10. Worklight delivers all types of native, hybrid, and mobile web in asingle solution Worklight Studio The most complete, extensible development environment with maximum code reuse and per-device optimization Worklight Server Mobile middleware offering unified push notifications, version management, security and integration Worklight Runtime Components Extensive libraries and client APIs that expose and ← interface with native device functionality and the Worklight Server Worklight Console & Enterprise App Store A web-based console for real-time analytics and control of your mobile apps and infrastructure © 2012 IBM Corporation
  11. 11. Common web codebase facilitates reuse • Common code is placed in a primary location • Environments optimizations allow overrides to the common code • Worklight optimizes the delivery and merge of the various environments © 2012 IBM Corporation
  12. 12. Native build and test with device SDKs• Create native components as needed• Final packaging step for hybrid apps• Debug native components using device SDK simulators © 2012 IBM Corporation
  13. 13. Provide different user experiences with runtime skins Different Screen Sizes Different Screen Densities Different Input Method Support for HTML5 © 2012 IBM Corporation
  14. 14. Mobile UI visualization Worklight Design Perspective Mobile Views Rich Page Editor Palette • Select which view • Source, Design and Split • Drag and drop visual displays in design tab views elements into the Editor • Modify view properties • UI rendering using pane. • Create and delete browser engine, synched • Offers HTML constructs mobile views with source pane and Dojo widgets © 2012 IBM Corporation
  15. 15. Worklight – Device Runtime Extensive libraries and client APIs that expose and interface with native device functionality and the Worklight server •Cross-Platform Compatibility Layer •Server Integration Framework •Encrypted Storage •Offline Authentication •Runtime Skinning •Statistics and Diagnostics Reporting © 2012 IBM Corporation
  16. 16. Encrypted cache on-device • A mechanism for storing sensitive data on the client side • Implemented using HTML5 local storage technology • Encrypts data with a combination of user- provided key and server-retrieved randomly generated token for security • Stores data using key-value pairs • Like a security deposit box – it will remain open until you close it, so don’t forget to close the cache once you are done working with it © 2012 IBM Corporation
  17. 17. Worklight Server An middleware component which deliveries unified notifications, runtime skinning, version management, security features, and integration Services • Distribution of mobile web apps • Enterprise connectivity: • Secure client/server connectivity • Direct access to enterprise back-end data and transaction capabilities • Authentication enforcement • Client control: • Application version management and remote disabling • Direct update of application code • Unified Push Notifications • Aggregation of usage statistics © 2012 IBM Corporation
  18. 18. Worklight’s Unified Push Notifications Framework Apple Worklight Push Client-side iOS iOS Push API Servers Push (APN) Services DispatcherBack-end Notification Google Back-end Polling Worklight System State Android Push Client-side System Adapters Android Database Push API Servers Push Dispatcher Services (C2DM) Unified BlackBerry BlackBerry Worklight Dispatcher RIM Push Client-side Push API Push API Servers Push Roadmap Services Message- User- Win PhoneBack-end Windows Microsoft Worklight Back-end Dispatcher System based Device Push API Push Client-side System Roadmap Push Adapters Database Servers Services SMS Dispatcher Broker API Roadmap SMS/MMS Brokers Administrative Console © 2012 IBM Corporation
  19. 19. Security Features Mapping Protecting data on the Enforcing security device updates Secure App Compatibility Encrypted Offline challenge- Remote Direct authenticity with jailbreak offline cache authentication response on disable update testing detection libs startup SSL with Mobile Auth Data Proven Device server Code platform as a integration protection platform provisioning identity protection trust factor framework realms security verification Streamlining Providing robust Application Corporate security authentication and Security processes authorization © 2012 IBM Corporation
  20. 20. 20 © 2012 IBM Corporation
  21. 21. Direct update 1. Web resources initially Native Shell packaged with the app to 1 Download ensure first offline availability Pre-packaged resources 2. Web resources transferred to App Store apps cache storage 2 Transfer 3. App checks for updates • On startup 3 Check for updates • On return to foreground Cached 4. Updated web resources Worklight Web resources downloaded when Server resources necessary 4 Update web resource © 2012 IBM Corporation
  22. 22. Direct update – client user experience1. Detection upon startup and foreground2. Dialog for easy user selection3. App download progress bar4. Application restarts automatically © 2012 IBM Corporation
  23. 23. Enterprise Store: Download Application over-the-air to the device © 2012 IBM Corporation
  24. 24. Provide Feedback or switch back © 2012 IBM Corporation
  25. 25. Feedback aggregated on Application Center console © 2012 IBM Corporation
  26. 26. Analytics IBM Worklight comes with an extensive reporting mechanism Both predefined and custom actions can be logged and processed 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)26 © 2012 IBM Corporation
  27. 27. New features and enhances in IBM Worklight v5.0.5 • Enterprise App Store Application • Application Governance Governanc • Integration with IBM e MDM (IBM Endpoint Manager) • SMS notifications • New target devices: Windows 8, Java ME Platform • New integration points: JMS adapter • Updates: iOS6,Android 4.1, Cordova 2.2 IBM Worklight V5.0.5 • Native libraries for iOS Apps and and Android Tooling • jQuery tooling support • on-device, offline available, reliable, Advanced scalable, encryptable, Mobile and syncable JSON capabilities database • Server triggered security challenges27 © 2012 IBM Corporation
  28. 28. New environment – Windows 8 Metro Applications IBM Worklight brings support for Windows 8 Metro Applications Windows 8 environment can be added from Add New Environment wizard Once built IBM Worklight will generate a native Windows 8 Metro Application project that can be edited and compiled using Microsoft Visual Studio28 © 2012 IBM Corporation
  29. 29. Legal Disclaimer • © IBM Corporation 2011. All Rights Reserved. • The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. • References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. • If the text contains performance statistics or references to benchmarks, insert the following language; otherwise delete: Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the users job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here. • If the text includes any customer examples, please confirm we have prior written approval from such customer and insert the following language; otherwise delete: All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. • Please review text for proper trademark attribution of IBM products. At first use, each product name must be the full name and include appropriate trademark symbols (e.g., IBM Lotus® Sametime® Unyte™). Subsequent references can drop “IBM” but should include the proper branding (e.g., Lotus Sametime Gateway, or WebSphere Application Server). Please refer to for guidance on which trademarks require the ® or ™ symbol. Do not use abbreviations for IBM product names in your presentation. All product names must be used as adjectives rather than nouns. Please list all of the trademarks that you use in your presentation as follows; delete any not included in your presentation. IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International Business Machines Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both. • If you reference Adobe® in the text, please mark the first use and include the following; otherwise delete: Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries. • If you reference Java™ in the text, please mark the first use and include the following; otherwise delete: Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. • If you reference Microsoft® and/or Windows® in the text, please mark the first use and include the following, as applicable; otherwise delete: Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. • If you reference Intel® and/or any of the following Intel products in the text, please mark the first use and include those that you use as follows; otherwise delete: Intel, Intel Centrino, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. • If you reference UNIX® in the text, please mark the first use and include the following; otherwise delete: UNIX is a registered trademark of The Open Group in the United States and other countries. • If you reference Linux® in your presentation, please mark the first use and include the following; otherwise delete: Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. • If the text/graphics include screenshots, no actual IBM employee names may be used (even your own), if your screenshots include fictitious company names (e.g., Renovations, Zeta Bank, Acme) please update and insert the following; otherwise delete: All references to [insert fictitious company name] refer to a fictitious company and are used for illustration purposes only.29 © 2012 IBM Corporation