Course of Design Patterns: Criteria
Use the Criteria Design Pattern to adhere to SOLID principles in your use cases and repositories.
💸 First lesson available without registration 💸
The Criteria Design Pattern is one of the lesser-known patterns, yet it can greatly simplify our code.
This pattern helps us define criteria (rules) that we can then transform into native SQL, Elastic, Mongo, or any infrastructure queries we are interested in.
Among other things, in this course we cover:
- 🐳 How to implement the criteria pattern with SQL
- 🦎 How to implement the criteria pattern with Elasticsearch
- 🗒️ How to add pagination to the Criteria Pattern
All of this explained step by step on how to set it up from scratch using a Next.js application (although this is a language-agnostic course).

Videos of the course
Related courses
Pay according to your needs
lite (only monthly)
19 €
per month
- Essential programming courses to build a solid foundation
- Company invoice
standard
24,92 €
Save vs monthly of 49 €
Annual payment of 299 €
per month- Main catalog to master writing maintainable, scalable, and testable code
- Receive job offers verified by Codely
- Company invoice
premium
33,25 €
Save vs monthly of 89 €
100 € anniversary discount
Annual payment of 399 €
per month- Exclusive AI courses to keep you always up to date
- Early access to new courses
- Discount on workshops
- Receive job offers verified by Codely
- Company invoice
We won't increase the price while your subscription is active