Organizing your data

The Flex data management tier consists of the features in the following table.

Feature Description

Data service

Accesses data from a remote location, and sends new or modified data to a remote location. A typical way to send data to a data service is by sending data stored in a user interface control to the data service. For example, a user fills in the fields of a form and clicks a button to submit the form to a service. The user input data becomes part of the service request. Data that the service returns is stored in the service's result property.

Data model

Stores data in fields that represent each part of a specific data set. For example, a person model stores data such as a person's name, age, and phone number. Data services contain data models to store request data and result data.

Data validator

Validates data in data model fields. For example, you can use a data validator to validate the data in a form before submitting it to a data service.

Data formatter

Converts raw data to a formatted string. Formatters are triggered just before data is displayed in a text field. They can save you time by automating data formatting tasks, and by letting you easily change the formatting of fields within your applications.

Data binding

Copies data stored in one object to another object. For example, you can bind data from the fields of a user input form to fields in a data service request. To display data that a data service returns, you can bind fields from the data service result to user interface controls.


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/00002152.htm