Lino and Qooxdoo¶
(Don't read. Needs revision.)
We once started working on an interface that uses the Qooxdoo.
How to use it¶
ROOT_URLCONF = 'lino.ui.qx.urls'
ROOT_URLCONF = 'lino.ui.extjs.urls'
Each time you changed something in your
settings.pyyou also need to run the makeui command. (This is currently required only when using Qooxdoo, but we'll probably adapt the ExtJS version, see ticket docs/tickets/35)
Now you can invoke python manage.py runserver and point your browser to one of the following URIs:
You don't need to restart the web server after makeui, it is enough to reload the browser page.
The source version is very slow because each resource is requested by a GET and served by Django's django.views.static.
You invoke the makeui command by executing the following shell command in your local project directory:
python manage.py makeui
This generates a complete Qooxdoo application
lino_apps directory of your project.
This job consists of two parts:
writing all the files that make up a Qooxdoo application (config.json, class files, etc.)
generate.py source buildcommand .
lino_apps directory is
- QOOXDOO_PATH is usually something like /var/snapshots/qooxdoo-1.3-sdk
- MYPROJECT is the local name you chose for your project
- lino_apps is a hard-coded string that is currently not configurable.
It's actually not very polite that Lino writes into the source tree of your Qooxdoo SDK. But we didn't yet find a better solution. See docs/tickets/30