Are the DomainModel and DTO the same?

Feb 27, 2013 at 3:36 PM
Hi,

I am wonder about the DomainModel and DTO. Are both the same?

Best Regards,
Weera
Developer
Feb 27, 2013 at 7:13 PM
Hi,

Based on my understanding, Domain Objects and Data Transfer Object are not the same, although they are similar to each other. While both are in charge of containing information, the main difference seems to be that a Data Transfer Object usually does not contain any logic; their only purpose is to contain data and their are usually used to send information between components. Instead, a Domain Object can also contain logic related to the information it contains (for example, validation logic, etc.)

Regarding this topic, I believe you could find the following article useful:
Regards,

Damian Cherubini
http://blogs.southworks.net/dcherubini
Feb 27, 2013 at 8:17 PM
Hi DCherubini,

Thanks, That is enough information.

Best Regards,
Weera