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
PopularLaunch Week

standard

20,75 €
Save 171
Annual payment of 249
per month
  • Full course catalog
  • Receive job offers verified by Codely
  • Company invoice
Launch Week

premium

37,42 €
Save 139
Annual payment of 449
per month
  • All previous benefits
  • Early access to new courses
  • Discount on workshops

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

Course of Design Patterns: Criteria ﹤🍍﹥ Codely