Tuesday, August 7, 2018

domain driven design

  1. books “Domain-driven Design” by Eric Evans and “Implementing Domain-driven Design” by Vaughn Vernon
  2.  
  3. value object is the object of a class whose constructor is private and which is constructed with the help of factory method inside it. they are not treated as entity. and two value objects having same state are considered to be equal.
  4. https://deviq.com/value-object
  5. they are small
  6. they are immutable
  7. https://martinfowler.com/bliki/ValueObject.html
  8. https://enterprisecraftsmanship.com/2016/01/11/entity-vs-value-object-the-ultimate-list-of-differences/
  9.  
  10. value objects can be considered as @component
  11. address is a good example of value object
  12. value object should not be in a separate table.
  13. value object should not have own identity
  14. aggregates
    1. https://medium.com/withbetterco/using-aggregates-and-factories-in-domain-driven-design-34e0dff220c3
    2. https://www.infoq.com/news/2015/01/aggregates-value-objects-ddd
    3.  

No comments:

Post a Comment