Course of Design Patterns: Criteria

Javier FerrerRafa Gómez

By Javier Ferrer y Rafa Gómez Software Design and Architecture y Backend

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

See full catalogue

Pay according to your needs

lite (only monthly)

19 €
per month
  • Access to a subset of courses to lay the foundation for maintainable, scalable, and testable code
  • Company invoice
Popular

standard

24,92 €
Save 121
Annual payment of 299
per month
  • Full course catalog
  • Design and architecture challenges
  • Highlighted solutions videos for challenges
  • Receive job offers verified by Codely
  • Company invoice

premium

41,58 €
Save 89
Annual payment of 499
per month
  • All previous benefits
  • Early access to new courses
  • More benefits coming soon

We won’t increase the price while your subscription is active