Document Information

Last modified:
2007/06/06 15:06 by wpbasti

Application Startup

Some details about the initialization of a qooxdoo application.

Loading phase

  1. Load HTML
  2. Load the JavaScript files

Before the load event is triggered

  1. Merge user settings from previously defined qx.Settings.
  2. Load qooxdoo core (OO, Array, String, validation, Object, ...)
  3. Load Logging module
  4. Instantiate qx.Init
    1. attach event handler to onload, onbeforeunload and ununload

The main application must be set before the load event occurs. This is normally done in a script tag inside the main HTML file:

    qx.core.Init.getInstance().setApplication(new my.namespace.Application);

Inside the onload event handler

qx.Init._onload:

  1. looks up the default application from the settings.
  2. delegates initialization of the framework to the application.

Initialization phase

  1. Instantiate qx.ui.core.ClientDocument. ClientDocument is the basic widget of all qooxdoo applications. It is the parent of all children inside your application. It also handles their resizing and focus navigation.
  2. Instantiate qx.event.handler.EventHandler. The event handler themselves get not yet attached.

Main Phase

  1. Call main of the user defined applications class.
  2. Start preloading of images

Finalization Phase

This phase is started after the image preloader system has finished loading.

  1. Flush global queues. This creates the DOM nodes of the widgets and applies styling.
  2. Global event handler for mouse, key and focus events are registered.

Information

Last modified:
2007/06/06 15:06 by wpbasti

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.