Simple Explanation Of The MVC Model | OOP PHP Tutorial | Learn OOP PHP. In this PHP tutorial I will give a simple visual explanation of the MVC model in OOP PHP.
➤ 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 🙂
Material for this lesson: https://www.patreon.com/posts/oop-php-2-lesson-16326837
Amazon Auto Links: No products found.
Hi, this is a helpful video on how each part works but I can’t help noticing the flow of the diagram (Website -> C -> M -> V -> Website). From my experience the controller talks to the model then the model does the database transaction and hands the result back to the controller. The controller may process the information from model before handing the information to the view. (Website -> C -> M -> C -> V -> Website)
Again this is a helpful video explaining how each part works!
Please develop a website with code igniter.. please make tuts on code igniter
can you create a login and sign up form using mvc?
Best MVC explanation ever. Your OOP PHP tuts are the best. Just wondering if you have video or can you make one on how to build a PHP website using the MVC model (how the directories and files work, routing etc. )
This is explanation is bullshit because the customer can’t interact with ’employee View’ he can only ask employee Controller for information.
This is the ONLY correct video tutorial on MVC, valuable information, as usual.
What a brilliant explanation, so simple to understand!
Hi Daniel
if i donate $10 per month will i have access to all your materials?
and while donating with my paypal account it showing error “PayPal cannot process your payment. Please contact the merchant to solve this issue”??
Do you have any idea on this error.
waiting for your reply
Hi, you are the best teacher i ever had! Can i donate to you for all the free lessons?
sweet!
Finally someone who can actually explain in everyday terms how this stuff works.
Brilliant
This is very good !
My whole life was a lie?
I mean I knew that if a user search for something , the Controller takes care of the request , “ask” for information the Model which is the DB , and the Model respond ONLY to the Controller , which tells the View “Ok I found this so give the user this”.
I knew that Controller is the Middle Man and the Model and the View never communicate, only the Controller communicate with the Model and the View.
Please correct me if I’m wrong
Thank you ♥
man you are the best of all.
Well explained.
Can you give us a nice example of from beginner to advance of mvc very nice explanation
so now, i am customer and u are view and youtube is controller and model is internet
Thank you for the lesson, very helpful
This is the best explanation ever!!!!
I’m looking forward next episode! Nice tutorial
I have a question. The way our teacher explained MVC is actually a bit different:
the model contains the representation of actual objects its logic and controlls it in a self sufficient way, including queries on the database.
The view only handles user interaction. So regarding PHP just consists of outputting values of variables and HTML.
The controller handles the communication between the view and the model classes.
There is no direct communication between the model and the view and only the main controller knows everything.
Really well explained.