Document Information

Last modified:
2007/08/29 17:37 by csg

The basic HTML file

The initial file for a qooxdoo application is rather simple. It has a valid HTML structure, includes the individual qooxdoo application file (here script/custom.js), and a single line of JavaScript which initializes the user-defined application class.

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>My Custom Application</title>
    <script type="text/javascript" src="script/custom.js"></script>
  </head>
  <body>
    <script type="text/javascript">
      qx.core.Init.getInstance().setApplication(new custom.Application());
    </script>
  </body>
</html>

Note: The entire body tag may be ommited with qooxdoo 0.7.1 (as done by the skeleton).

script/custom.js is a JavaScript file that contains both the qooxdoo library classes as well as the custom application code. This combined code file is usually created by the qooxdoo build process.

Of course, the custom application class can be of arbitrary name. In this example its full-qualified name is custom.Application corresponding to a JavaScript file custom/Application.js in the directory source/class. The qooxdoo build process sets up appropriate search paths to look for source files, and creates corresponding name spaces in the resulting JavaScript file.

This file is almost identical to the sample applications provided as skeletons for easy application setup .

Information

Last modified:
2007/08/29 17:37 by csg

Account

Not logged in

 
 

Job Offers

To further improve qooxdoo we are seeking javascript developers. Read more...

Rich Ajax Platform (RAP)

RAP uses qooxdoo, Java and the Eclipse development model to build rich web applications. Read more...

qooxdoo Web Toolkit (QWT)

Similar to GWT this framework allows to create impressive qooxdoo applications just using Java. Read more...

Pustefix

Pustefix is a MVC-based web application framework using Java and XML/XSLT. Read more...

 
SourceForge.net Logo

Bad Behavior has blocked 0 potential spam attempts in the last 7 days.