OOP is not just making classes and methods, but also knowing how to use it. Let's discuss Open Closed Principle PHP, and how it can help us making our validation easier to maintain. It's purpose is to keep us from making too complex classes by making them easier to extend.
Interested in learning real-life PHP design patterns?
➡️ https://www.ApplicableProgramming.com/
Join our Facebook group to follow the news and join discussion
➡️ / applicableprogrammers
or discord group if that is more your thing
➡️ / discord
➤ LINKS
➡️ Source on github: https://github.com/applicable-program...
(use tags to navigate between lessons)
➡️ Other tutorials: www.ApplicableProgramming.com
Timestamps:
Easy solution (00:00)
Easy OOP solution (07:00)
Problem to solve (10:29)
Open-Closed Principle - Theory (12:46)
Implementation (16:30)
Summary and homework (22:04)