Archives by Tag 'ddd'

DomainDrivenDesign: Domain Services or Method on an Entity?

By rnaufal - Last updated: Monday, March 31, 2008

There has been too much discussion on the DDD list regarding where to put the business logic control, whether in a service or entity. Being more specifically, in order to ship an order, the followthings should happen:

Validate that the order can be shipped
Update quantity
Set the status to shipped
Save the order
Send an email to the customer [...]