Talk in English - UK at PHPBenelux Conference 2017
View Slides: https://speakerdeck.com/meandmymonkey/divide-and-conquer
Short URL: https://joind.in/talk/4ffdd (QR-Code (opens in new window))
Separated layers are one of the fundamental principles of software design. Your framework is just the topmost layer, and your business code should not depend on it. While we will touch a few package design basics, the focus is on how to actually DO it: Expose the user accounts in your model to your framework without depending on it. Separate form input validation from entities. Isolate ORM-specific code in bridges. We’ll also take a look at Deptrac, a tool that helps you to to visualize and stick to that separation during your project’s lifetime.