Reputation: 7359
currently the system I am working on is layered like this
In which layer would I put the specification implementations? Infrastrucutre?
Upvotes: 1
Views: 470
Reputation: 233150
Specifications are part of the Domain Model.
This pattern is described in Domain-Driven Design, and since this book deals explicitly with Domain Modeling, I think it's fair to say that it belongs in the Domain Layer.
Upvotes: 4