XUL
Encyclopedia : X : XU : XUL : XUL
XUL (XML User Interface Language) is a markup language developed by the Mozilla project for its applications. Like UIML and XAML it is an application of XML that describes user interfaces. The name is pronounced as zool ([zu:l]).
XUL is not yet a public standard, though it uses many existing standards and technologies, including CSS, JavaScript, DTD and RDF, which makes it relatively easy to learn for people with a background in web programming and design.
The main benefit of XUL is that it provides a simple and portable definition of common widgets. This reduces the software development effort in a way analogous to the savings offered by 4GL tools.
Introduction
An XUL interface is typically defined to consist of three discrete sets of components:- Content: The XUL documents, which define the layout of the user interface.
- Skin: The CSS and image files, which define the appearance of an application.
- Locale: The DTD documents, which define XML entities for easy software localization.
XUL elements
XUL defines a wide range of elements, which roughly belong to the following types:- Top-level elements
- e.g. window, page, dialog, wizard, etc.
- Widgets
- e.g. label, button, text box, list box, combo box, radio button, check box, tree, menu, toolbar, group box, tab box, color picker, spacer, splitter, etc.
- Box model
- e.g. box, grid, stack, deck, etc.
- Events and Scripts
- e.g. script, command, key, broadcaster, observer, etc.
- Data source
- e.g. template, rule, etc.
- Others
- e.g. overlay (analogous to SSI, but client side and more powerful), iframe, browser, editor, etc.
Some common widgets - such as spinbox, slider, and canvas - are not available in the current XUL widget set, but are planned for XUL 2.0 [link].
Usage
While XUL is mostly used for creating the Mozilla applications and their extensions, it is possible to use it for web applications transferred over HTTP. One of the most well-known XUL applications of this type is the Mozilla Amazon Browser, which provides a rich interface for searching books at Amazon.com. However, many of the powerful features of Mozilla, like privileged XPCOM objects, are not available to unprivileged XUL documents (unless the script is digitally signed), and such documents also suffer from various limitations of the browser, such as the inability to load remote XUL, DTD and RDF documents.Film references
| THERE IS NO DATA. THERE IS ONLY [XUL]. |
"Keymaster" and "gatekeeper" are also references to the same plotline. This is not the only reference to Ghostbusters within Mozilla - for instance, the JavaScript debugger component is called Venkman, one of the main characters in the film.
See also
- XULRunner
- List of user interface markup languages
- Comparison of user interface markup languages
- ZK Framework
- xulfaces
External links
- [Mozilla XUL] — The home page for Mozilla XUL documentation.
- [XULPlanet] — A developer site with tutorials, references and forums.
- [GeorgeNava.com] — A selection of XUL applications.
- [XUL Periodic Table] — Visual demonstration of XUL capabilities (Requires an XUL-enabled browser such as Mozilla Firefox).
- [XUL and XML] How to use XUL. Xul Dev project. Installing a XUL application.
- [DXUL] — The home of DXUL, the DHTML XUL interpreter.
- [XUL Tag and Attribute Frequency of Firefox] — The statistics of tag and attribute frequency extracted from Firefox.
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
