This video is available to pro members only.

Join thousands of other developers and get access to hundreds of hours of content

Unlock access

or sign in to your account

Design Patterns: Specification Pattern

The specification pattern encapsulates business logic in it's own class. Sounds complicated, but let's see how easy it is. We also build a validation class to demonstrate how it can be useful.

01/02: Specification pattern basics