User interface markup language

From Wikipedia, the free encyclopedia

A user interface markup language is a markup language (often XML) used to define user interfaces.

Contents

[edit] BXML

BXML is the first AJAX-based user interface markup languages. It is an proprietary standard by Backbase that runs with all major webbrowsers and XHTML / DOM-based layout engines. It provides declarative language for cross-browser AJAX development.

[edit] UIML

UIML is the earliest pioneer in user interface markup languages. It is an open standard where implementation is not restricted to a single vendor. However, it doesn't attract much attention.

[edit] XUL

The primary interface language of Mozilla Foundation products is XUL. XUL documents are rendered by the Gecko engine, which also renders XHTML documents. It cooperates with many existing standards and technologies, including CSS, JavaScript, DTD and RDF, which makes it relatively easy to learn for people with background of web programming and design.

[edit] SVG

Scalable Vector Graphics is a markup language for graphics proposed by the W3C that can support rich, graphical user interface for web and mobile applications. Strictly speaking, SVG is not a user interface language, it is a standard that includes support for vector/raster graphics, animation, interaction with the DOM and CSS, embedded media, events and scriptability. When these features are used in combination, rich user interfaces are possible.

[edit] XAML

XAML is not just an XML-based user interface markup language, but an application markup language, as the program logic and styles are also embedded in the XAML document. Functionally, it can be seen as a combination of XUL, SVG, CSS, and JavaScript into a single XML schema. Some people are critical of this design, as many standards (such as those already listed) exist for doing these things. However, it is expected to be developed with a visual tool where developers do not even need to understand the underlying markups.

[edit] I3ML

I3ML is a proprietary thin client Application Delivery mechanism developed by CoKinetic Systems Corp, with client support provided by a browser plugin that will render windows-like applications over an HTTP infrastructure with minimal bandwidth needs.

[edit] OpenLaszlo (LZX)

OpenLaszlo is a runtime environment that comprises a runtime environment and an interface definition language (Laszlo XML - LZX). LZX is a declaritive user interface language which defines the widgets, application layout and scripting elements (using JavaScript) to create your application. LZX is runtime agnostic with the currently supported runtime being within Macromedia/Adobe Flash. An experimental runtime called Laszlo "Legals" that will allow OpenLaszlo (LZX) applications run in multiple runtime environments, such as DHTML/AJAX.

[edit] WasabiXML

WasabiXML is a XML markup language that is used to define the graphical interface in Wasabi powered applications. It is most commonly used with Winamp for making Winamp skins. WasabiXML had been developed by Nullsoft for Winamp, but it is also usable with other applications with the Wasabi SDK.

The root element in WasabiXML is <WasabiXML> (for Winamp skins, it is also <WinampAbstractionLayer>). The <skininfo> element shows the information for a skin. The graphical interface is held by the <container> element and the basic viewable GUI element is <layout>. Following is an example for a simple GUI with a button element:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<WinampAbstractionLayer version="1.2">
 <skininfo>
  <version>1</version>
  <name>mySkin</name>
  <comment>Ooo Lala</comment>
  <author>Someperson</author>
  <email>myemail@email.com</email>
  <homepage>http://www.google.com</homepage>
 </skininfo>
 <include file="xml/color-sys.xml"/> 
 <container id="normal">
  <layout id="normal" desktopalpha="true">
   <button
    x="0" y="0"
    id="button.normal"
    image="mybutton.image"
    hoverimage="mybutton.himage"
    downimage="mybutton.dimage"
   />
  </layout>
 </container>
</WinampAbstractionLayer>

WasabiXML supports many GUI elements including:

  • <button>
  • <text>
  • <vis>
  • <eqvis>
  • <layer>
  • <animatedlayer>
  • <groupdef> used in conjunction with <group>

<groupdef> allows the developer to define a group of GUI objects which can be re-used anywhere in the skin. Wasabi also supports XUI's which are nothing but <groups> powered by a MAKI script allowing developers to create GUI components (widgets) of their own adding to modularity.

WasabiXML has an XML namespace 'Wasabi::' which defines common GUI's without having the need to declare their image paths.

[edit] Other

Other markup languages incorporated into existing frameworks are:

Some of these are compiled into binary forms.

In avionics, the ARINC 661 standard prescribes a binary format to define user interfaces in glass cockpits.

[edit] See also

[edit] External links

In other languages