Jump to content

MXML: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Tenna (talk | contribs)
mxml is proprietary to Adobe; define the acronymn; it's a user interface language; it hasn't (yet) been translated to an open standard
Line 1: Line 1:
'''MXML''' is an [[XML]] [[markup language]] first introduced by the former [[Macromedia]] in [[March 2004]]. It allows application developers to develop [[Rich Internet application]]s.
'''MXML''' is an [[XML]]-based [[user interface markup language]] first introduced by the former [[Macromedia]] in [[March 2004]]. The acronymn stands for "Multimedia eXtensible Markup Language". It allows application developers to develop [[Rich Internet application]]s.


It is used mainly to declaratively lay-out the interface of applications, and can also be used in conjunction with [[ActionScript]] to allow developers to implement complex business logic. Common practices are employed, such as the use of curly braces ('''{''') to force the computer to evaluate an expression, and dot notation to 'drill-down' through an object.
It is used mainly to declaratively lay-out the interface of applications, and can also be used in conjunction with [[ActionScript]] to allow developers to implement complex business logic and rich internet application behaviors. Common practices are employed in the language syntax, such as the use of curly braces ('''{''') to force the computer to evaluate an expression, and dot notation to 'drill-down' through an object.


'''MXML''' is used in [[Flex Server]] or to be compiled on the fly into standard binary [[SWF]] files. [[Flex Builder]] is also available which generates SWF files for use without Flex Server.
'''MXML''' is used in [[Flex Server]] or to be compiled on the fly into standard binary [[SWF]] files. [[Flex Builder]] is also available which generates SWF files for use without Flex Server.

MXML is considered a proprietary standard due to its tight integration with Adobe technologies. It is like [[XAML]] in this respect. No published translators exist for converting an MXML document to another user interface language such as UIML, XUL, XAML, or SVG (as of 2006).


==Sample==
==Sample==

Revision as of 00:29, 1 October 2006

MXML is an XML-based user interface markup language first introduced by the former Macromedia in March 2004. The acronymn stands for "Multimedia eXtensible Markup Language". It allows application developers to develop Rich Internet applications.

It is used mainly to declaratively lay-out the interface of applications, and can also be used in conjunction with ActionScript to allow developers to implement complex business logic and rich internet application behaviors. Common practices are employed in the language syntax, such as the use of curly braces ({) to force the computer to evaluate an expression, and dot notation to 'drill-down' through an object.

MXML is used in Flex Server or to be compiled on the fly into standard binary SWF files. Flex Builder is also available which generates SWF files for use without Flex Server.

MXML is considered a proprietary standard due to its tight integration with Adobe technologies. It is like XAML in this respect. No published translators exist for converting an MXML document to another user interface language such as UIML, XUL, XAML, or SVG (as of 2006).

Sample

  <?xml version="1.0" encoding="utf-8"?>
   <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*">
   	<mx:Array id="sampleArray">
   		<mx:Object>
   			<mx:Label>
   				"Sample Label 1"
   			</mx:Label>
   		</mx:Object>
   		<mx:Object>
   			<mx:Label>
   				"Sample Label 2"
   			</mx:Label>
   		</mx:Object>
   	</mx:Array>
   	<mx:Panel title="Example Panel">
   		<mx:ComboBox dataProvider="{sampleArray}"></mx:ComboBox>
   	</mx:Panel>
   </mx:Application>

See also