jeudi 13 août 2015

What is the definition of "ViewModel Behavior"?

I have been reading about the difference between DTO's and Viewmodels, in which the main one is the presence of behaviors in the Viewmodels compared to DTOs which just carry data through layers, but is not clearly stated the definition for behaviors as far as I read.

Viewmodels can transform the data passed in properties from a DTO to be formatted in a certain way for a certain view and also in WPF events can be added to VM's which may enrich their purpose. So what exactly "behavior" means on this case?. Thanks.

Aucun commentaire:

Enregistrer un commentaire