Big repositories, complex query builders, tight coupling to your ORM. Adding new behaviors or new findBy*() methods can be a mess. Everyone knows this trouble. Don't struggle anymore! This talk shows you how to decouple you from the ORM and writing general search behaviors for all your entities with the specification pattern. Your new specifications are not tied to any specific ORM. With the awesome RulerZ library they can be applied to any data source you can imagine - your repositories, ElasticSearch or Solr, arrays, API collections or even unicorns.
Commentaires