Building Testable Applications

Arne BlankertsSebastian BergmannStefan Priebsch | RomaniaPHP |

Even projects that started promising often turn into a maintenance nightmare on the long run. Code that looked "good enough" in the beginning turns out to be not flexible enough for changing requirements. Adaptations and enhancements start to turn into waves of regressions, and nobody really enjoys working on the code any more. This workshop will teach you how to do better. Based on a real-life example, we will start with understanding the problem before we move on to writing clean and testable code along with comprehensive unit tests. We will cover Clean Code and SOLID principles as well as the basics of Domain-Driven Design. We will also explore the benefits of creating separate read and write models and look into Command/Query Responsibility Segregation (CQRS). Every attendee should have a basic understanding of object-oriented PHP code. We will code live, but due to time constaints the attendees will not write code themselves.