Forum

Difference between MVC & MVP & MVVM?

This thread contains 1 reply, has 2 voices, and was last updated by Nitesh User Do not delete 5 years, 3 months ago.

  • Author Replies
    • #51446

      Difference between MVC & MVP & MVVM?


    • #51447

      MVC (Model View Controller):

      M: Model – data model classes
      V: View – XML files
      C: Controller – handles the business logic

      The controller is linked with the Android APIs making it difficult to unit test. Modularity & flexibility is a problem since the view and the controller are strongly linked.

      MVP (Model View Presenter):
      The View includes the XML and the activity/fragment classes. So the activity would ideally execute a view interface making it easier for unit testing.

      MVVM (Model View ViewModel):
      The Model contains data, tools for data processing, business logic. The View Model is responsible for covering the model data and preparing the data for the view. IT also provides a hook to pass events from the view to the model.


      Regards,
      Nitesh Bavishiya

Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.

GET FREE CONSULTATION

Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.

SUBSCRIBE TO OUR NEWSLETTER

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha