MVC Explained in 4 Minutes
Вставка
- Опубліковано 24 чер 2024
- MVC is the most popular architecture for building complex web servers. It is used by many frameworks, and implemented into nearly every modern web application. In this video I will cover what MVC is, how it works, and why you should use it.
MVC stands for Model, View, Controller. It is used to define how these three different entities can interact with each other.
The Controller handles user requests and delegates information between the Model and the View. It only deals with requests, and never handles data or presentation.
The Model handles data validation, logic, and persistence. It interacts directly with the database to handle the data. The Controller will get all of its data information by asking the Model about the data.
The View handles presenting the information. It will usually render dynamic HTML pages based on the data the model fetches. The Controller is responsible for passing that data between the Model and View, so that the Model and View never have to interact with each other.
Previous Video:
• What is REST?
Next Video:
• Project Setup - Node.j...
Playlist:
• Full Stack Web Develop...
Twitter:
/ devsimplified
GitHub:
github.com/WebDevSimplified
CodePen:
codepen.io/WebDevSimplified
#MVC #WebDevelopment #ModelViewController
I’m fairly new to MVC and out of all the videos/tutorials I’ve seen, this one explains it in the most clear and concise way ever. It made MVC’s process very easy to understand. Great job!
simply amazed of your simplicity in explanation of all topics !
Thank you! I am really glad it was easy to understand.
@@WebDevSimplified i salute and appreciate you brother. You are a natural teacher. You made every topic easy.. Please don't stop your passion.. You are a blessing and you are helping me a lot..
this is awesome!
it's easy to understand with the cat example :)
i've read numerous articles about MVC,
but I could understand none of them!
thank u soooo much
K.
It upsets me how convoluted this has been explained to me repeatedly compared to how simple it really is. I always heard the model = database and the view = client, and that is just a garbage explanation all around. This explanation is so clear that it is now obvious to me that the people in the past that have tried to explain it to me, including professors, just didn't understand it.
THANK YOU SO MUCH!
Why is it incorrect to say that "the model = database and view = client"? I thought I understood this video, and it doesn't seem to contradict this? Just looking to understand. Thanks!
I think this confusion came up when clients started doing client side rendering for SPAs, where now the client (browser) is in charge of rendering it's own view, based on the data passed to it from the controller, as opposed to server rendered pages of the past (think PHP) where the browser was sent the view already rendered.
Think is a hidden treasure. I struggled a lot with the topics as they go quite fast in the classes. But here it is short and thorough as well. One of the most satisfying explanations. Thank you very much
You never fail to impress me with the way you simplify complex topics and make them digestible. I've found that software developers love overcomplicating everything
One of the best explanations of MVC I've seen. I appreciate how you devoted some time to covering why MVC came around and where it fits in. This is the kind of video everyone should watch before starting any MVC class/training. Get the high level, and then dive in. Fantastic job.
I recommended this video to several friends that have issues understanding the MVC architecture. None was disappointed. Thank you
this is what i like , short and on point. no music, no nonsense speech , no insulting and stuff like that..
well done
the most precious 4 mins of my life to understand MVC 😇 I'm trying to learn Yii2 but I'm overwhelemed with MVC thing. Glad I found this video 😇
sometimes it's astounding how much better some youtube videos are than lectures.
I appreciate the simplicity. It's much needed among all the countless video tutorials we find on UA-cam. However, could there be a Part II in a separate video explaining how to incorporate the Observer Pattern into MVC?
A quick but detailed explanation! Thanks!
You're welcome!
its rare that a simpleton like me can understand concepts immediately but you made this one easy. You're a great teacher and have helped me alot in my journey, thanks!
This is great! Too many people explain MCV as this overly complicated smart process that changes how you create websites, when in fact, it's so much simpler
Thank you SO much for this. I've read so much documentation on this and none of it felt like it was in english. You explained in 4 mins what i've been trying to understand for a whole day.
Other videos about MVC ranges from 1hr to 3 hrs in length… this one, I got all I need and straight to the point.
Thank you for the simple explanation. I was completely lost when my lecturer introduced the MVC Patttern at the beginning of the Semester, and this video helps to understand the basics of MVC.
Simple and concise explaination; it's the one I'm sending the interns fresh out of bootcamps when they ask about the theory behind MVC.
I think what can be confusing when you first think about this model, is the fact that the user is not interacting with the controller, but with the view. Like, technically speaking, when web-apps are concerned, you are sending and receiving stuff using the controller. But you interact with the interface, click on buttons using the view that is rendered. Which can wrongfully give you the idea that you are using the View to communicate with the model.
I am working through a test project to understand how MVC works. Your explanation made it so much easier for me to understand what is going on with the program! Thank you very much! New subscriber here!
The most clear explanation of the MVC pattern I ever seen. Thanks!
That is way better explained than dozens of explenations I've watched in the past.
Tried reading text book description... Immediately yt and found this. Thanks a bunch. Very clear.
Thank you so much. This is by far the simplest and most clear explanation I've viewed so far.
Lol.... I've heard MANY explanations on MVC and none of the was clear and concise like yours. Props to you. I'm sure you would make a great teacher in school.
This is the best MVC explanation I've ever seen! I'm new to MVC because of PHP and this was incredibly helpful. Thanks Kyle! 😃
Man, despite many explanation on the youtube this is one of the best! Thanks a lot.
This was an extremely complex concept to me and you explained it in literally 4 minutes so thank you!!!
I have been studying Node Js for the last 3 months but for the first time only I understood the MVC idea very clearly, thanks dear
This is the best and simplest explanation!
What a lovely explanation. It is much appreciated. Keep going with your great tutorials.
The best simplified explanation I have ever watch or read regarding MVC. I'm hitting the subscribe button. Thumbs up to you!
really loved the example on the end, made it so much more clear!
Best explanation in the shortest time. In simple terms, in node.js, routes = controller, models = model and "dynamic views" = views
Just went through the video before my interview. The best explanation
Great job! Very informative!
Thanks!
I'm a total beginner to MVC and this video simplified it. Thanks!!!
A huge thank you for this video. It is crystal clear. Short but packed with valuable information!!! Thank you so much!
Whaoooo that's you!! I thought it was someone else. Been skipping on your video only to stumble up to know how amazing its explained from your end!!! Time to watch all your videos!!!
This kid is doing a good job dropping this awesome lessons
I learned from you more than from another guy talking 20 minutes...still simple its the best way to explain and you did a great job thx buddy!!
Thank you very much for the simple explanation!!! I was working for a company for 1.5 years and they failed to explain it so simple
I really enjoy going through your videos and filling in gaps of knowledge and finding stuff I've been wanting to learn. 👍
I'm really glad my videos are able to help you fill those gaps!
Your channel has helped improve a lot in web development. Much appreciated! Keep up the good work.😊
you made it so short and so clear, great dude
Brief explanation that we can get in this much time..........amazing.
I watched tons of videos over the last months but you're so different, Much thx from Egypt
I was looking for a short video to explain it clearly, you nailed it. thank you.
The simple examples were great. Thanks for posting this video!
Really appreciate the succinct explanation. It's frustrating when people obfuscate these things.
very clear and concise, not a single word was wasted, thank you
it's incredible how clear this video is
I didn't realize this video is from Web Dev Simplified. No wonder it's so easy to understand. Your videos are always amazing
So Simply explained, been trying to understand it from soo long!
Your explanation on every single topic is so clear and helpful! Thank you so much for all your videos!! :-)
Now this is called an explanation , Bravo!
I understood a lot more in this english video than in 100 other videos in my native language. Thanks
my fav web dev tutorial channel as a beginner :)
I desperately need a friend like you, who always help us to understand the topic😍😍
This is awesome brother.... You give the confidence for working hard with simplified version ❤️
I have trouble actually turning on my computer but after watching this I'm going to make an app.
Magnificently explained
awesome awesome awesome !!!
finally i feel much more clear about MVC 😄 ...thank you !!
You're welcome!
Thank you for the explanation, very clarifying and simple to understand.
It clears all my doubts. Absolutely wonderful! Thank you👍
Excellent concise explanation as always! Thank you 😄
Your explanations are simple and informative, I love your videos.
You should be proud of yourself for presenting this topic in the simplest way possible.
This is great explanation I have found about MVC on YoutTube. Great job.
I learned mvc architecture from you. Great. Thank you so much.
Super helpful and simple. My exam was easy because of this! Thank you!
Very clear and concise explanation. Thank you!
Clear and concise, great job!
Brilliant video. It's good that you mentioned the error request from viewer.
Amazing explanation! So simple to understand! big thanks!
just before an interview i needed to brush up on some topics from university. thanks for the brevity
What an amazing explanation in just a short time.
nicely explained, I get it now, exactly what I was looking for (coming from a UI designer), thank you
One of the best videos on MVC
very simplified explanation, great video!
You're an excellent teacher my man. Great work.
thank you for being so concise and clear. this was incredibly helpful
Wow, this video was amazing. I was looking trying to have a better view of an MVC and really trying to understand it, very easy explanation here. Thank you!
I wonder why so many people react like "Wow this is soo awesome!!!" although this very short and precious super video is ... actually NOT showing MVC. Like a CZRaS mentioned, this is MVP not MVC.
Could you explain more about it?)
Man! You have just explained what out doctor tried to teach us in the last six months in 4 minutes. Amazing and thank you so much. Now Will have to translate that in bloody german just.
Thanks for the simple and straightforward explanation.
Thanks! - I'm currently on my first co-op, learning .Net development. Your explanation was really helpful!
simple, short, easy. Loved it
Very simple but perfect and to the point explanation...thanks a lot for it
Perfectly explained. Thank you :)
Best explanation and a clear example. Thank you so much!
That was excellent... I mean completely amazing. I went through a month of back-end at a coding bootcamp, and honestly didn't know all of this. Everything is so much clearer now. I super thank you!
GREAT AND SIMPLE WAY OF EXPLAINATION.JUST LOVED IT.
Thank you so much, havent seen such simple and human explonation.
You are the best, you describe this concept fairly simply. Thank you so much!
Pretty good explanation, I love it!
Thanks and grettings from Mexico
Amazing! Simple and solid! Thank you! :)
Made 10000 things clear for me! Thank you
Best explanation ever! Well done!
Thanks for video. Straight to be point. Keep up the good work :D
Simple and clear explanation. Thank god for this channel!!