About Flex data management

Flex provides the following set of features for working with data in your applications: data services, binding, validation, and formatting. These features let you perform the following tasks using MXML tags:

Flex provides tags for connecting to server-side data sources. It also includes a simple syntax for providing input to data source requests and using the data returned from a data source within the client-side components that make up the application.

The following steps describe a simple scenario in which a user provides input data and requests information in a Flex application. A matching figure follows the steps.

  1. User enters data in input fields and submits request by clicking a Button control.
  2. (Optional) Data binding passes data to a data model object, which provides intermediate data storage. This allows data to be manipulated and passed to other objects in the application.
  3. (Optional) One or more data validator objects validate the request data. Validator objects check whether data meets specific criteria.
  4. Data is eventually passed to a data service request object.
  5. The data service passes the request data to the appropriate method on a server-side object.
  6. The server-side object processes the request and returns a result that is converted to a data service result object or a fault object if a valid result cannot be returned.
  7. (Optional) Data binding passes data to a data model object, which provides intermediate data storage. This allows data to be manipulated and passed to other objects in the application.
  8. (Optional) One or more data formatter objects format result data for display in the user interface.
  9. Data binding passes data into user interface controls for display.


    Steps describing a simple scenario of passing data to and from a Flex application


Version 1.5

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/flex_docs_en/00000680.htm