18: Apply The MVC Model Using OOP PHP | MVC Model Tutorial | Object Oriented PHP Tutorial

preview_player
Показать описание
In this OOP PHP tutorial, I will show you how to apply the MVC model to our previous example.

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Рекомендации по теме
Комментарии
Автор

I wish I saw this 4 years ago. I’m a self taught programmer and can make anything work and happen, but the bigger the project, I’ve tried to come up with my own ways of structuring everything, to no great avail. This series was super simple, great understandings, and funny too (like you popping out the side and fixing the typo as I’m reading the typo wondering if you’re gonna fix it 😂) I watched the whole series overnight and this morning. I searched for MVC, and got what I wanted. I’m glad you went through the whole process of different file definitions and states before just showing it all together, there was a lot of additional knowledge in this series that I didn’t know I needed. Thank you. 🙏 +subbed. P.s, I got excited when I saw you put “.” In to call a method in a class. I had hoped for a brief moment that you had revealed some sort of programming secret I dream of. Only to hear that your love of the “.” Came from “c#” also 😂

developerjustin
Автор

Great content, I understand about 80% of everything. Only issue I've found is your Class auto loader doesn't work on Linux as Linux and Unix are case sensitive and windows isn't. So either have to modify the auto loader or name your class files of how you name your class in php. You have inspired me to stop what I'm doing now and rewrite all my code in OOP. My current Procedural code is very messy, especially since all my functions are written in a functions.php file.

jcarney
Автор

I watched all your videos in two days.
damn, as frontend engineer, I would say you are an expert in this field.
many thanks
love from seattle waghinston

gabrielfono
Автор

A lot of respect, I have watched all 18 episodes in 2 days and learned a lot. Thank you so much! You are a hero

julesjacobs
Автор

Lots and lots of respect. 18 episodes 5 days. I have never understood OOP concept until i came across your tutorials. Thank you.

expressincorperated
Автор

well i watched this series almost a year after it was uploaded and just wanted to say the it literally should have ended with this episode. i mean anyone who is watching a series on OOP PHP has to know procedural PHP and if anyone knows Procedural PHP its quite easy to figure out how to enter the data using froms. basically just create a process page in the root folder and go from index to process page taking all the variables to it through GET or preferably POST and then entering the variables inside the class methods like did on the index page. Thanks for this series. it was awesome

salmanmansoor
Автор

Legend has that Dani is still in process of uploading the next episode 😀

vadirajkanakagiri
Автор

4 years ago, but still relevant, this is how a great teacher is! Thank you I understood all your content!

freak
Автор

After a good 6 months of procrastinating, I finally watched the last couple of videos. Fortunately I'm already versed in procedural PHP so it was easy to pick this up, but your teaching made it even easier

Thank you for the effort put into this!

BigDoggeTom
Автор

@19:55 A good point to make of why you do this is that it decouples the Controller from the actual Model/Database. On the backend, if they decided to change it to use something other than a mySQL database, the model can be adjusted to handle the new data storage system, and the Controller never needs to know or ever updated. All it needs to know is that model has those methods available to it, what to pass, and what to expect back.

Greg
Автор

From all the mumbled information on the net, where people try to explain MVC through frameworks and libraries and other not known tools to newbies, this is wonderful explanation! Truly in simplest terms, love it!

(And as some people said, can't wait to see how will you try to implement other important aspects and show people the wonderful (and chaotic) thing that is php :D )

TheKikkyx
Автор

Thanks a lot Daniel, I went through this object oriented PHP playlist in January, I did not get most of it, then I tried other programming related things and I came and did all over again in December and understood everything smoothly, your teaching is top notch, sometimes we, the learners, are not really prepared enough for the content, thank you so much again, muchas gracias, regards from Colombia.

XJerome
Автор

I watched this series because I was trying to read the Laravel docs and kept coming across terms and concepts I did not understand. This series helped me fill all the gaps in my knowledge. From the bottom of my heart I appreciate this series. You are a great teacher

Bonafide
Автор

Waiting for the next episode. Hopefully, it's going to be soon :D

roxanaion
Автор

You are a life savior! You are one of the greatest teachers out there on the internet! You are amazing! Your lessons are so attractive and your way of presentation is..actually its that great I have no words to explain it..keep on doing these amazing lectures so that thousands..thousands of students out there will be helped in the future...

renujadecosta
Автор

I've been looking for a good tutorial on OOP PHP for a long time now and I can easily say that this one is THE BEST!! All of the 18 videos were awesome and to the point. I sincerely hope that you will, someday, complete the tutorials here! Cheers mate, great job!

codeo
Автор

This is great! I spent money on courses that are outdated and by far not as clean and simple. Great work! Love your videos, please keep it up! I am already thinking about becomming a patreon because the content is really great.

Apostata
Автор

Thank you, Daniel, for this course. It has a clear and simple, but safe and comprehensible structure that you teach us.

HakanGalip
Автор

You're a great tutor Daniel. Your channel should be recommended for universities

afrobeatswithelixir
Автор

Actually, I am Math Teacher from India... I am very interested in learning PHP... I viewed all ur PHP lessons ❤️❤️❤️❤️🙏🙏🙏... They way u explained is awesome 👍👍👍... Thq brother

ApteacherNetTelanganaTeachers