Skip to main content
11 events
when toggle format what by license comment
Oct 21, 2022 at 10:47 answer added Chris Schaller timeline score: 0
Aug 23, 2020 at 22:29 comment added Filip Milovanović P.S. BTW, the concept of a Value object doesn't imply that you have to create a separate class for each of them. And if someone tells you differently, they are wrong (there may be some framework or coding convention that makes you do that, but the concept itself isn't about that at all). E.g., things like name, age, gender, number of pages or release date are perfectly fine value object without you having to do anything special.
Aug 23, 2020 at 22:24 comment added Filip Milovanović The answer is yes, you can use something like aggregates outside the context of DDD. In fact, the pattern of clustering several related, collaborating object behind a Facade (root) object, and treating them as a unit of sorts is not new or uncommon in OOP, and as an organizational/design technique predates DDD. Sometimes the design of those clusters takes persistence into account. DDD (Evans 2003) took that practice and gave it a name, discussing it in the context of object lifecycle (in-memory, DB representation, reconstitution, archiving, deleting).
Aug 23, 2020 at 19:09 history edited Tulains Córdova CC BY-SA 4.0
corrected some typos
Aug 23, 2020 at 19:00 history edited Tulains Córdova CC BY-SA 4.0
edited title
Aug 23, 2020 at 17:40 comment added Andy Since my answer was no longer relevant to the topic after the update of your question, I've decided to delete it.
Aug 23, 2020 at 17:28 history edited Carlos Coelho CC BY-SA 4.0
clarified the scope of the question
Aug 23, 2020 at 17:15 history edited Carlos Coelho CC BY-SA 4.0
clarified the scope of the question
Aug 23, 2020 at 8:44 answer added Christophe timeline score: 3
Aug 23, 2020 at 2:11 review First posts
Aug 27, 2020 at 16:35
Aug 23, 2020 at 2:10 history asked Carlos Coelho CC BY-SA 4.0