Relative Content

Tag Archive for separation-of-concerns

Domain Services vs. Factories vs. Aggregate Roots

After dealing with DDD for months now, I’m still confused about the general purposes of domain services, factories and aggregate roots in relation to each other, e.g. where they overlap in their responsibility.

Is this a good practice or not?

I have a colleague who has come up with a way of ‘genericizing’ information from a database so that all his web application’s drop-down lists can share the same object in his MVC.NET C# code and Views, which can contain different data depending on what tables it is being used against.

Is this a good practice or not?

I have a colleague who has come up with a way of ‘genericizing’ information from a database so that all his web application’s drop-down lists can share the same object in his MVC.NET C# code and Views, which can contain different data depending on what tables it is being used against.