lundi 17 août 2020

Model classes in MVP are just POCOs (DTOs or VM)? Should they be entity objects which contain business logic?

In the following examples, the classes under the model folder are just POCOs. (Are the DTOs or VMs?)

https://github.com/mrts/winforms-mvp

https://markheath.net/post/model-view-presenter-winforms

Should they be entity objects which contain business logic? Should the business/application logic be all in the presenter? Or the entity objects should be in some core modules which MVP code depends on?

Aucun commentaire:

Enregistrer un commentaire