Download 1.5.x - Docs

Transcript
CHAPTER
FIVE
LOW LEVEL FRAMEWORK
5.1 General
5.1.1 Overview
• Overview
5.1.2 Scenarios
• Scenarios
5.2 Tutorials
5.2.1 Setting up a low-level library
A low-level library is interesting for all those who like to use the low-level APIs of qooxdoo. Such a library consists of
a pre-build javascript file that contains only the low-level classes of qooxdoo. For instance, no GUI toolkit (widgets,
layouts, theming) is included.
Create a low-level skeleton
To create your low-level application skeleton you can let do the tool-chain the heavy lifting and use the
create-application.py script to generate the skeleton.
$QOOXDOO_PATH/tool/bin/create-application.py -n appName -t bom -o $OUTPUT-DIR
The t parameter is the important one to define the application as a bom type application. To show all available options
of this mighty script just type
$QOOXDOO_PATH/tool/bin/create-application.py ?
Generate qooxdoo build
Looking at the output of your generated low-level library skeleton you first realize that no source folder exists. The
simple reason for this is, that you can easily use the low-level APIs without creating your own application classes.
Instead you add your logic directly into the given index.html or in whatever HTML file you like to.
213