Driving Design through Examples
Explore Modelling by Example techniques in this PHP UK Conference talk, combining Behaviour Driven Development (BDD) and Domain Driven Design (DDD) to create a workflow that directly drives code from user requirements. Learn how to define features through stakeholder conversations, capture automatable requirements, and express them in the object model using tools like Behat and PhpSpec. Discover the benefits of using examples to illustrate behavior, understand the Gherkin language for formalizing examples, and grasp the importance of establishing a Ubiquitous Language for effective communication between business and development teams. Gain insights on improving scenarios, modeling values as Value Objects, and defining boundaries with Interfaces to create a more robust and domain-focused codebase.