This project contains several modules to assist in using Dojo within the IBM Worklight platform.
No official release yet.
This project is distributed by the Dojo Foundation and licensed under the "New" BSD License. All contributions require a Dojo Foundation CLA.
This project requires the following other projects to run:
- dojo
- dojox/mobile
- dcordova
Prerequisites:
- NodeJS for NPM install.
- The magic goo that makes all things true
- Grunt Command Line automation framework
npm install -g grunt-cli
- Bower package management
npm install -g bower
Developers - Manual installation procedure:
- Ensure prereqs are installed
- Install this project by cloning from github
git clone git://github.com/ibm-dojo/dworklight.git
cd dworklight
- Install external required packages
npm install
- Put required modules in the right places
grunt bower
- Manual installation by dropping dworklight as a sibling of the top level Dojo modules:
- dojo
- dcordova
- dworklight
To install the latest master, go to the root Dojo installation directory and clone dworklight from github
git clone git://github.com/ibm-dojo/dworklight.git
git clone git://github.com/ibm-dojo/cordova.git
TODO, but here's the general modules
See the kfbishop/dworklight-testapp project for tests and usage of the dworklight modules within a actual Worklight app.
Simple activity control that allows for native or Dojo basic activity indicators.
Worklight console logging adapter. Enables use of standard console.xxx() commands that will be output correctly on the Android LogCat and XCode loggers. Also enables multiple arguments with clean JSON encoding of WL.Logger.Xxx() commands.
'Has' feature detection for Worklight. Provides dozens of has tests to properly identify the Worklight operating environment.
Worklight Adapter integration to feel more like a normal dojo/request style. Standard promise style callback are supported over the unique Worklight adapter invocation style calls.
Worklight Custom AMD require support. Allows for remotely hosted modules located in the Worklight mobilewebapp environment to be loaded in a hybrid application, regardless of hosting location.
Environment specific modules.
Android specific support. Currently support back button handling.
Preloader to mock Worklight env and set device type.
Worklight Stores
API to enable direct access ot both JSONStore and EncryptedCache
- Karl Bishop (IBM CCLA)
- Chris Felix (IBM CCLA)