Download qooxdoo Documentation
Transcript
qooxdoo Documentation, Release 1.2 • low-level Range and Selection API • helper class for browser history • wrapper for working with CSS stylesheets • string utility class • helper class for the client’s viewport • helper class for VML qx.dom - Cross-browser DOM manipulation The Document Object Model (DOM) is a tree model that represents the document in a browser. The classes provided by this packages allow you to query, to manipulate (i.e. add, remove, change order or replace) and to check the nodes contained in the DOM. Currently the qx.dom package consists of three classes: • Element: manages children structures, inserts, removes and replaces nodes • Hierarchy: for querying nodes • Node: basic node creation and type detection See the API reference of qx.dom for more details. qx.xml - XML handling This package is all about working with XML documents in a cross-browser way. Its three classes are: • Document: creating an XML document • Element: API to select, query and serialize XML elements • String: escaping and unescaping of XML strings See the API reference of qx.xml for more details. 5.2.3 Back-Button and Bookmark Support Overview Many Ajax applications break the browser back button and bookmarking support. Since the main page is never reloaded, the URL of the application never changes and no new entries are added to the browser history. Fortunately it is possible to restore the expected behavior with a JavaScript history manager like the one included with qooxdoo (qx.bom.History). Adding History support to an Application To add history support to an application four basic steps are required: • identify application states • retrieve initial application state • add event listener to history changes 222 Chapter 5. Low Level Framework