该对象模型可能完全不同于底层的业务模型对象(Domain Model Object)。例如,该ViewModel类有可能公开不同的属性或者从多个Model对象中汇总的属性。
基于1个网页-相关网页
This allows avoidance of complex coding in the action class (as shown in the Struts 1 example) for converting the form bean in to the related domain model object.
这避免了在操作类中进行复杂编码(如struts 1示例所示),将表单bean转换为相关域模型对象。
A domain notifier knows about every change to any object in the model, and broadcasts these changes to domain listeners.
域通知器了解到对模型中任何对象的每次更改,然后将这些更改向域侦听器广播。
The task of a data binding framework is to get the value stored in the domain object into that model.
数据绑定框架的任务是获取存储在域对象中的值再导入模型中。
应用推荐