Domain Model Vs Dto
Do domain object.
Domain model vs dto. Dl do bl dto pl vm v this option seems to be the best practice but also seems heavy to mantain. Sometimes a dto could be seen as an anemic model. Just as you should not use a dto for your view you should not use a domain model either.
On the other hand domain models should promote a good object oriented design with proper encapsulation. Dl do bl dto pl v. The rise of react angular and vue now removes the old approach of a c view model that could be directly mapped to a domain model.
Dto domain transfer object. In par i we exposed some of the difficulties we were facing when modeling. Viewmodels vs dto vs domain models part ii heuristics bad smells and principles in the design of our windows 8 app which shares the core domain with a rich javascript client application.