Forum

Difference between MVC & MVP & MVVM?

This thread contains 1 reply, has 2 voices, and was last updated by  Nitesh User Do not delete 11 months, 1 week 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

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

Contact Us

Working Hours

  • Monday9:00 AM – 9:00 PM
  • Tuesday9:00 AM – 9:00 PM
  • Wednesday9:00 AM – 9:00 PM
  • Thursday9:00 AM – 9:00 PM
  • Friday9:00 AM – 9:00 PM
  • Saturday9:00 AM – 9:00 PM
  • SundayClosed
Copyright 2016-2019 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

Register your Interest