1 IBM Worklight hands on lab: First steps in Worklight Table of contents TABLE OF CONTENTS .................................................................................................................................................................. 1 INTRODUCTION .......................................................................................................................................................................... 2 REQUIRED SOFTWARE ................................................................................................................................................................ 2 INSTALLING WORKLIGHT STUDIO ............................................................................................................................................... 3 CREATING A WORKLIGHT PROJECT ............................................................................................................................................. 6 FIRST STEPS IN WORKLIGHT ENVIRONMENT .............................................................................................................................. 9 FILE STRUCTURE .................................................................................................................................................................................. 9 DEVELOPMENT INTERFACE..................................................................................................................................................................... 9 TESTING YOUR APPLICATION.................................................................................................................................................... 11 DOJO MOBILE INTRODUCTION ................................................................................................................................................. 12 WHAT IS DOJO AND WHY USE IT IN YOUR PROJECT? ................................................................................................................................. 12 CREATING A NEW WORKLIGHT APPLICATION ........................................................................................................................... 13 APPLICATION DEPLOYMENT TO ANDROID/IOS......................................................................................................................... 21 CREATING A NEW ANDROID VIRTUAL DEVICE .......................................................................................................................................... 21 DEPLOYMENT FOR ANDROID IN WORKLIGHT ........................................................................................................................................... 22
25
Embed
IBM Worklight hands on lab: First steps in Worklight · PDF fileIBM Worklight hands on lab: First steps in Worklight ... simply right-click on NewsApp ... scroll to part ^NewsApp
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
1
IBM Worklight hands on lab: First steps in Worklight
Table of contents
TABLE OF CONTENTS .................................................................................................................................................................. 1
INSTALLING WORKLIGHT STUDIO ............................................................................................................................................... 3
CREATING A WORKLIGHT PROJECT ............................................................................................................................................. 6
FIRST STEPS IN WORKLIGHT ENVIRONMENT .............................................................................................................................. 9
DEVELOPMENT INTERFACE ..................................................................................................................................................................... 9
TESTING YOUR APPLICATION .................................................................................................................................................... 11
DOJO MOBILE INTRODUCTION ................................................................................................................................................. 12
WHAT IS DOJO AND WHY USE IT IN YOUR PROJECT? ................................................................................................................................. 12
CREATING A NEW WORKLIGHT APPLICATION ........................................................................................................................... 13
APPLICATION DEPLOYMENT TO ANDROID/IOS......................................................................................................................... 21
CREATING A NEW ANDROID VIRTUAL DEVICE .......................................................................................................................................... 21
DEPLOYMENT FOR ANDROID IN WORKLIGHT ........................................................................................................................................... 22
2
Introduction Welcome to the first part of Worklight tutorial. This lab will guide you through installation of environment needed to
develop applications for Worklight platform, creating your first application and enhancing its possibilities with DoJo
toolkit.
The application is called NewsApp and is designed to show easily-readable form of designated RSS feed.
Programming of this app is structured into several steps, which allows you to fully comprehend development of
hybrid applications using the Worklight platform and web techniques, such as HTML5, CSS and JavaScript. Interface
of the app is created using prepared components of DoJoX Mobile toolkit. DoJo toolkit as such is bundled with IBM
Worklight solution.
After completion of this lab you should have gained understanding of:
Installation of IBM Worklight Studio
How to create a Worklight project and Worklight application
Development techniques and procedures in WL Studio
File structure of WL Project
Basic usage and principles of DoJo Mobile
For full understanding of all steps you should possess basic knowledge of HTML, CSS and JavaScript. Familiarity with
the Eclipse platform is a plus, but not required.
Required software
Eclipse IDE 3.6.2+
(Any version with exception of Eclipse Classic, which doesn’t contain Eclipse Marketplace Client)