What is programming MVC? [Detailed Explanation]

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

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

  • @NathanBudd
    @NathanBudd 6 ปีที่แล้ว +26

    I've watched a lot of videos and tutorials, and read a lot of resources online.
    This is the best explanation of MVC that I've come across.
    *subscribed*

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

      I guess Im randomly asking but does someone know of a tool to get back into an Instagram account..?
      I was dumb forgot my login password. I would love any assistance you can offer me

  • @Pendragon2879
    @Pendragon2879 2 ปีที่แล้ว +11

    Came here for 100Devs and this is a solid explanation! Thank you for this!

  • @jays
    @jays 8 หลายเดือนก่อน

    7 years later, still a great resource. Thank you!

  • @arechigaartstudio
    @arechigaartstudio 4 หลายเดือนก่อน

    Your teaching really helped me understand quickly what MVC means in programming. Thank you for sharing your knowledge with all of us!

  • @tauqeer1036
    @tauqeer1036 2 ปีที่แล้ว +11

    Coming from #100Devs. This was a fab intro for someone who just heard of MVC.

    • @JD-hq1kn
      @JD-hq1kn ปีที่แล้ว

      I'm sure you're building awesome apps by now. I'm currently on the MVC class.

    • @ralphalmonte7042
      @ralphalmonte7042 4 หลายเดือนก่อน +1

      niceeeeee

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

    Thank you for this, this is the only video I've seen which properly explains MVC

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

    Best MVC tutorial I have ever seen before !!!! Thanks Jacurtis.

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

    I rarely like or comment on a youtube video but this video is an exception. I watched over more than tens of MVC videos and I never understand them but after I watched this I really understand WHAT THE HELL IS MVC lol. Really thanks man I appreciate your simple explanation. Now I can do my own framework in peace :)

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

    very useful, finally understand mvc. i read about it before and it was useless. very clear, descriptive easy to understand.

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

    This is great information. Seriously
    This will save you massive amounts of tutorial time.

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

    Our Coding Bootcamp gave a link for this explanation of MVC before we have a unit on it. Great run-down!

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

    Very clear and concise. I love learning about the principal and/or concepts before focusing on the "how" - Great! explanation.

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

    Best explanation of the MVC structure, love the presentation!

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

    Amazing, now it makes sense, I will remember this thing throughout my life!
    Thank you.

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

    Thank you so much for these, I really enjoy your way of visually showing what's happening in your videos.

  • @majia
    @majia 8 ปีที่แล้ว +15

    oh my gosh, i finally understand MVC @__@ thank you

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

      tu tambem és.....

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

    Most clear presentation I have ever seen on MVC. Thank you for clearing up my confusion.

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

    An example of genuine teaching

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

    This is by far the most helpful explanation!!

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

    The best explanation of mvc

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

    Thank you so much, finally understand MVC patterns

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

    Thanks! I'm using Spring MVC and this gave me the background I wanted, including the history in the beginning.

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

    You've got to be careful when you watch this video as terms are not used rigorously but loosely. Structure, Process, workflow... The database is NOT the model. The view is Not the client and the server is NOT the controller!!!
    i would recommend watching other videos on this subject too and comparing them but don't use this as just one video to understand the concepts!!!

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

    Thanks! That diagram definitely helped clear up the concept

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

    Note for others on what he said at 16:30. I was really confused by this as I found in some other explanations that the model can communicate with the view directly.
    MVC can be implemented in many ways. One of them is where the model communicates with the view directly. Is it the neatest way? I don't know.
    So, don't get confused when you find different explanations for the MVC. For example, some will call it a design pattern, others will call it an architectural style. It all depends on the context you're using it.

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

    Thank you for explaining this so well mate.
    Just to clarify - you were saying "lolcats", right?

  • @RioTheHitman
    @RioTheHitman 8 ปีที่แล้ว

    Great vid man I've been using MVC so long but didnt realize its called this...I've always programmed in this way because it makes things flow so much better

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

    This was very helpful! Thanks for all your hard-work.

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

    Hats off to you, finally now it makes sense! Thank you!

  • @NGGFrancis
    @NGGFrancis 8 ปีที่แล้ว

    Super useful! I just saw the video and I feel capable to explain to anybody what MVC is. (PD> English is not my first language)

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

    yeah this is a great description of MVC

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

    Skip to 5:30 for the tutorial........ yikes.

    •  6 ปีที่แล้ว +12

      I'm 13 minutes in, and he still haven't really started yet... He's just talking about web servers and databases and programming languages. Nothing yet that helps me understand MVC at all.

    • @stermister123
      @stermister123 6 ปีที่แล้ว +15

      pro tip: speed at x1.25 or x1.5

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

      a saviour

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

      Thank you! What a waste of fucking time.

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

      true hero!

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

    Amazing explanation, thank you for your clear answer! This video is very well structured video!

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

    The best 25 minutes of my life.

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

    thanks jacurtis you are a good expliner my friend :)

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

    100Devs brought me here, thanks for the lesson!

  • @sandeepvk
    @sandeepvk 8 ปีที่แล้ว +18

    thanks Jacurtis, very well put together video. I now understand MVC now

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

    Thanks for putting this together. It's a great starting point for those just beginning to look at MVC, like me. It takes existing client-server concepts and relates them to MVC, which I found useful. We'll done.

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

    This is a damn awesome Explaination. Especially after showing the diagrams of the client server and database :) thanks

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

    best video I have seen on MVC

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

    An absolutely fantastic explanation. This has really cleared things up for me.

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

    thank you, I understand MVC now (UI designer here)

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

    Your video said the model never talks to the view and the view never talks to the model. That does not fit the standard MVC UML diagram logic. It is more akin to the 3-tier architecture. I think the view does talk to the model when instructed to do so by the controller. [Happy to be corrected in my thought, as I am still learning]

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

      genuine question tho, why would the view talk to the model directly, if anything it needs to go thru the controller in terms of networking isnt it - ?

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

    This should have been required to watch the first day of my internship :(

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

      GOSH IK THIS WAS 3 YEARS AGO BUT IT WAS SO RELATABLE, dude just give us one vid which is not beginners friendly at all T.T

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

    No one can explain MVC better than you did

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

    Nice explanation of MVC. Well done!

  • @viktoriiagalvis3707
    @viktoriiagalvis3707 8 ปีที่แล้ว +2

    Amazing explanation, I'll have to watch a few more times cause I'm a slow learner but it is very clear and thank you for your help.

  • @thadeuszl5518
    @thadeuszl5518 8 ปีที่แล้ว +11

    Is it possible that you described a MVP? What would you say is the difference between MVC or MVP?

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

      I think so, right? Not sure this is a MVC... wouldn't a view AND the controller talk with the Model?

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

      Yes it's definitely not the MVC pattern described in my uni text books. The Controller isn't supposed to be an Adapter for communication from Model to View, but only (for user input) from View to Model.
      Oh well, as long as one uses the pattern to solve a problem and not just to use a pattern for the sake of using patterns, it should be fine.

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

      Yes he is explaining the MVP pattern design. This stack overflow link explain the difference stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference

    • @calvin_1983
      @calvin_1983 6 ปีที่แล้ว +2

      The MVP in 1992 was Michael Jordan.

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

      hitman98761 you just made my day :D

  • @CHARISHMABOLLINENI
    @CHARISHMABOLLINENI 5 หลายเดือนก่อน

    Excellent explanation👏

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

    Very good explanation. Wish you had such a good teacher as you yourself are cause all I needed to understand the concept behind it, was this video.

  • @abhishekjanjalkar9074
    @abhishekjanjalkar9074 8 ปีที่แล้ว

    Thanks for this very helpful video, finally cleared my confusion.

  • @MM-tn8gq
    @MM-tn8gq 3 ปีที่แล้ว +1

    Some constructive criticism: Explanations were good... when on-topic. Too many instances of going off on tangents, which can be distracting.

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

    MVC was really easy to understand and follow. I posted some comments for study notes and space repetition on my dev twitter account.

  • @NNNN-ml6fk
    @NNNN-ml6fk 7 ปีที่แล้ว

    your explanation is just more than awesome :D I finally understood mvc
    why dont u make a video to explain what is framework programming . I'm sure I will understant it from u !!!!

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

    Um, no mention of ASP.NET? :| I didn't even hear about cake php until now

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

      he mentioned it at about 10:28

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

    very great helpful and clear, good Job!!

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

    Mr. Curtis, great job! Beautifully made video; good slides, great graphics and certainly good instruction. There were a few times where you seemed to talk yourself out on a limb though, and I would say do less of that. Maybe keep flashcards or something! Certainly have the best MVC video though, and I really appreciate all I was able to gain from it. Keep it up! Great job!

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

      Thanks for the advice and feedback. Ill take it into consideration.

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

    you can probably skip to 14:30 actually

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

    Great explanation. Thanks.

  • @PALTUBABY
    @PALTUBABY 8 ปีที่แล้ว

    really nice explanation of MVC. Thank you :)

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

    solid, platform&language independent. the crux - as always - is in the routing

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

    This is traditional web application process. It's not MVC architecture

  • @helloimsick5587
    @helloimsick5587 6 ปีที่แล้ว +8

    5:00 starts explaining web (recommended for beginners)
    15:50 starts explaing mvc (here it begin)
    19:00 quick recap
    i would still recommend beginning at 0:00 for the sake of great effort what is here made .
    Thanks you very much for the explaination devMarketer!

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

      Yeah, it's a bit confusing when the recap adds route processing and has the view interacting with the user before the controller actually receives the dynamically processed view response. Kinda like saying it goes to all the trouble of finding the correct controller to just toss it out of the equation after the view is hit with a request. It's a stupidly simple concept though, so it doesn't really matter. The only thing to remember seems to be User->Controller->Model->Controller->View->Controller->User. Basic "pipeline" or "black box" architecture that allows things to interact in a way that gives you less and less job security the better it's implemented. But luckily you're always working to impress the next guy that pays you more money to do a thing and gaining practical knowledge along the way to make sure there's an ample supply of those.

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

    Thank you, I have found your video really helpful, I'll definitely follow your channel for more interesting lessons. Keep it up! respect :)

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

    That's one of the best Web Development classes I ever watched! It made me understand how MVC works in less than 20 minutes! Awesome! Thank you @jacurtis !

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

    this was such a nice presentation... thank you !! hope the rest of your videos clear as this haha

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

      its all Laravel :( nooooooooooo. thanks though :)

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

    This was incredibly helpful, thank you!

  • @rolivasarhelyi
    @rolivasarhelyi 25 วันที่ผ่านมา +1

    Anyone from #100devs ? Nice video on MVC, thank you!

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

    Technically, the view t alks to controller via interface.
    Directly or indirectly.

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

    Still confused. Not by this video, but when I actually look at MVC code it makes no sense. In Laravel for example, routes are in their own folder, and the views are in the resources/views folder, but where's model and controllers? I can find a Controllers folder in the app/Http folder, but it doesn't seem to do anything (there's no logic in it). I can't even find a "model" folder at all. So if it's MVC, why is everything hidden and mislabeled?
    And why does this make things easier? I typically see people repeating code to a MUCH higher degree with MVC. It seems like you need to do the same thing over and over again with MVC. Totally lost, and this video only confuses me more because while it seems simple, I can see nothing simple about any program that uses the model.

    • @eugen-lucianpasca5116
      @eugen-lucianpasca5116 7 ปีที่แล้ว

      Hello, Laravel has a strange strucutre. You could check this tutorial series where you can learn how more about it. laracasts.com/skills/laravel

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

    This is strongly recommended to one who starts learning MVC. Thanks bro for a very clear video.

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

    very very very bad explanation of the mvc pattern. Not only you barely talk about it, but you seem to not even understand what MVC is, or the fact that you have front end mvc, backend mvc, etc. You only confuse people.

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

    thank you i finally understand MVC funny enough i have been doing what seems to be MVC

  • @trancevision83
    @trancevision83 8 ปีที่แล้ว +10

    That was amazing explanation. Thank you!

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

    Excellent video. Thanks!!

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

    Thanks so much for this video, I have been trying to understand this for months ( I am brand new to programming) and this video is really making it understandable. This is going to help me get a job, I can't thank you enough.

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

    This is not MVC. it's kind of close to MVP, but not completely. actually what you've described would negate the whole purpose of MVC, MVP, MVVM etc. What in the heart of any of those architecture is separating the Model from the View. the Model is a GIVEN(!) and so is the View, what separates them can be a Controller, a Presenter or just a ViewModel, but none of them know nothing about the View, or else our View will never be reusable because it still has a 1:1:1 relation with the Controller and the Model.
    With MVC the Controller just updates the Model with the user's request (i.e. the operation the user wish to do on the data, such as 'give me a list', 'save this item' etc.) and then leave it for a View to query the Model and be able present the same data in many different ways, regardless the controller that updated the model.

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

    Masterpiece! Brilliant! Thank you very much!

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

    Thank you so much, now I understand this

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

    Fantastic Information Guy.... Love it :)

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

    You're legend. Thanks for this!

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

    Wonderful Dear.Thank you so much Sir

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

    Very helpful! Thank you!

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

    Wordpress is a linux thing.
    Just gonna pretend it didn't happen, the video is actually really good :)

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

    Nice explanation!

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

    I really like how you explained MVC, it is really clear to me now, thank you so much. I checked to see if you have an explanation of MVVM, but it seems you don't. Any plans on creating one or is there a video you recommend?

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

    Awesome explanation! Thank you!!!

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

    Amazing tutorial. Thank you a lot.

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

    Go to 19:30 for a quick 2 minute summary

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

    Awesome explanation! you put it down in a so simple way! Thank you!

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

    Thanks Very much but please make a video only explaining route processing process , i still can't get my head around it properly.

  • @MrWeesontan
    @MrWeesontan 8 ปีที่แล้ว

    Well done! Thanks for sharing.

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

    Thanks Jacurtis. Video was great in explaining all about MVC and now I real understand it. Had gone to Treehouse.com and Lynda.com but did not understand it at all. Will Keep watching all videos on Laravel.

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

    Isn't submitting a form an example of the view talking to the controller, not just listening?

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

    So basically.. MVC is just the structure of having a client, server, and DB..

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

    Can I say view as frontend, model as backend and control as middleware

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

    I'm enjoying this tutorial - part-way through so far. Cudos - it's good. (Helpful). Made me chuckle though when presenter said something like "WordPress is Apache / Linux". I've only ever ran it, personally, on Windows, and mostly on IIS. (I like linux too - and embedded systems ... but I do like Windows. And PHP as well ... and just to pre-empt some of the haters, also assembly, C, C++, C# and so on [I have an electronics/systems background] ... I think there often seems an incredible amount of prejudice around, lack of imagination, ignorance and so on - it's almost funny).

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

    Amazing - thank you so much!!

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

    Hm came here to learn about MVC as an iOS developer and been watching it for 10 minutes. Had to drop watching just because it seemed to have a lot of filler information..

  • @robchattaway2397
    @robchattaway2397 8 ปีที่แล้ว

    Really well described. Enjoyed the tutorial and learnt something in the process. Great job!