|
|
|
|
 |
|
|
|
|
Data model feature is used to store data before it is sent to the server. Data model can be defined in MXML tag.
Models can be of various types like:
Script based model:
It is always better to use MXML based model than using script based models. The MXML models would allow you to type the properties of script based model. But in order to type such properties you will require the help of the class based models.
Class based modes:
When you are storing complex data structure with the aid of typed properties it is advised that you use class based models. Even when you pass on the server side data service you can retain the class-based model in the server.
|
|
|
|
|
|
|
|
| |
|
|
| |
| |
|
|
|
|