You are previewing IBM Worklight Mobile Application Development Essentials.
O'Reilly logo
IBM Worklight Mobile Application Development Essentials

Book Description

Your move onto mobile devices is simplified when you use IBM Worklight and this user-friendly tutorial. After a guided tour through the components you’ll learn how to utilize them to optimize your mobile applications.

In Detail

IBM Worklight helps you extend your business to mobile devices. It is designed to provide an open, comprehensive platform to build, run, and manage HTML5, hybrid, and native mobile apps. IBM Worklight can help you reduce both app development and maintenance costs, improve time-to-market, and enhance mobile app governance and security. The best part of IBM Worklight is that it contains numerous built-in modules used for Mobile Development to extend the functionalities to facilitate users.

This book will help you understand the development of Enterprise Mobile applications by introducing you to IBM Worklight and helping you create your own mobile applications. By the time you are half-way down through the book, you will gain a clear understanding of mobile application Development development with a high level architecture. By the end of the book, you will have knowledge of the best practices for Mobile Application Development using IBM Worklight and this will help you to build an IBM Worklight mobile app from scratch.

The book covers the most efficient practices of utilization and will assist you in developing Mobile applications in a very short time. You will then learn about advanced level development, for example, WorkLight security mechanisms, customizations, and data handling. In conclusion, you will be guided through the advanced features of IBM Worklight, which will help you modernize your mobile application to its best potential.

What You Will Learn

  • Explore the different components of IBM WorkLight
  • Install and set up the Worklight development environment to manage the application life cycle
  • Use adapters to integrate client applications with back-end data services.
  • Add the Android environment to a Worklight application
  • Develop your own authentication to obtain efficient security in your developed application.
  • Enhance your mobile app development skills with Worklight's best practices
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. IBM Worklight Mobile Application Development Essentials
      1. Table of Contents
      2. IBM Worklight Mobile Application Development Essentials
      3. Credits
      4. About the Authors
      5. Acknowledgement
      6. About the Reviewers
      7. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      8. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      9. 1. Getting Started with IBM Worklight
        1. The IBM Worklight solution
        2. Worklight capabilities and supported platforms
        3. Components of Worklight
          1. Worklight Studio
            1. Features of the Worklight Studio platform
              1. Pure native and web development
              2. Shell development and concept
              3. Optimized framework
              4. Integrated development and mobile simulator
          2. Worklight Device Runtime
          3. Worklight Server
          4. Worklight Console
          5. Worklight Application Center
        4. Summary
      10. 2. Installing Worklight
        1. Installing IBM Worklight Consumer Edition
          1. Installing IBM Installation Manager
            1. Installing IBM Worklight Server
              1. Configuring a database for the Worklight Server
            2. Configuring WebSphere Application Server (Liberty profile)
            3. Installing IBM Worklight Studio
            4. Installing IBM Worklight Developer Edition
        2. Installing Android SDK
        3. Summary
      11. 3. Creating a Basic Worklight Application
        1. Creating a simple IBM Worklight application
        2. Worklight project and application structure
          1. Application resources
        3. Rich Page Editor
          1. Adding an environment
            1. Verifying the server configuration
            2. Building the application
        4. Application skins
        5. Previewing an application in the mobile simulator
        6. Summary
      12. 4. Customizing the Worklight Application
        1. A quick overview of HTML5
        2. The IBM Worklight client-side API
          1. The WLClient JavaScript client library
        3. Exploring Dojo Mobile
        4. Designing your first Dojo application
        5. Adding an environment in IBM Worklight
          1. Application resources
            1. Application-descriptor
            2. The main HTML file
            3. Client scripts and stylesheets
            4. The application icon
            5. The splash screen
            6. The Worklight client property file
        6. Exploring the Android application environment
        7. Summary
      13. 5. Adding an Adapter
        1. IBM Worklight Adapter concept
          1. Exploring adapter files
          2. Types of adapters
            1. HTTP adapters
            2. SQL adapters
          3. Invoking the adapter procedure
          4. Calling Java code using an adapter
          5. Invoking Java code from the adapter
        2. Summary
      14. 6. Authentication and Security
        1. Worklight security principles, concepts, and terminologies
          1. Challenge handler
          2. Authenticator
          3. The login module
          4. Authentication realms
          5. Security test
        2. Examining generated realms, security test, and login modules
          1. Generating realms
          2. Generating login modules
          3. Generating security tests
        3. Creating adapter-based authentication
          1. Client side – adapter authentication components
          2. Challenge handler in Worklight
        4. Form-based authentication
          1. Security realm
          2. The login module
          3. Security test
          4. Challenge handler
        5. Custom authentication
        6. Summary
      15. 7. Advanced Features of IBM Worklight
        1. Push notification
          1. Device and platforms support
          2. Worklight push notification concepts and terminology
        2. WL client API
          1. WL.BusyIndicator
          2. WL.Logger
          3. WL.SimpleDialog
        3. Cordova plugins
        4. Encrypted Offline Cache
        5. Storage JSONStore
        6. Summary
      16. Index