Book Image

IBM Worklight Mobile Application Development Essentials

Book Image

IBM Worklight Mobile Application Development Essentials

Overview of this book

Table of Contents (15 chapters)
IBM Worklight Mobile Application Development Essentials
Credits
About the Authors
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Storage JSONStore


IBM Worklight delivers an API that does its work with JSONStore, consuming the WL.JSONStore class using the JavaScript-defined method. While JSONStore features allows persistent storage of JavaScript Object Notation (JSON) documents, as well as developer can utilize security by enabling data encryption such as AES (Advance Encryption Standard) with 256-bit and PBKDF2 (Password based key Derivation Function 2).

JSONStore has more features over EOC and will be time saving and easy to implement approach with other benefits such as file-based storage, data encryption, integration with Worklight Adapter, indexing, JavaScript APIs for data manipulation, and fully supported in Android and iOS platform.

By means of the JSONStore API, you can encompass the functionality of the existing adapter connectivity model to store data locally and force modifications from the client to a server.

JSONStore must be initialized on application startup with the help of this WL.JSONStore.initCollection...