P980
Representing Data

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 閱讀(283)
評論(0) 編輯 收藏 所屬分類:
Flex2