随笔-75  评论-193  文章-5  trackbacks-0

P980
Representing Data

RepresentingData.JPG
Data binding
The data binding feature provides a syntax for automatically copying the value of a property
of one client-side object to a property of another object at run time. Data binding is usually
triggered when the value of the source property changes. You can use data binding to pass user
input data from user interface controls to a data service. You can also use data binding to pass
results returned from a data service to user interface controls.

数据绑定特性可以在运行时自动将一个客户端对象的属性复制到另一个客户端对象的属性。数据绑定通常当一个原对象的属性改变时被触发。你可以使用数据绑定将用户输入数据传递至数据服务端。你也可以使用数据绑定将数据服务端的返回值传递至用户交互界面。

Data models
The data model feature lets you store data in client-side objects. A data model is an
ActionScript object that contains properties for storing data, and that optionally contains
methods for additional functionality. Data models are useful for partitioning the user interface
and data in an application.

数据模型特性可以将数据存储于客户端,一个数据模型是一个ActionScript对象,这个对象的属性与要存储的数据对应,这个对象也可能包含一些其它方法。数据模型对于将程序中的用户交互界面与数据分离非常有效。

Data validation
The data validation feature lets you ensure that data meets specific criteria before the
application uses the data.

数据校验特性使得程序在使用数据前,确保数据符合一定的标准。

Data formatting
The data formatting feature lets you change the format of data before displaying it in a user
interface control.

数据格式特性使得在将数据显示于用户交互界面前可以改变数据的显示格式。

posted on 2006-10-30 23:26 The Matrix 阅读(262) 评论(0)  编辑  收藏 所属分类: Flex2

只有注册用户登录后才能发表评论。


网站导航: