3. PHP Inheritance | Build a CMS using OOP PHP tutorial MVC [2020]

preview_player
Показать описание
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?

Join our Facebook group to follow the news and join discussion
or discord group if that is more your thing

➤ LINKS

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)
Рекомендации по теме
Комментарии
Автор

Great, more please and your type speed is insane

harunhasic
Автор

how come no one mentioned the joke at the end 😂 I like it as the whole video thanks

mohammadsoleman
Автор

"It just works automagically!" Thank you, sir, for this awesome lesson.

gustavosantos
Автор

Hello Sir. Now it's 2023, I started watching your courses. I want to tell you that I learned many things that were difficult for me until now. Thanks for what you do and don't stop.

ZaoQumelashvili
Автор

We continue with our CMS by making main controller, and reusing its code with inheritance.

ApplicableProgramming
Автор

automagicaly kkk, awesome job on explaining why and how to use OOP

Автор

This is a pretty helpful way to explain !! thank you for this

onparallel
Автор

Thank you man.
Hope you will come with more content

-dinkadink
Автор

Dear teacher, I am having issues with the inheritance
Fatal error: Uncaught Error: Class "Controller" not found in C:\xampp\htdocs\CMS Stack trace: #0 C:\xampp\htdocs\CMS PROJECT\Public\Index.php(10): include() #1 {main} thrown in C:\xampp\htdocs\CMS on line 3

lizcodes
Автор

Really enjoy the tutorials. My only critique is some developers/YouTubers make the text size bigger in the editors and that helps us see it a little better. Especially if we’re viewing on mobile devices.

chris_james
Автор

Great stuff! Thanks! Only thing I'm missing so far is structure. For example, I'd insert a video in front of ones that are on line now. Video that explains how would professional dev organize folder/file structure. I mean, no one just starts to write a custom CMS without thinking first and laying out architecture. That said, I get it. This tut series is not for absolute beginners. Although I can follow tuts with ease and understand it with no problems whatsoever, I can see how some people could get lost. BTW I have same "problem" with my junior colleagues, I often forget that what is for me a piece of cake, for them is something that's almost comparable to magic. :) I guess my main point here is that OOP paradigm shift from procedural programming is biggest bite to chew.

PS nothing personal, keep rockin', and thanks one more time.

pasizdobrekuce
Автор

This guy should be a lecturer. He just simplified inheritance without using any jargon.

PhillipMwaniki
Автор

Would it be wrong to have everything in one page ?

MrGigi-dzcv
Автор

Too fast not enough explanation on what you are doing.

Ontargethtml