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

КОМЕНТАРІ • 554

  • @dontetaylor5139
    @dontetaylor5139 2 роки тому +162

    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!

  • @angiedale3647
    @angiedale3647 5 років тому +605

    simply amazed of your simplicity in explanation of all topics !

    • @WebDevSimplified
      @WebDevSimplified  5 років тому +37

      Thank you! I am really glad it was easy to understand.

    • @sublimeelectrons8699
      @sublimeelectrons8699 Рік тому

      @@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..

  • @SherryTheNerd
    @SherryTheNerd 4 роки тому +146

    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

  • @bugfacedog44
    @bugfacedog44 3 роки тому +59

    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!

    • @ambition415
      @ambition415 3 роки тому +15

      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!

    • @arcan762
      @arcan762 Рік тому

      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.

  • @souravsharma6092
    @souravsharma6092 2 роки тому +33

    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

  • @MrNll004
    @MrNll004 Рік тому +31

    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

  • @TheVentureaaron
    @TheVentureaaron 9 місяців тому +7

    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.

  • @aueinstein
    @aueinstein Рік тому +3

    I recommended this video to several friends that have issues understanding the MVC architecture. None was disappointed. Thank you

  • @nanibanani7560
    @nanibanani7560 3 роки тому +2

    this is what i like , short and on point. no music, no nonsense speech , no insulting and stuff like that..
    well done

  • @michaeljaycastillo1839
    @michaeljaycastillo1839 4 роки тому +38

    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 😇

  • @44r0n-9
    @44r0n-9 2 роки тому +3

    sometimes it's astounding how much better some youtube videos are than lectures.

  • @wanderingfido
    @wanderingfido 3 роки тому +27

    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?

  • @chrislam8442
    @chrislam8442 5 років тому +41

    A quick but detailed explanation! Thanks!

  • @jojobobo1815
    @jojobobo1815 3 роки тому +1

    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!

  • @davadh
    @davadh 2 роки тому +8

    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

  • @perlagisselleoki9111
    @perlagisselleoki9111 2 роки тому +1

    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.

  • @sydpao2224
    @sydpao2224 Рік тому +4

    Other videos about MVC ranges from 1hr to 3 hrs in length… this one, I got all I need and straight to the point.

  • @OberynPinkViper
    @OberynPinkViper Рік тому

    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.

  • @SebLeCaribou
    @SebLeCaribou 2 роки тому +1

    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.

  • @Patso44
    @Patso44 3 роки тому +2

    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!

  • @bogdanpristinsky1335
    @bogdanpristinsky1335 3 роки тому

    The most clear explanation of the MVC pattern I ever seen. Thanks!

  • @5uperM
    @5uperM Рік тому

    That is way better explained than dozens of explenations I've watched in the past.

  • @auth2368
    @auth2368 3 роки тому

    Tried reading text book description... Immediately yt and found this. Thanks a bunch. Very clear.

  • @gatormark
    @gatormark Рік тому +1

    Thank you so much. This is by far the simplest and most clear explanation I've viewed so far.

  • @andrew915
    @andrew915 3 роки тому

    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.

  • @FrankUnderwoood
    @FrankUnderwoood Місяць тому

    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! 😃

  • @mucahitkahraman4666
    @mucahitkahraman4666 4 роки тому

    Man, despite many explanation on the youtube this is one of the best! Thanks a lot.

  • @lailakandil2091
    @lailakandil2091 Рік тому

    This was an extremely complex concept to me and you explained it in literally 4 minutes so thank you!!!

  • @mahirvahmad2149
    @mahirvahmad2149 3 роки тому

    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

  • @ameer2942
    @ameer2942 4 роки тому +7

    This is the best and simplest explanation!

  • @bobbysilver272
    @bobbysilver272 2 роки тому +5

    What a lovely explanation. It is much appreciated. Keep going with your great tutorials.

  • @mandyulat1933
    @mandyulat1933 2 роки тому

    The best simplified explanation I have ever watch or read regarding MVC. I'm hitting the subscribe button. Thumbs up to you!

  • @cole_mcconnell
    @cole_mcconnell 3 роки тому +1

    really loved the example on the end, made it so much more clear!

  • @iglesiasleonardo1742
    @iglesiasleonardo1742 2 роки тому

    Best explanation in the shortest time. In simple terms, in node.js, routes = controller, models = model and "dynamic views" = views

  • @shraddhaverma6434
    @shraddhaverma6434 Рік тому

    Just went through the video before my interview. The best explanation

  • @mr.webdev3700
    @mr.webdev3700 5 років тому +42

    Great job! Very informative!

  • @adekoyadayo4698
    @adekoyadayo4698 Рік тому

    I'm a total beginner to MVC and this video simplified it. Thanks!!!

  • @effuseakay
    @effuseakay 3 роки тому

    A huge thank you for this video. It is crystal clear. Short but packed with valuable information!!! Thank you so much!

  • @xXHelsingGamingXx
    @xXHelsingGamingXx 4 роки тому +1

    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!!!

  • @Systemx93
    @Systemx93 4 роки тому +1

    This kid is doing a good job dropping this awesome lessons

  • @razvantinca8665
    @razvantinca8665 3 роки тому

    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!!

  • @gamerforlife123100
    @gamerforlife123100 2 роки тому

    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

  • @AlexTechie
    @AlexTechie 4 роки тому +4

    I really enjoy going through your videos and filling in gaps of knowledge and finding stuff I've been wanting to learn. 👍

    • @WebDevSimplified
      @WebDevSimplified  4 роки тому

      I'm really glad my videos are able to help you fill those gaps!

  • @erezswickley2139
    @erezswickley2139 Рік тому

    Your channel has helped improve a lot in web development. Much appreciated! Keep up the good work.😊

  • @rbedson8965
    @rbedson8965 2 роки тому

    you made it so short and so clear, great dude

  • @hustler5407
    @hustler5407 3 роки тому

    Brief explanation that we can get in this much time..........amazing.

  • @hassanEd009
    @hassanEd009 15 днів тому

    I watched tons of videos over the last months but you're so different, Much thx from Egypt

  • @asmaahamdy48
    @asmaahamdy48 Рік тому

    I was looking for a short video to explain it clearly, you nailed it. thank you.

  • @Scxe
    @Scxe 3 роки тому

    The simple examples were great. Thanks for posting this video!

  • @cw5948
    @cw5948 4 роки тому

    Really appreciate the succinct explanation. It's frustrating when people obfuscate these things.

  • @redditbeepery5796
    @redditbeepery5796 9 місяців тому

    very clear and concise, not a single word was wasted, thank you

  • @sirgenesy5099
    @sirgenesy5099 10 місяців тому

    it's incredible how clear this video is

  • @damvan8099
    @damvan8099 Рік тому

    I didn't realize this video is from Web Dev Simplified. No wonder it's so easy to understand. Your videos are always amazing

  • @chanchalrajguru9099
    @chanchalrajguru9099 4 роки тому

    So Simply explained, been trying to understand it from soo long!

  • @haileyharrykim5685
    @haileyharrykim5685 3 роки тому

    Your explanation on every single topic is so clear and helpful! Thank you so much for all your videos!! :-)

  • @piiumlkj6497
    @piiumlkj6497 4 роки тому +27

    Now this is called an explanation , Bravo!

  • @matteobattilani7301
    @matteobattilani7301 3 роки тому

    I understood a lot more in this english video than in 100 other videos in my native language. Thanks

  • @senak2737
    @senak2737 Рік тому

    my fav web dev tutorial channel as a beginner :)

  • @prafullwali5354
    @prafullwali5354 3 роки тому

    I desperately need a friend like you, who always help us to understand the topic😍😍

  • @dsquare0601
    @dsquare0601 3 роки тому

    This is awesome brother.... You give the confidence for working hard with simplified version ❤️

  • @carntspell
    @carntspell Рік тому

    I have trouble actually turning on my computer but after watching this I'm going to make an app.
    Magnificently explained

  • @parasarora5869
    @parasarora5869 5 років тому +10

    awesome awesome awesome !!!
    finally i feel much more clear about MVC 😄 ...thank you !!

  • @felipevillarroel6259
    @felipevillarroel6259 4 роки тому

    Thank you for the explanation, very clarifying and simple to understand.

  • @shirleyqian7324
    @shirleyqian7324 2 місяці тому

    It clears all my doubts. Absolutely wonderful! Thank you👍

  • @nsharma4981
    @nsharma4981 3 роки тому

    Excellent concise explanation as always! Thank you 😄

  • @utkarshkhare1181
    @utkarshkhare1181 3 роки тому +1

    Your explanations are simple and informative, I love your videos.

  • @namelessyoutubechannel
    @namelessyoutubechannel 26 днів тому

    You should be proud of yourself for presenting this topic in the simplest way possible.

  • @adexmokson7185
    @adexmokson7185 11 місяців тому

    This is great explanation I have found about MVC on YoutTube. Great job.

  • @futuristictech4337
    @futuristictech4337 2 роки тому

    I learned mvc architecture from you. Great. Thank you so much.

  • @brynbowler9963
    @brynbowler9963 4 роки тому +1

    Super helpful and simple. My exam was easy because of this! Thank you!

  • @jaantollander
    @jaantollander 2 роки тому +1

    Very clear and concise explanation. Thank you!

  • @omarmiah7496
    @omarmiah7496 4 роки тому

    Clear and concise, great job!

  • @emonymph6911
    @emonymph6911 2 роки тому

    Brilliant video. It's good that you mentioned the error request from viewer.

  • @AlmoGamingHD
    @AlmoGamingHD 3 роки тому +1

    Amazing explanation! So simple to understand! big thanks!

  • @combustablelemon14
    @combustablelemon14 Рік тому

    just before an interview i needed to brush up on some topics from university. thanks for the brevity

  • @adilmughal2251
    @adilmughal2251 3 роки тому

    What an amazing explanation in just a short time.

  • @neanda
    @neanda 3 роки тому

    nicely explained, I get it now, exactly what I was looking for (coming from a UI designer), thank you

  • @arj123sub
    @arj123sub 4 роки тому

    One of the best videos on MVC

  • @bhanuchowhan6312
    @bhanuchowhan6312 Рік тому

    very simplified explanation, great video!

  • @neilhess2518
    @neilhess2518 Рік тому

    You're an excellent teacher my man. Great work.

  • @kennedychibuikeaneke9648
    @kennedychibuikeaneke9648 11 місяців тому

    thank you for being so concise and clear. this was incredibly helpful

  • @YTGJULIO
    @YTGJULIO Рік тому

    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!

  • @Seetpion
    @Seetpion 3 роки тому +28

    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.

  • @someoneleo230
    @someoneleo230 2 роки тому

    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.

  • @abimbolaogundipe2772
    @abimbolaogundipe2772 2 роки тому

    Thanks for the simple and straightforward explanation.

  • @michaelantoniobutler3846
    @michaelantoniobutler3846 3 роки тому

    Thanks! - I'm currently on my first co-op, learning .Net development. Your explanation was really helpful!

  • @jasfudng7885
    @jasfudng7885 6 місяців тому

    simple, short, easy. Loved it

  • @urjapandyajani1022
    @urjapandyajani1022 2 роки тому

    Very simple but perfect and to the point explanation...thanks a lot for it

  • @jOEY-nl8vb
    @jOEY-nl8vb 2 роки тому

    Perfectly explained. Thank you :)

  • @_Anna_Nass_
    @_Anna_Nass_ Рік тому

    Best explanation and a clear example. Thank you so much!

  • @JenniferStewart100
    @JenniferStewart100 3 роки тому +1

    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!

  • @saiyeduvais1498
    @saiyeduvais1498 2 роки тому

    GREAT AND SIMPLE WAY OF EXPLAINATION.JUST LOVED IT.

  • @lilit3552
    @lilit3552 Рік тому

    Thank you so much, havent seen such simple and human explonation.

  • @xavierarce8086
    @xavierarce8086 7 місяців тому

    You are the best, you describe this concept fairly simply. Thank you so much!

  • @samuel2560
    @samuel2560 3 роки тому +1

    Pretty good explanation, I love it!
    Thanks and grettings from Mexico

  • @stevencruz978
    @stevencruz978 3 роки тому

    Amazing! Simple and solid! Thank you! :)

  • @danishuddin9752
    @danishuddin9752 2 роки тому +1

    Made 10000 things clear for me! Thank you

  • @flymario8046
    @flymario8046 4 роки тому +1

    Best explanation ever! Well done!

  • @khallingstad
    @khallingstad Рік тому

    Thanks for video. Straight to be point. Keep up the good work :D

  • @comcatcom8829
    @comcatcom8829 Рік тому

    Simple and clear explanation. Thank god for this channel!!