uniquebas.blogg.se

Domain driven design php
Domain driven design php





domain driven design php

  • it's not clear if Post within the aggregate is an entity or a value object.
  • This says that whenever I want to refer to a Post, however it is implemented, I have to access it via the User.
  • User and related Posts belong to the same aggregate, and User is the root entity thereof.
  • We don't care here how the relationships between the objects will be implemented.

    domain driven design php

    Restricted to one member of the aggregate, designated as the root.Įntity: An object fundamentally defined not by its attributes, but by a thread of continuity and identity.Īnd keep in mind that this is about the domain. Domain design conceptsįirst a few definitions of Evan's DDD reference book:Īggregate: A cluster of associated objects that are treated as a unit for the purpose of data changes. There seems to be a confusion between domain driven design concepts, API design and implementation approach.







    Domain driven design php