Master Production-Ready Machine Learning, Step by Step
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore SOLID design principles to improve PHP coding practices in this conference talk from PHP UK 2019. Learn how to transform spaghetti code into a maintainable architecture, understand the challenges of coupled systems, and discover practical techniques for implementing the Open-Closed Principle. Dive into interfaces, repositories, and model classes to enhance code flexibility and reduce the risk of substitution. Gain insights on creating more understandable, extensible, and maintainable PHP projects through real-world examples and expert guidance.
Syllabus
Intro
PHP Humor
Spaghetti Code
The Platform
Candidate Class
Update
Third Party System
Local Database
Code Changes
SOLID Design Principles
OpenClosed Principle
Edit Part
Change View
Risk of Substitution
How to Improve
Interfaces
Repository
Model Classes
Update Function
Repositories
Recap
Summary
Taught by
PHP UK Conference