Building PHP applications using domain-driven design (DDD) techniques results in code that is easier to modify, maintain, test, and makes for a better user experience. In this hands-on tutorial, you will become versed in the best practices for solving problems using domain-driven design in PHP from start to finish. You will learn to: * Discover a ubiquitous language and identify changes in the design of PHP classes, methods, and problem solving * Assemble an incorruptible domain model in PHP by encapsulating business logic in immutable value objects, specifications, and entities * Employ best practices for persisting and accessing entities and aggregate roots in Doctrine and Zend DB and Hydrator * Use advanced PHP object-oriented techniques to simplify code and reduce state complexity * Plan for change by using the Hexagonal Architecture Pattern * Evaluate when and how to use CQRS techniques * Write your own DIY event sourcing and use libraries like EventSauce and Prooph * Introduce DDD to a “legacy” codebase * Discover recommended resources for learning more about applying DDD in PHP

Comments

Comments are closed.

Rated 5

T Capece at 16:49 on 16 Nov 2018

Great workshop. Andy had us break up into groups and convert a physical system of brewing beer into a sequence of object oriented commands. We drew it out with pen and paper and It really helped my overall process when naming my objects, commands and events. Some conference attendees I spoke with were a little scared off of this workshop because of their unfamiliarity with the term "Domain-Driven". But Andy explained the concept very well and in an easy to understand manner with a combination of props and slides. It was a great way to end the conference and I highly recommend this workshop to anyone new to domain driven design or even someone that wants to brush up on some fundamentals.