0% found this document useful (0 votes)
18 views

Assignment For Mobilefirst

i) WorkLight Studio provides an Eclipse-based development environment for building mobile apps across platforms. WorkLight Server enables secure data transmission through centralized backend connectivity. WorkLight Device Runtime provides APIs for accessing WorkLight Server services. WorkLight Console is a web-based tool for monitoring and administering the WorkLight Server. WorkLight Application Center is a cross-platform mobile app store. ii) Mobile Patterns integrates mobile apps with backend services through REST APIs. It allows connecting apps on different devices. iii) The BusyIndicator API allows displaying, hiding, and checking the visibility of a busy indicator to provide feedback during long-running operations. Device properties like locale and language can be detected through the WL

Uploaded by

johnson boateng
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Assignment For Mobilefirst

i) WorkLight Studio provides an Eclipse-based development environment for building mobile apps across platforms. WorkLight Server enables secure data transmission through centralized backend connectivity. WorkLight Device Runtime provides APIs for accessing WorkLight Server services. WorkLight Console is a web-based tool for monitoring and administering the WorkLight Server. WorkLight Application Center is a cross-platform mobile app store. ii) Mobile Patterns integrates mobile apps with backend services through REST APIs. It allows connecting apps on different devices. iii) The BusyIndicator API allows displaying, hiding, and checking the visibility of a busy indicator to provide feedback during long-running operations. Device properties like locale and language can be detected through the WL

Uploaded by

johnson boateng
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

BOATENG JOHNSON (10849464)

Ai) WorkLight Studio: Provides Eclipse-based development environment called worklight studio
which allows developers to quickly develop mobile applications for multiple platforms

ii) WorkLight Server: This component is a runtime server that enables secure data transmission
through centralized backend connectivity with adapters and databases

iii) WorkLight Device Runtime: Provide APIs that offer easy access to the service provided by the
IBM worklight server

iv) WorkLight Console: This is a web based UI tool dedicated for the ongoing monitoring and
administration of the worklight server and its deployed apps, adapters, and push notifications

v) WorkLight Application Center: This is a cross-Platform mobile application store for specific
needs for mobile development teams

Bi) <platformVersion>: Contains the version of IBM Worklight foundation on which the app was
developed

ii)<Id>: This attribute specifies the id of the application

iii)<displayName>: This element contains the application name

iv) <description>: This element contains the application description

c) Mobile Patterns: is used to integrate a mobile application written for worklight platform with
a service that is running on the IBM integration BUS or other mobile applications running on
different type of devices with the help of REST APIs

di) Initialize and reload the application

ii)Manage authenticated sessions

iii)Obtain general application information

iv)Specific environment-Specific user interface

v) Store and retrieve user preferences across sessions

e) Display the busy indicator: BusyIndicator.show()

Hide the busy indicator: BusyIndicator.hide()

Check visibility of the busy indicator: BusyIndicator.checkvisibility()

f) Detect device locale: WL.Device.getLocale()

Detect device language: WL.Device.getLanguage()


QUESTION 2

a) JSONStore: is an API that allows persistent storage of JavaScript object Notation document
as well as enabling encryption

b) DOCUMENT: A JSONStore document is a JSON object with an automatically generated


identifier (_id) and JSON data. It is similar to a record or a row in database terminology. The
id is always a unique integer inside a specific collection. It stores all the necessary data
needed by the application

COLLECTION: A JSONStore collection is similar to a table in database terminology.it contains


JSON documents that exist within a on database

SEARCH FIELD: A search field is a key value pairs that are indexed for fast lookup times,
similar to column fields or attributes in database

QUERIES: Queries are objects that use search fields or extra fields to look for document

OTHER SEARCH FIELD: Extra search field are keys that are indexed but are not part of JSON
data that is stored. This field define the key whose values (in the JSON Collection) are
indexed and can be used to search more Quickly

c) Encrypted Cache: Encrypted cache is a mechanism that is used for storing the repeated and
most sensitive data. The data is encrypted by storing a combination of a user-provided key
and a randomly generated token that is retrieved from the server which makes it more
secure
d) HTML 5 Web Storage: HTML 5 Web storage technology allows data to be saved locally and
retrieved on subsequent application use or restart
e) WL.EncryptionCache.Ok

WL.EncryptionCache.ERROR_CREDENTIALS_MISMATCH

WL.EncryptedCache.ERROR_NO_EOC

WL.EncryptedCache.ERROR_LOCAL_STORAGE_NOT_SUPPORTED

WL.EncryptedCache.ERROR_KEY_CREDENTIALS_NOT_PROVIDED

f) Create an encrypted cache:


WL.EncryptedCache.Open(credentials,createname,onComplete, onError)

Store an encrypted cache: WL.EncryptedCache.write(key,value,onSuccess,onFailure)

Read data from the encrypted cache: WL.EncryptedCache.read(key,onSuccess,onFailure)


Delete data from the encrypted cache:
WL.EncryptedCache.remov(key,onSucces,onFailure)

Change encryption key: WL.EncryptedCache.changeCredentials(Credentials,


onComplete,onError)

Delete the cache: WL.EncryptedCache.deleCache(credentials,onComplete, onerror)

Close the encrypted cache: WL.EncryptedCache.close(onComplete,onzfailure).

You might also like