Question

I am practicing and trying to implement DDD(Domain driven design)in a project.I am very new to DDD.My requirement is given below.

I have a project.I have multiple candidates for assigning to that project.Project has a client.

I want to identify aggregates and aggregate root. How to design the DDD using aggregates concept?

Was it helpful?

Solution

Can a candidate or a client exist independently of a project? I'm guessing yes. Then none of these can be combined into an aggregate. As you progress further, you'll probably find entities that can only exist within a project - perhaps a schedule. Then you may have a project aggregate with project as the root.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top