Talk in English - US at Longhorn PHP Conference 2019
View Slides: https://speakerdeck.com/meandmymonkey/divide-and-conquer-longhornphp-2019
Short URL: https://joind.in/talk/c8764 (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.