Tagged Questions
5
votes
2answers
200 views
Unit Test Friendly Domain Driven Design
Many of the readings I've done on DDD, both in books and online, seem to represent code that, often times, is difficult or impossible to unit test. For example, there are numerous samples with static ...
19
votes
3answers
10k views
Programming SOLID Principles
Over time I could understand two parts of SOLID – the “S” and “O”.
“O” – I learned Open Closed Principle with the help of Inheritance and Strategy Pattern.
“S” – I learned Single Responsibility ...
3
votes
2answers
685 views
Should I use an aggregate root when designing my repository?
I have an entity that is called Master which is composed of a number of Slave entities.
There can only be one Master in my database and I want to query repositories to get the Slave for a given id.
...