Super Models, Part 1: Sexy Specifications
Super Models, Part 1: Sexy Specifications
In Domain-Driven Design we turn to the specification pattern when we want to check whether an object matches some criteria. I think specification is the oft-forgotten bastard child pattern of the domain model pattern language. I know I frequently turn to queries — sometimes query objects — when I want to retrieve a set of some entity to work on.
Read More:
Thanks