Question

In Domain Driven Design applied architectures, you should start developing domain model and test it. After a model occurred, then you can use the model objects in other layers like that Presentation Layer or Persistence Layer.

My question is how to separated tasks to team members like this Project?

  1. Before a model created, frontend developers can not do anything.Because objects are not ready.
  2. Does Domain Model created by multiple developers like this projects? For example ProductService and OrderService are developing and testing by two different developers?
Was it helpful?

Solution

Agile methodologies usually recommend approaching each feature in Vertical Slices (also see here).

This means that you should develop a feature from end-to-end.

When doing this you should apply "You aren't gonna need it" or YAGNI. This means that you should build "just enough" of each layer to implement your feature.

You probably don't need the full domain model implementing for each feature. You backend coders implement the parts that the frontend coders need, just before they need it.

Vertical Slices

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