What Is MVC? Simple Explanation

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 409

  • @grantwilliams9838
    @grantwilliams9838 5 ปีที่แล้ว +239

    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 4 ปีที่แล้ว +6

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

  • @SebLeCaribou
    @SebLeCaribou 4 ปีที่แล้ว +4

    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!

  • @arafatjamil1873
    @arafatjamil1873 ปีที่แล้ว +1

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

  • @MRABDULALI-123
    @MRABDULALI-123 2 ปีที่แล้ว +1

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

  • @12819421
    @12819421 4 ปีที่แล้ว +6

    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

  • @DEVC1-c1p
    @DEVC1-c1p วันที่ผ่านมา

    The diagram in itself makes this the best MVC video. Explains how I am actually supposed to use it in a project.

  • @petartodorov9202
    @petartodorov9202 5 ปีที่แล้ว +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 5 ปีที่แล้ว +3

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

  • @mostafatourad8250
    @mostafatourad8250 7 ปีที่แล้ว +66

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

    • @TraversyMedia
      @TraversyMedia  7 ปีที่แล้ว +26

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

    • @MrAhmedUA
      @MrAhmedUA 7 ปีที่แล้ว

      was the example based on php~laravel :D ?

  • @unvrknow22
    @unvrknow22 6 ปีที่แล้ว

    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.

  • @tobyn123
    @tobyn123 7 ปีที่แล้ว +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...

  • @CentreMetre
    @CentreMetre 2 หลายเดือนก่อน

    Showing the controller view and model psuedocode all at once near the end really helped solidify how they interact, and thus what they do.

  • @denniskean183
    @denniskean183 7 ปีที่แล้ว +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!

  • @ojussinghal2501
    @ojussinghal2501 3 ปีที่แล้ว +1

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

  • @seanm9306
    @seanm9306 3 ปีที่แล้ว

    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.

  • @rwingender
    @rwingender 4 ปีที่แล้ว +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!!

  • @pasqualealfano6652
    @pasqualealfano6652 4 ปีที่แล้ว

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

  • @tilakmadichettitheappdeveloper
    @tilakmadichettitheappdeveloper 7 ปีที่แล้ว +474

    must be renamed to "The only Proper MVC Tut"

    • @nikolas__
      @nikolas__ 6 ปีที่แล้ว +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 6 ปีที่แล้ว +11

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

    • @ArchitecTJ37
      @ArchitecTJ37 4 ปีที่แล้ว +1

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

    • @-vis-2492
      @-vis-2492 3 ปีที่แล้ว +1

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

    • @ojussinghal2501
      @ojussinghal2501 3 ปีที่แล้ว +3

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

  • @Fawaz-vn5eg
    @Fawaz-vn5eg 7 ปีที่แล้ว +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😍✌

  • @TheFlyingMonkey200
    @TheFlyingMonkey200 3 ปีที่แล้ว +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!

  • @hamzaomari7052
    @hamzaomari7052 2 ปีที่แล้ว

    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 3 ปีที่แล้ว

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

  • @paulhanrahan6728
    @paulhanrahan6728 5 ปีที่แล้ว +6

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

    • @RealformStudioXR
      @RealformStudioXR 5 ปีที่แล้ว

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

    • @RealformStudioXR
      @RealformStudioXR 5 ปีที่แล้ว

      Regards

    • @paulhanrahan6728
      @paulhanrahan6728 5 ปีที่แล้ว

      @@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 5 ปีที่แล้ว

      @@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 5 ปีที่แล้ว

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

  • @batuhanaktas1769
    @batuhanaktas1769 4 ปีที่แล้ว

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

  • @romanticscents
    @romanticscents 7 ปีที่แล้ว +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

  • @kwalombo_ta
    @kwalombo_ta 5 ปีที่แล้ว

    Ridiculously easy to understand. give this man some gold

  • @HemaDarshiniSelvaraju
    @HemaDarshiniSelvaraju 5 ปีที่แล้ว

    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 👍😁😉🙏

  • @vamshikrishna-pt6qx
    @vamshikrishna-pt6qx 7 ปีที่แล้ว +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.

  • @bigbean3717
    @bigbean3717 3 ปีที่แล้ว

    no words for how much brad is the man

  • @jimscott2958
    @jimscott2958 4 ปีที่แล้ว +1

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

  • @SIFWD1
    @SIFWD1 7 ปีที่แล้ว +5

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

  • @computeprashant
    @computeprashant 4 ปีที่แล้ว

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

  • @ankitaaarya
    @ankitaaarya 7 ปีที่แล้ว +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.*

  • @jsr7599
    @jsr7599 4 ปีที่แล้ว

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

  • @FloridaGulfCoastLife
    @FloridaGulfCoastLife 5 ปีที่แล้ว +2

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

  • @Eamo-21
    @Eamo-21 6 ปีที่แล้ว +2

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

  • @simonnjugunamutua7923
    @simonnjugunamutua7923 2 ปีที่แล้ว

    Best mvc explanation i have come across. Thank you

  • @bernacaner544
    @bernacaner544 5 ปีที่แล้ว +9

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

    • @chvrleshd
      @chvrleshd 3 ปีที่แล้ว

      He has Udemy courses? Please give me a link

  • @GooseGumlizzard
    @GooseGumlizzard 5 ปีที่แล้ว +1

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

    • @jame_sta
      @jame_sta 5 ปีที่แล้ว

      Agreed, very good example and video

  • @quiller145
    @quiller145 4 ปีที่แล้ว

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

  • @silence8806
    @silence8806 3 ปีที่แล้ว

    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.

  • @lator1941
    @lator1941 2 ปีที่แล้ว

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

  • @Martin-xx2kw
    @Martin-xx2kw 6 ปีที่แล้ว

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

  • @mattconrad
    @mattconrad 6 ปีที่แล้ว

    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!

  • @GLoop無縫循環歌曲
    @GLoop無縫循環歌曲 5 ปีที่แล้ว

    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

  • @mohamedasiqshajahan1200
    @mohamedasiqshajahan1200 5 ปีที่แล้ว

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

  • @whatwebs
    @whatwebs 4 ปีที่แล้ว +1

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

  • @rafeemuhammad8828
    @rafeemuhammad8828 5 ปีที่แล้ว +1

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

  • @michaelvolkmuth3538
    @michaelvolkmuth3538 6 ปีที่แล้ว

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

  • @miggu
    @miggu 6 ปีที่แล้ว

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

  • @exikoz
    @exikoz 5 ปีที่แล้ว

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

  • @delisandor5337
    @delisandor5337 6 ปีที่แล้ว

    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=)

  • @adrianramirez9729
    @adrianramirez9729 2 ปีที่แล้ว

    The best explanation about MVC ! Thanks a lot

  • @markprodehl653
    @markprodehl653 4 ปีที่แล้ว

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

  • @sixeightsix19
    @sixeightsix19 3 ปีที่แล้ว

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

  • @davidbohadana8274
    @davidbohadana8274 7 ปีที่แล้ว

    Very simple yet meaningful exmplanation

  • @Didi-bz6kt
    @Didi-bz6kt 4 ปีที่แล้ว

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

  • @musandlala7991
    @musandlala7991 6 ปีที่แล้ว

    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.

  • @JasonTsimplis
    @JasonTsimplis 4 ปีที่แล้ว +1

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

  • @itzyourbwoytchybooxuur6475
    @itzyourbwoytchybooxuur6475 3 ปีที่แล้ว +1

    Superb explanation!
    Thanks a billion sir!

  • @ezekielmolemo7238
    @ezekielmolemo7238 5 ปีที่แล้ว

    Best MVC tutorial ever.

  • @philipg.5316
    @philipg.5316 6 ปีที่แล้ว

    You always make quality tutorial videos with nice examples. Kudos to your great content!

  • @ymohsin
    @ymohsin 4 ปีที่แล้ว

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

  • @gamesrullzro8356
    @gamesrullzro8356 5 ปีที่แล้ว +75

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

    • @celesterobinson6884
      @celesterobinson6884 5 ปีที่แล้ว +12

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

    • @gandhikaran24
      @gandhikaran24 5 ปีที่แล้ว

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

  • @karolf1690
    @karolf1690 5 ปีที่แล้ว +2

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

  • @fernandoarnaldovilanculo8286
    @fernandoarnaldovilanculo8286 ปีที่แล้ว

    Is impossible to dislike this tutorial.

  • @MohamedAhm3d
    @MohamedAhm3d ปีที่แล้ว

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

  • @keyildeverse1901
    @keyildeverse1901 6 ปีที่แล้ว

    bro , i like the way u speak so kindly

  • @AbdullahChaudhryDXB
    @AbdullahChaudhryDXB 7 ปีที่แล้ว +2

    best explanation ever in history .. thanks sir

  • @jacktickoo
    @jacktickoo 4 ปีที่แล้ว

    Did web app module that included 2 projects at university and the penny finally dropped watching this video. I wish I found this sooner!

  • @lobsang8405
    @lobsang8405 4 ปีที่แล้ว

    Thanks for a very simple and accurate explanation .

  • @TheUnrestrainedTaco
    @TheUnrestrainedTaco 4 ปีที่แล้ว +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!

  • @xinba6899
    @xinba6899 3 ปีที่แล้ว

    Best explanation and easy to understand

  • @ab76254
    @ab76254 4 ปีที่แล้ว

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

  • @graynoble4795
    @graynoble4795 5 ปีที่แล้ว

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

  • @rohanshenoy8353
    @rohanshenoy8353 6 ปีที่แล้ว

    Real good explanation. Brad doing awesome job explaining.

  • @Mrwingssalsasalitas
    @Mrwingssalsasalitas 3 ปีที่แล้ว

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

  • @marktwain3083
    @marktwain3083 7 ปีที่แล้ว

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

  • @istiyakahamedmilon6512
    @istiyakahamedmilon6512 6 ปีที่แล้ว

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

  • @jasonvictor1798
    @jasonvictor1798 4 ปีที่แล้ว

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

  • @zbera97
    @zbera97 6 ปีที่แล้ว

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

  • @taiwoadebisi9315
    @taiwoadebisi9315 6 ปีที่แล้ว +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

  • @SachinDevatarTechie
    @SachinDevatarTechie 5 ปีที่แล้ว

    Awesome Video, MVC architecture is a piece of cake now.

  • @shadyqaddoura3451
    @shadyqaddoura3451 5 ปีที่แล้ว +1

    Amazing very simple explanation for MVC, thank you

  • @klausdupont6335
    @klausdupont6335 6 ปีที่แล้ว

    The illustration is very clear and diagrams very helpful!

  • @circulardep
    @circulardep 6 ปีที่แล้ว

    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.

  • @itameio6161
    @itameio6161 3 ปีที่แล้ว

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

  • @shivachandrasekhar2676
    @shivachandrasekhar2676 5 ปีที่แล้ว

    The best MVC tutorial

  • @yongamer
    @yongamer 5 ปีที่แล้ว +1

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

  • @charlielin188
    @charlielin188 2 ปีที่แล้ว

    This is so great, easy to understand

  • @khalidelgazzar
    @khalidelgazzar 2 ปีที่แล้ว

    Great video. Short & to the point

  • @playcorner2474
    @playcorner2474 5 ปีที่แล้ว

    Good explanation dude. Controller gets the data from model and pass it to view

  • @artaway6647
    @artaway6647 7 ปีที่แล้ว +1

    Awesome! I recently saw your channel and I love it :) keep up the good work, always supporting you here

  • @busyrand
    @busyrand 7 ปีที่แล้ว

    Thanks Brad! You're a Great Professor.

  • @mel_halzy
    @mel_halzy 3 ปีที่แล้ว

    Phenomenal explanation. Thank you!

  • @frikkievandermerwe
    @frikkievandermerwe 6 ปีที่แล้ว

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

  • @wl3637
    @wl3637 4 ปีที่แล้ว

    Finally understand MVC , thanks gentleman ~

  • @shihaosun6861
    @shihaosun6861 3 ปีที่แล้ว

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

  • @crystalsky7615
    @crystalsky7615 7 ปีที่แล้ว +7

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

  • @s.bamahfoodh
    @s.bamahfoodh ปีที่แล้ว

    Very easy to understand, thank you so much