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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 256
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 88
How MXML relates to standards 89
XML standards
You write Flex applications in XML documents. XML documents use tags to define pieces of
structured information and the relationships between them. In MXML, the
<mx:Application> tag defines the root of an application. You define the parts of the
application in child tags of the
<mx:Application> tag. Examples of MXML tags include
container tags, such as
<mx:VBox>, which define rectangular regions of the user interface, and
control tags, such as
<mx:TextInput>, which define typical user interface controls.
Event model standards
The Flex event model is a subset of Document Object Model (DOM) Level 3 Events, a World
Wide Web Consortium (W3C) working draft. DOM Level 3 defines an event system that
allows platform- and language-neutral registration of event listeners, describes event flow
through a tree structure, and provides basic contextual information for each event. MXML
provides tag properties that let you specify ActionScript code to handle events. For example,
the
click event listener specified in the following example sends a web service request:
<mx:Button click="mywebservice.myOperation.send()”/>
Web services standards
Flex provides MXML tags for interacting with web services that define their interfaces in a
Web Services Description Language (WSDL) document available as a URL. WSDL is a
standard format for describing the messages that a web service understands, the format of its
responses to those messages, the protocols that the web service supports, and where to send
messages.
Flex applications support web service requests and results that are formatted as Simple Object
Access Protocol (SOAP) messages and are transported using the Hypertext Transfer Protocol
(HTTP). SOAP provides the definition of the XML-based format that you can use for
exchanging structured and typed information between a web service client, such as a Flex
application, and a web service.
Java standards
Flex provides MXML tags for interacting with server-side Java objects, including plain old
Java objects (POJOs), JavaBeans, and Enterprise JavaBeans (EJBs).
Vista de página 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 255 256

Comentários a estes Manuais

Sem comentários