![]() |
![]() |
|
![]() |
![]() |
Encyclopedia :
X :
XU :
XUL |
|
|
XULXUL (XML User Interface Language) is a proprietary user interface markup language developed to support Mozilla applications like Mozilla Firefox and Mozilla Thunderbird. Like UIML, it is an application of XML that describes user interfaces. The acronym is pronounced zool, to rhyme with "cool" (see below).While XUL is not a public standard, it reuses 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 widgetss. This reduces the software development effort in a way analogous to the savings offered by 4GL tools. IntroductionA XUL interface is typically defined as three discrete sets of components: Content - Skin - Locale - For an example, see a "Hello World!" program written in XUL. XUL elementsThe XUL specification covers a wide range of elements, which roughly belong to the following types: Top-level elements - Widgets - Box model - Events and Scripts - Data source - Others - It is possible to use elements from other applications of XML within XUL documents, such as XHTML and MathML. Some common widgets - such as spinbox, slider, and canvas - are not available in the current XUL specification, but are on the XUL 2.0 to-do list [1]. UsageWhile XUL is mostly used for creating the Mozilla application itself and its 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 remote XUL documents (unless the script is digitally signed), and such documents also suffer from various limitation of the browser, such as the inability to load remote XUL, DTD and RDF documents. Film referencesThe XUL name is a reference to the film Ghostbusters, in which a ghost called Zuul possesses a character named Dana (played by Sigourney Weaver) and declares "There is no Dana, only Zool". 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". This is referred to by the XML namespace URI at the beginning of every XUL document, http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul; when viewed with a XUL-capable application, the document pointed to displays the slogan in large letters in the center of the screen (similar to that to the right). "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 alsoExternal links
|
|
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License. |
|
| © 2008 Chamas Enterprises Inc. |