What Is MVC? Simple Explanation

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 403

  • @grantwilliams9838
    @grantwilliams9838 Před 5 lety +230

    Probably the best explanation I've seen yet regarding mvc. The diagram was excellent, the pseudo choose just topped it off. Well done again Brad.

    • @robot297
      @robot297 Před 4 lety +6

      The pseudo code was the cherry on top in my opinion! Thanks for the tutorial!

  • @12819421
    @12819421 Před 4 lety +5

    Precise, simple and gives the clear picture. Exactly what one want to know about MVC framework as a beginner, excellent job Brad, we owe you!
    Model - Organized data
    View - Interactive UI
    Control - Scalable processing logic connecting model and View

  • @SebLeCaribou
    @SebLeCaribou Před 4 lety +2

    After five other videos, a read through the entire wikipedia page, and two other websites, you finally made me understand the concept. THANK YOU SO MUCH!

  • @mostafatourad8250
    @mostafatourad8250 Před 7 lety +65

    we were waiting , every day I watch your channel so thanks for sharing knowledge

    • @TraversyMedia
      @TraversyMedia  Před 7 lety +26

      Geez no pressure there...just kidding. Thanks for watching

    • @MrAhmedUA
      @MrAhmedUA Před 7 lety

      was the example based on php~laravel :D ?

  • @MRABDULALI-123
    @MRABDULALI-123 Před rokem

    I LOVED THE WAY YOU SLOWLY TALK AND YOUR WAY OF EXPLANATION I HAVE NO COMMENTS FOR THAT LITERALLY

  • @petartodorov9202
    @petartodorov9202 Před 5 lety +2

    I'm so happy when I google about web dev topics and see a Traversy Media video. Thank you for the clear and helpful teaching!

  • @brighga33
    @brighga33 Před 4 lety +3

    This is by far the best explained tutorial on MVC concept! Hats off to you, Mr. Traversy!

  • @tilakmadichettitheappdeveloper

    must be renamed to "The only Proper MVC Tut"

    • @nikolas__
      @nikolas__ Před 5 lety +38

      You're goddamn right! The 3 min "pseudocode" example he put was more clear than what other guys try to say in hours in other tutorials

    • @luqmansen
      @luqmansen Před 5 lety +11

      @@nikolas__ well, this is so true, the pseudocode totally make everything clear

    • @ArchitecTJ37
      @ArchitecTJ37 Před 4 lety +1

      That's why Traversy Media deserves > million of subs!

    • @-vis-2492
      @-vis-2492 Před 3 lety +1

      @@luqmansen I have been struggling with this for a while, the pseudo code is cristal clear omg

    • @ojussinghal2501
      @ojussinghal2501 Před 3 lety +3

      4 years later, this is still one of the cleanest intros to MVC design pattern.

  • @unvrknow22
    @unvrknow22 Před 5 lety

    This is the best channel on youtube for helping a beginner to learn how to code. Thank you so much for all of your videos.

  • @paulhanrahan6728
    @paulhanrahan6728 Před 5 lety +6

    Thanks for making newer concepts and technology accessible to a "legacy' programmer like myself.

    • @RealformStudioXR
      @RealformStudioXR Před 5 lety

      Paul Hanrahan are you a freelancer, right now? If so what do you advise to get more clients

    • @RealformStudioXR
      @RealformStudioXR Před 5 lety

      Regards

    • @paulhanrahan6728
      @paulhanrahan6728 Před 4 lety

      @@RealformStudioXR Sorry for taking so long to get back to you. I am not a freelancer. I am developing an application I intend to market and sell on my own.

    • @RealformStudioXR
      @RealformStudioXR Před 4 lety

      @@paulhanrahan6728 thanks, how do you think will be the right model to sell, and there is something I always wonder, how do you assign a price to your software products

    • @AkshayKumar-fj9hd
      @AkshayKumar-fj9hd Před 4 lety

      Hi Paul, on what legacy technologies do you work? are you working as system programmer?

  • @arafatjamil1873
    @arafatjamil1873 Před rokem

    I was watching another video, then I remembered about Traversy Media, hit the keyboard, made a search. Bam! Beautifully explained.

  • @jimscott2958
    @jimscott2958 Před 3 lety +1

    I agree Grant : Probably the best explanation I've seen yet regarding mvc.

  • @seanm9306
    @seanm9306 Před 3 lety

    All the clarifications of what aspects vary depending on the framework really cleared things up for me. So many tutorials specify that certain aspects will or won't interact with one another in certain ways, but those differ from tutorial to tutorial. This really cleared that up.

  • @ojussinghal2501
    @ojussinghal2501 Před 3 lety +1

    4 years later, this is still one of the cleanest intros to MVC design pattern.

  • @denniskean183
    @denniskean183 Před 6 lety +1

    The Best explanation so far without getting lost in a deep ocean. I recently purchased a few courses from Traversy Media and you are a master at clarity and staying simple. Many thanks for that. The question, "What is MVC?", popped in an interview spells doom for many. I always explained it in line with what you teach here, but interviewers have their own ideas of what it means and most of the time it is just their private beliefs. I dread that question. But I think I will refer them to this video and be done with it, next time. You are a hero, my friend!

  • @romanticscents
    @romanticscents Před 6 lety +3

    thank you for sharing. i had a job interview once and he asked me was i familiar with the term mvc. i wasn't sure because mvc bAck in the day for me stood for Microsoft visual composer when i learned visual basic studio. now i understand your example. thank

  • @rwingender
    @rwingender Před 4 lety +4

    You are awesome! I've viewed a few similar videos on MVC, but yours is the best by far. It's not just the content that makes it the best; it's also just the tone of voice, the pacing, how you use the visuals and make it easy to follow where you are/what you're talking about visually. Really fantastic work!!

  • @tobyn123
    @tobyn123 Před 6 lety +1

    I just keep finding video after video after video of all the info I want, by you! Your channel is probably one of the best sources of information on the whole internet for anybody looking to get into development...

  • @FloridaGulfCoastLife
    @FloridaGulfCoastLife Před 5 lety +2

    Thank you for the explanation. That pseudo code really made it easier.

  • @bigbean3717
    @bigbean3717 Před 3 lety

    no words for how much brad is the man

  • @TheFlyingMonkey200
    @TheFlyingMonkey200 Před 3 lety +3

    This was awesome, I have never seen state management explained so nicely! I really liked the "languageless" code you had as an example towards the end. Excellent job!

  • @simonnjugunamutua7923
    @simonnjugunamutua7923 Před 2 lety

    Best mvc explanation i have come across. Thank you

  • @coobybooby933
    @coobybooby933 Před 7 lety

    You are very talented at this, no wonder people are stealing your videos. Thank you.

  • @Fawaz-vn5eg
    @Fawaz-vn5eg Před 7 lety +6

    Much awaited video. Thanks for sharing. The concept of MVC feels little bit confusing while i'am reading online articles, now i got it solved by this. Loving your style of teaching. Greetings from India😍✌

  • @batuhanaktas1769
    @batuhanaktas1769 Před 4 lety

    After watching about 20 videos since yesterday, finally i understood with this video. Thank you for your clear explanation.

  • @kwalombo_ta
    @kwalombo_ta Před 4 lety

    Ridiculously easy to understand. give this man some gold

  • @vamshikrishna-pt6qx
    @vamshikrishna-pt6qx Před 7 lety +14

    This is the best MVC tutorial so far i have seen. Thanks for that. It would be good if you explain some important concepts like SQL injection, cross-site scripting (XSS), cross-site request forgery (CSRF) and cookie tampering implementation by considering some MVC framework.

  • @rafeemuhammad8828
    @rafeemuhammad8828 Před 5 lety +1

    This is really perfect and proper tutorial for understanding MVC. Thanks a lot sir.....

  • @bernacaner544
    @bernacaner544 Před 5 lety +9

    You are just amazing, have several of your Udemy classes. Absolutely perfect explanation every single time

    • @chvrleshd
      @chvrleshd Před 3 lety

      He has Udemy courses? Please give me a link

  • @computeprashant
    @computeprashant Před 4 lety

    The last part of explaination is something you can't get everywhere..Thank you for wonderful tutorial!!!

  • @pasqualealfano6652
    @pasqualealfano6652 Před 4 lety

    One of the best, fastest and really to the point explanation to grasp the MVC concept, well done, man!

  • @jsr7599
    @jsr7599 Před 4 lety

    you're a Great Man in modern programming (a catalyst). You basically program programmers. Thanks!

  • @lator1941
    @lator1941 Před 2 lety

    this was so clear. I'm new to back-end development and I got it so clearly. Thank you

  • @GooseGumlizzard
    @GooseGumlizzard Před 5 lety +1

    that pseudo code example really tied it together, great stuff!

    • @jame_sta
      @jame_sta Před 5 lety

      Agreed, very good example and video

  • @hamzaomari7052
    @hamzaomari7052 Před 2 lety

    The best MVC explanation. I was searching for a good video to show it to my friend. And this is the best one. Especially that it has the algorithms explanation at the end. GOOD JOB!

  • @reubenalfred4878
    @reubenalfred4878 Před 2 lety

    Good intro bro! short and sweet straight to the point and no noise video, if only all videos are like this!!
    Thanks so much man!!

  • @ankitaaarya
    @ankitaaarya Před 7 lety +2

    *Clicked on thumbnail, paused the video, now commenting : thank you so f-ing much!!! i was searching MVC all over the internet, thanks to you man, & god is listening to me.*

  • @gamesrullzro8356
    @gamesrullzro8356 Před 5 lety +75

    Model -> Database
    View -> Front-end
    Controller -> Server

    • @celesterobinson6884
      @celesterobinson6884 Před 5 lety +11

      Wait this is misleading. Based on this video, the Model is NOT the Database. It communicates with the database. 2:43

    • @gandhikaran24
      @gandhikaran24 Před 4 lety

      Model is the query language that handles and manages data and not the database itself.

  • @SIFWD1
    @SIFWD1 Před 7 lety +5

    Dude this is easily the best explanation of MVC! You've got yourself another subscriber...... keep up the quality content

  • @HemaDarshiniSelvaraju
    @HemaDarshiniSelvaraju Před 5 lety

    I normally won't comment in most tech videos that I watch but I really liked the way u illustrate the code in one page which makes people to really understand the flow of the code for those who wants to see the clear picture of the dynamic flow in the codes. This is good idea and way to teach people. Sudo for u 👍😁😉🙏

  • @karolf1690
    @karolf1690 Před 5 lety +2

    Really good explanation, especially when it comes to this pseudo-code. Thanks

  • @Eamo-21
    @Eamo-21 Před 5 lety +2

    Brad, you have a gift for explaining concepts. Thank you so much for putting out this great content.

  • @adrianramirez9729
    @adrianramirez9729 Před rokem

    The best explanation about MVC ! Thanks a lot

  • @miggu
    @miggu Před 5 lety

    concise, useful and not overcomplicated : excellent explanation. thank you

  • @whatwebs
    @whatwebs Před 4 lety +1

    Excellent job. Loved the psuedo code to show the logic.

  • @MohamedAhm3d
    @MohamedAhm3d Před 9 měsíci

    This is awesome. The example really helped me understand. Thank you

  • @michaelvolkmuth3538
    @michaelvolkmuth3538 Před 5 lety

    This is also a good review for veterans that haven't messed with MVC in a while. Thanks!

  • @GLoop無縫循環歌曲

    You deserve the like. It's so helpful, that I'm a year one undergraduate student doing internship in company's website, which used CodeIgniter. I totally know how to modify the webpage now. Thank you.
    Greetings from Malaysia

  • @itzyourbwoytchybooxuur6475

    Superb explanation!
    Thanks a billion sir!

  • @silence8806
    @silence8806 Před 2 lety

    Thank you so much for explaining MVC. This is foundational to my daily job and up to now, i did not understand it good enough.

  • @xinba6899
    @xinba6899 Před 2 lety

    Best explanation and easy to understand

  • @edgar-mmxxiii
    @edgar-mmxxiii Před 4 lety +25

    View (GUI), Controller (main Functionality and Logic), Model (deals directly with Files and Data)

  • @mohamedasiqshajahan1200

    Awesome Explanation. Even a child will get a clear understanding about what is MVC.

  • @shadyqaddoura3451
    @shadyqaddoura3451 Před 5 lety +1

    Amazing very simple explanation for MVC, thank you

  • @JasonTsimplis
    @JasonTsimplis Před 4 lety +1

    Best explanation ! The code sample also really helped a lot, thank you for this great tutorial !

  • @mattconrad
    @mattconrad Před 5 lety

    Thanks, Bossman. I've been trying to understand Laravel and MVC for a while and this is the best, most concise definition I could find!

  • @Mrwingssalsasalitas
    @Mrwingssalsasalitas Před 2 lety

    Thanks for sharing. Very useful. Helped me understand better the Django framework

  • @yongamer
    @yongamer Před 5 lety +1

    Model - Interaction with database (SELECT, INSERT, UPDATE, DELETE)
    View - Usually consist of HTML/CSS
    Controller - Processes requests (GET, POST, PUT, DELETE)

  • @AbdullahChaudhryDXB
    @AbdullahChaudhryDXB Před 7 lety +2

    best explanation ever in history .. thanks sir

  • @sixeightsix19
    @sixeightsix19 Před 2 lety

    You did a phenomenal job. Thank you very much! It is definitely not an easy or intuitive concept for many learners.

  • @markprodehl653
    @markprodehl653 Před 4 lety

    Great video explaining a concept that I have been struggling to wrap my head around for some time.

  • @davidbohadana8274
    @davidbohadana8274 Před 6 lety

    Very simple yet meaningful exmplanation

  • @fernandoarnaldovilanculo8286

    Is impossible to dislike this tutorial.

  • @musandlala7991
    @musandlala7991 Před 5 lety

    well explained and yes it should be renamed to "The only Proper mvc Tutorial".
    By far the most well thought out tutorial without being framework dependent.

  • @charlielin188
    @charlielin188 Před 2 lety

    This is so great, easy to understand

  • @lobsang8405
    @lobsang8405 Před 3 lety

    Thanks for a very simple and accurate explanation .

  • @TheUnrestrainedTaco
    @TheUnrestrainedTaco Před 3 lety +2

    Thank you so much for this, first time I truly felt like I understood the actual practical relationship between M V and C. Greatly appreciated, and great explanation!

  • @s.bamahfoodh
    @s.bamahfoodh Před rokem

    Very easy to understand, thank you so much

  • @zikoelitbook1422
    @zikoelitbook1422 Před 2 lety

    2022 and still useful 👌 thanks alot

  • @itameio6161
    @itameio6161 Před 2 lety

    Thanks for this video and the example code. Very clear and understandable.

  • @Martin-xx2kw
    @Martin-xx2kw Před 6 lety

    Great explanation Brad. I can't get an work done cuz I keep jumping to you next tutorials. You are the BEST!

  • @Didi-bz6kt
    @Didi-bz6kt Před 4 lety

    I wish this video would have been published earlier ! Great video thank you !

  • @quiller145
    @quiller145 Před 4 lety

    This is the best explanation I’ve seen on CZcams. You’ve just earned a sub

  • @ezekielmolemo7238
    @ezekielmolemo7238 Před 4 lety

    Best MVC tutorial ever.

  • @zbera97
    @zbera97 Před 6 lety

    You are the best. Thanks for your videos that demystify hard concepts.

  • @ymohsin
    @ymohsin Před 4 lety

    Thank you, this is GOLDEN! BEST tutorial on MVC for beginners so far! Amazingly informative diagram, great example code. KEEP POSTING MY FRIEND!

  • @khalidelgazzar
    @khalidelgazzar Před 2 lety

    Great video. Short & to the point

  • @keyildeverse1901
    @keyildeverse1901 Před 5 lety

    bro , i like the way u speak so kindly

  • @klausdupont6335
    @klausdupont6335 Před 5 lety

    The illustration is very clear and diagrams very helpful!

  • @exikoz
    @exikoz Před 5 lety

    I don't know how to thank you Brad? you have helped me and other so much. As always quality content!

  • @shihaosun6861
    @shihaosun6861 Před 3 lety

    Best MVC video!!! Thank you so much!!!

  • @sankalparora9374
    @sankalparora9374 Před 3 lety

    amazing example and explanation

  • @graynoble4795
    @graynoble4795 Před 5 lety

    Very nice! Started quickly, clear voice and very nice pseudo-code. Great job! (p.s. 74 people just CANT be taught)

  • @mel_halzy
    @mel_halzy Před 2 lety

    Phenomenal explanation. Thank you!

  • @frikkievandermerwe
    @frikkievandermerwe Před 5 lety

    Thank you so much for this awesome explanation. The Pseudo code part really helped me understand it...

  • @rajatjoshi6695
    @rajatjoshi6695 Před 4 lety

    Very crisp yet very helpfull. #kudos

  • @delisandor5337
    @delisandor5337 Před 6 lety

    whatever I search regarding code... at least one traversy media video in the result list... at least with 1000 likes... and they are great.. congrats for the awesome youtube channel=)

  • @yamogebrewold8620
    @yamogebrewold8620 Před 5 lety

    This was helpful. I recently learnt in a lecture about MVC that in true MVC, the Controller doesn't actually interact with the View, it only interacts with the Model, and that many MVC frameworks don't follow the "true MVC way". Is that something worth considering? I guess that as long as this way is what we find in popular frameworks, let's just stick to that. This makes much more sense to me personally.

  • @kanuraagkaushik97
    @kanuraagkaushik97 Před 4 lety

    Pseudocode summed it up!
    Thank you!

  • @jasonvictor1798
    @jasonvictor1798 Před 4 lety

    That's earned a bookmark!! Thank you for this.

  • @istiyakahamedmilon6512

    Nice explanation and example of MVC. Again thanks a lot Brad

  • @ab76254
    @ab76254 Před 4 lety

    Thanks man, that was really helpful, especially with the diagram and pseudocode to demonstrate the basic concept!

  • @HassanInter
    @HassanInter Před 7 lety +98

    Model is where to save data
    View is displaying data
    Controller is where to message the data before you display

    • @manwithllama
      @manwithllama Před 6 lety +4

      Nice. Your thought makes MVC a lot easier to compartmentalize. Quick edit: I think you meant "massage" (knead, manipulate) instead of "message" (write a note).

    • @rahultech77
      @rahultech77 Před 6 lety +43

      Model is fetching and processing the data
      View is displaying stuff to user
      Controller communicates between the model and view.

  • @Mellow_Moode
    @Mellow_Moode Před rokem

    Fantastic explanation...and thank you.

  • @rohanshenoy8353
    @rohanshenoy8353 Před 6 lety

    Real good explanation. Brad doing awesome job explaining.

  • @VoryaJavaheri
    @VoryaJavaheri Před měsícem

    I'd like to thank you. It's very helpful

  • @marktwain3083
    @marktwain3083 Před 7 lety

    I watch your videos even though I already understand in depth, what MVC is.

  • @shivachandrasekhar2676

    The best MVC tutorial

  • @crystalsky7615
    @crystalsky7615 Před 7 lety +7

    please guys never dislike Brad's video.....
    Thanx once again Brad for sharing some useful concepts..

  • @taiwoadebisi9315
    @taiwoadebisi9315 Před 6 lety +1

    Everytime I open a tutorial on anything web, I doze off because they can be boring. I mean really boring!
    Yours however, ITS AWESOME!
    THANKS