MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Guia do Utilizador Página 85

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 256
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 84
85
6
CHAPTER 6
Using MXML
MXML is an XML language that you use to lay out the user-interface for Adobe Flex applications. You also
use MXML to declaratively define nonvisual aspects of an application, such as access to server-side data
sources and data bindings between user-interface components and server-side data sources. This topic
introduces MXML and describes how MXML relates to existing programming standards.
Contents
Using MXML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
How MXML relates to standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Using MXML
You use two languages to write Flex applications: MXML and ActionScript. MXML is an XML markup
language that you use to lay out user-interface components. You also use MXML to declaratively define
nonvisual aspects of an application, such as access to data sources on the server and data bindings between
user-interface components and data sources on the server.
Like HTML, MXML provides tags that define user interfaces. MXML will seem very familiar if you have
worked with HTML. However, MXML is more structured than HTML, and it provides a much richer tag
set. For example, MXML includes tags for visual components such as data grids, trees, tab navigators,
accordions, and menus, as well as nonvisual components that provide web service connections, data
binding, and animation effects. You can also extend MXML with custom components that you reference as
MXML tags.
One of the biggest differences between MXML and HTML is that MXML-defined applications are
compiled into SWF files and rendered by Flash Player, providing a richer and more dynamic user interface
than page-based HTML applications do.
You can write an MXML application in a single file or in multiple files. MXML also supports custom
components written in MXML and ActionScript files.
Vista de página 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 255 256

Comentários a estes Manuais

Sem comentários