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

Adding an environment in IBM Worklight


Using Worklight Studio, developers can simply add environments to their Worklight application and start writing code that is specific to multiple mobile or web environments. If you need to maintain a version of your IBM Worklight application for any specific mobile platform, then you should add the environment that originated from a particular platform to your application. For instance, if you want to create an Android version of your Worklight app, you must add an Android environment. When you start adding an environment in your application, it actually creates a new folder, called the common folder, for that specified environment. It contains all the resources for that new environment.

While creating a project in Worklight, it creates a common folder within the app to use web technologies such as HTML5 and JS to implement UI and logic with frameworks such as jQuery and Dojo. This common folder stores its files in the following structure:

The Worklight...