How to leverage Inheritance in PHP. We show some practical examples of php inheritance on our CMS, and talk about how they solve some of the real life problems in web applications.
This is the third lesson in full php mvc tutorial for beginners who are familiar with php basics and are starting with oop concepts.
You can learn Object Oriented Programming principles by coding along on this project, as we build one Content Management System using modern OOP patterns.
We show the problem, then we try non-oop solution first, and then show when and how we can benefit from OOP solutions.
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
➡️ Playlist for entire CMS: • 1. Build a CMS using OOP PHP tutorial | PH...
➡️ SOURCE: https://github.com/applicable-program... (use tags to navigate between lessons)
➡️ Symfony controller: https://github.com/symfony/symfony/bl... AbstractController.php
➡️ Craft CMS controller: https://github.com/craftcms/cms/blob/...
➡️ Other tutorials: https://www.ApplicableProgramming.com/
If you are interested in programming courses related to web, please visit https://www.ApplicableProgramming.com/ to view courses where we show the problem, then we try to solve it the hard way, and then we show how we can benefit from proven solutions.
DISCLAIMER: Some of the links might be affiliated, which means that if you click on one of the product links, I’ll receive a commission. This helps support the channel and allows me to continue to make videos like this. I will never support or push a product I don't believe in. Thank you for the support!
Controller Actions & Problem (0:00)
Theory (10:24)
Practical solution (11:54)
Conclusion (21:47)
Symfony case study (22:05)
CraftCMS case study (22:46)