qxtabris is a Qooxdoo, server application that illustrates how Qooxdoo and Tabris.js can work together.
Tabris uses the same basic module system as Node.js but does not support npm modules installed globally (Referrence). Therefore, the following Node.js features used by the Qooxdoo compiler must be installed as local modules:
- path npm package
- url npm package
Install the Tabris Cli locally.
npm i tabris-cliInstall the Tabris.js Developer App on your mobile device.
You now should have everything needed to compile and run this project. The Qooxdoo compiler uses a loader template tailored for the Tabris.js runtime Reference. Below is an exerpt from the project's compile.json file showing where the boot loader temple is stored.
"applications": [
{
"class": "qxtabris.Application",
"name": "qxtabris",
"type": "node",
"loaderTemplate": "template/loader-tabris.tmpl.js",
"exclude": [ "qx.theme.*" ]
}
]In it's own terminal window, compile and watch the Qooxdoo application.
npx qx compile --watchIn a different terminal window, run tabris serve
npm run startFinally, use the Tabris.js Developer App to see the results.