XUL



         


XUL stands for XML-based User-interface Language. It is an application of XML used to describe window layout in the Mozilla browser. It is pronounced zool (to rhyme with "cool").

XUL is not a public standard, although parts of it are creeping into the W3C's CSS suite of stylesheet standards. The best sources of XUL reference material are specialist websites and technical books.

The main benefit of XUL is that it provides a simple and portable definition of common GUI interfaces. This reduces the software development effort in a way analogous to the savings offered by 4GL tools.

Software applications such as the Mozilla Amazon Browser (MAB) and ChatZilla, have been created that, while not stand-alone, are XUL-based and do not use the browser part of Mozilla. The interesting thing about these applications is that many can simply be opened and run from the Internet directly, just like a website. This is known as a web application.

The XUL name is a reference to the film Ghostbusters, in which a ghost named Zuul possesses a character called Dana (played by Sigourney Weaver) and declares "There is no Dana, only Zuul". Since XUL is unusual in using XML to define an interface, rather than a document, its developers adopted the slogan "There is no data, only XUL", as can be seen from the XML namespace Uniform Resource Identifier at the beginning of each XUL document:

xmlns="http://www.mozilla.org/keymaster/gatekeeper/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.

A XUL user interface is typically defined as three discrete sets of components:

XUL-based applications also usually require scripting (typically JavaScript) and manipulation of objects before they can process user interactions in a complete way.

[Top]

See also

[Top]




  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License