11. Php Interface Tutorial - How and When to use Interfaces | Build CMS using OOP CMS tutorial MVC

preview_player
Показать описание
Interfaces are contracts between your classes. You might think that interfaces are not needed in your project, and I will try to explain in this PHP Interface Tutorial when you should consider using them. Lets get PHP Interfaces explained.

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
(use tags to navigate between lessons)

Timestamps:
Intro (00:00)
Traditional solution and problems (01:08)
Interfaces - introduction and theory (13:45)
Interfaces - Implementation (20:48)
Рекомендации по теме
Комментарии
Автор

Sir, your content is pure gold, the explanation made total sense, and, while I was writing the code it was very clear what was the problem, having to go around the application to remember which exact method to implement, the name and so on, in this manner the code itself helps to build the program!

Автор

Najboolji, gledam tvoja videa i ucim se. You are the best. Please continue with your amazing educational videos. 🦾🦾🦾

vilhemleshi
Автор

I am coding along and watching the project. Thanks a lot, I knew procedural PHP but the principle OOP programming is indeed a little difficult to understand but i find it much easier. About the homework and trying to autoload the classes into the project, I tried to autoload it using composer and psr-4 autoloading. But when i require_once the autoload.php generated by composer it doesn't recognize the classes. (Because I used Github a long time ago and don't have access to my old Github account, I will make a new one and upload the project in it).

Note: I know the framework is not applicable to real-live use, but I am planning on securing it against session hijacking and XSS scripting. So maybe in the future I could take it to a real live environment.

Again thank you for making the video's, it is easy to follow and very nice explained!

zakelijkvoordeel
Автор

Such a great explanation!
Thank you Dalibor!

skywatcher
Автор

I watched the whole tutorial in two days. I'm really impressed of your knowledge sir. Right now I have to watch it again, but right now I'll write code to better recognize of app. Waiting for new videos! :)

rgryczan
Автор

Thank You very much. Great job as always !

patrykojewski
Автор

Druze, svaka cast. Sve najbolje i samo tako nastavi.

MrBrankovicv
Автор

Just wanted to say thank you for making these videos. +1

wojciechhaase
Автор

Es una lastima que esta desactivado los subtitulos del video para usar la traduccion y entender mejor ya que mi idioma en venezuela es español, pero igual transcribi el codigo y seguimos adelante con el tutorial...

cesaresqueda