What is MVC architecture?

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • Checkout my full courses on Udemy:-
    1) Spring Batch Framework for Beginners
    www.udemy.com/...
    2) Struts 2 Framework for Beginners
    www.udemy.com/...
    3) Java Chat Application
    www.udemy.com/...

КОМЕНТАРІ • 154

  • @foodudey8u
    @foodudey8u 4 роки тому +106

    I really liked how you explained it first with the colors to get the main point across, then labeled each part MVC, then got into the specific names like JSP, Servlet. Made it much easier to understand, thank you!!

  • @thisaidoesnotexist9807
    @thisaidoesnotexist9807 Рік тому +11

    This explanation is simple yet so effective. Thanks a lot!

  • @BahawalTV
    @BahawalTV 4 роки тому +60

    At 4:20 you are directly sending the view arrow to the client. I think it should go through the controller, which is responsible for the response.

    • @OasisFinder
      @OasisFinder 3 роки тому +4

      This is what i was also thinking, because i have watched some videos about MVC and view send data to controller and controller send data to client

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

      That's not correct

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

      View will directly send response to client

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

      @@beast0726 since controller is servlet filter so reqest and response go through it

  • @kasperamkumar5489
    @kasperamkumar5489 Рік тому +11

    This is one of the best ways of explanation.
    Thank you, dude.

  • @ankithtiwari5397
    @ankithtiwari5397 Рік тому +5

    Very easy to understand for beginners in MVC. Thanks a lot for the simplest explanation.

  • @agtech3768
    @agtech3768 9 місяців тому +4

    This explanation is simple yet so effective. Thanks a lot Sir!

  • @HP_Talk
    @HP_Talk 15 днів тому +1

    It's very cool & Amazing 👍

  • @alexkim2109
    @alexkim2109 2 роки тому +4

    Thanks, you've made the MVC concept easy to understand.

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

    I appreciate this video as you provide real world examples. Thank you.

  • @allroundplace9303
    @allroundplace9303 4 роки тому +2

    No words of ur best explanation. Easy understanding

  • @connerjensen8170
    @connerjensen8170 3 роки тому +8

    Awesome video! I love how you explain first without using names, it makes it so easy to understand. Thanks 🙏

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

    within 5 minutes we cover this topic.
    thankyou so much so grateful teaching

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

    I was need this types of explanation that I got. ❤ Thanks brother.

  • @arbazqureshi1495
    @arbazqureshi1495 9 місяців тому +2

    Awesome Man, I hope you have such videos on other important concepts

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

    Explained in the simplest way possible, thank you my friend

  • @geybriyel2416
    @geybriyel2416 Рік тому +2

    This is explained really well. Thank you.

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

    Life saving video,best video ever, loads of ❤️ form PICT ,Pune

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

    Today my teacher explained but I was stuck. thanks for easy explanation.

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

    Great tutorial Abhay. Could u plz come up with MVP and MVVM designs paterns too?

  • @thecrunchshorts
    @thecrunchshorts 10 місяців тому +1

    Thanks For the excellent explanation Sir !🎉

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

    I have two questions
    1- does implementing different programming languages requires different architecture pattern or does it does not rely on it?
    2- for my final year project, I am building a web-based application which online course platform where users can enroll in courses by paying the required price the project will be built in following technologies
    front end : HTML CSS JAVASCRIPT
    back end: Php
    database: MySQL
    my question is which architecture design is suited for my web-based application?

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

    Very easy to understand! Thank you!

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

    great explanation using colored boxes! Thank you very muchh!

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

    thank you so much...best video on topic,you are very good teacher.the way you explain is fantastic.keep it up.

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

    wow, nice explanation. Now I understand MVC...

  • @bujji6371
    @bujji6371 5 місяців тому

    Thnq sir....ur way of teaching very very good ❤

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

    what a fantastic way to teach...!!!!...keep it up bro

  • @abmonem8806
    @abmonem8806 17 днів тому

    it's outstanding bro

  • @Lyrik-Klinge
    @Lyrik-Klinge 2 роки тому

    Great job, THANKS, super explained!

  • @bcse-lllganesh4747
    @bcse-lllganesh4747 2 роки тому +1

    Best explained 👍

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

    Explained very clearly, Thank you

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

    It was easy to understand, thanks to the tutorial.

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

    extremely clear explanation. Thank you

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

    Best explanation till date may Allah bless you

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

    Very clear explanation...!!! Thanks a lot❤

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

    Thank you very much sir it helps me alot for my today's exam❤

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

    wow ...very good explanation...great help in understanding the MVC architecture pattern

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

    Nice explanation

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

    Explanation was superb

  • @MirekKrenc
    @MirekKrenc 4 роки тому +2

    Just to the point. Thanks.

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

    excellent tutorial

  • @paramroopparmar3580
    @paramroopparmar3580 5 місяців тому

    Amazing video

  • @shyariofr.k
    @shyariofr.k Рік тому

    So easy explained for Buisness analyst 😄

  • @ImmaturekidAtwork-g3g
    @ImmaturekidAtwork-g3g 3 дні тому

    Nice explanation tan q

  • @SachinSharma-yb5ov
    @SachinSharma-yb5ov Рік тому

    kamal ka smjaya sir
    👏💯

  • @SathishKumar-vb7ug
    @SathishKumar-vb7ug Рік тому

    I really loved it liked u explained very clearly super bro awesome keep it up bro expecting more. Videos from u bri

  • @HercjayStudios
    @HercjayStudios 4 роки тому +2

    Great tutorial... Really learnt a lot from this

  • @the_infinity_snake
    @the_infinity_snake 8 місяців тому +1

    How can the Client send a request to the Controller without a view at the first place?
    They have to interact with an interface (a view) and then that view triggers the Controller,
    tells the Controller what the client want to read from the database, right? 🤨
    🤔🤔....

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

    What a beautiful explanation

  • @Ms-money
    @Ms-money 2 роки тому

    Excellent explanation. Thanks!

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

    Thank you for your video about MVC :)

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

    Loved the explanation 🙌🙌
    Thank you so much

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

    appreciate brother its still working

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

    sir please make video on client server architecture

  • @kris4117
    @kris4117 Рік тому +2

    In MVC pattern, I understand that always Controller is the middle man. So when a view is returned it is returned to the Controller BUT not directly to the client. Please clarify or correct the diagram.

    • @abipk5169
      @abipk5169 4 місяці тому

      The client sends a request e.g., a GET request to the Web Server. The Web Server passes this request to a DispatcherServlet. Think of DispatcherServlet as a front Controller (think of it like a Primary Controller). The DispatcherServlet finds the appropriate handler method defined in Controller that you as a developer has written. In the Controller method, the Model class will be called. The Model class has the Business logic to read / write data from / to database, apply transformation on data etc. The Model class will hold the data that needs to be rendered in the view. The Controller method will have a reference to the View that should be rendered when the execution finishes. When the controller method finishes executing, it returns a result (to the Web Server) which typically includes a reference to the view (such as a view name or a View object) and the model data to be displayed in the view. The Web Server then uses this information, renders the view (uses the view and model to generate an HTML page) and then it sends the rendered view back to the client as the body of the HTTP response.

  • @SomeshSingh-ug6ns
    @SomeshSingh-ug6ns Рік тому

    crystal clear explaination

  • @Manishkumar-vr4fm
    @Manishkumar-vr4fm 3 роки тому

    I am very stifcation you vidio sir thanks for watching this vidio

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

    thanks bro it's really help

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

    Very nice understanding

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

    Superb tutorial 🙏🏻 thanks

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

    Great explenation! Many thanks!!!

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

    Best explanation sir....

  • @Omkar227
    @Omkar227 4 роки тому +5

    NO COMPLICATION.......quick understanding of MVC..KIP IT UP :)

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

    Wow I like your explanation

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

    Great explanation 🎉

  • @Channel-yi5em
    @Channel-yi5em 5 місяців тому

    Thank you very much sir you are awsome

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

    Great tutorial. Explanation 👌

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

    really helpful brother....thankyou....

  • @DeepakYadav-gx2pm
    @DeepakYadav-gx2pm 2 роки тому

    Awesome explanation

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

    sweet simple on spot ❤

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

    Very well explained ✌️👍

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

    Thank you sir , its very helpful.

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

    Congratulations! You gained a new subscriber 😊

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

    Neatly explained!

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

    Well explanation.... Superbbb❤️

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

    very good explanation!

  • @shantanusambhare3225
    @shantanusambhare3225 4 місяці тому

    nicely done

  • @SathishKumar-vb7ug
    @SathishKumar-vb7ug Рік тому

    Bro excellent very good great bro

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

    very very nice explain

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

    Nice simple and straight. Great !! Pls come up with more videos on MVP designs

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

    Thanks a lot..🙂✨

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

    You earned a like and subscribe.Very good explanation

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

    Great explaination

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

    Nice explained!!

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

    Thank you, very helpful.

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

    You're the best

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

    Nicely explained 👌 👏

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

    Nice explanation 👌

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

    Ultimate sir ji

  • @طيورالحرية-ي8ظ
    @طيورالحرية-ي8ظ 3 роки тому

    Thank you so much this video helped me so much ❤️

  • @sairaman3621
    @sairaman3621 5 місяців тому

    In oose also ths MVC topic they can I write ths

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

    But the user will interact with a view (UI), how a user can interact with controller because it is just a code (as you said it is servlet) ?

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

      User uses the browser to send the request to the server. Controller takes the request through Request Parameter and sends that request to the Model. AND model is the ones that deals with the database so it takes the request from the controller and communicates with the database and queries according the the request and sends the data back to controller. BUT the data that is sent to the controller is raw data which is not formatted so it sends the raw data to the VIEW which is responsible for formatting the data OR generating UI (HTML CSS) using the data. After formatting it sends the formatted data to the client which is the browser.
      This is what i learned from the video. You may already know this concept as this comment was posted 5 months ago.

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

      @@pawanshrestha3823 Actually the Answer to my question is : User does not interact with the controller but it interact with the view (ex. HTML Page) and from the View the user makes a request to server. At server the Controller (ex. A Servlet, or RestController in Spring Boot) takes that request and send it a MODEL (ex. Java classes and api) ....

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

    awesome explantaion

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

    Thanks bro❣️

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

    thanks

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

    very well explained my concept clear of mvc than you....

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

    Thank you💌

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

    Thank you sir

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

    Awesome brother

  • @shivam_wagh_patil_trends
    @shivam_wagh_patil_trends 8 місяців тому

    Thank You