Practical Application of the Specification Pattern...
summary
The talk explains using the Specification Pattern (as described by Eric Evans and Martin Fowler) to keep Doctrine repositories maintainable and performant by expressing query intent as reusable Specifications. It covers writing optimized DQL for use cases, reducing duplicated repository code, testing Specifications with unit tests, strategies for eager loading, and using DI-registered Specifications to build structured DQL searches from complex forms and keep core models free of tenant- or project-specific concerns.
AI-written summary · about
