Which architecture your mobile application framework follows-MVC or MVP or MVVM?

Published on: 27-02-18 08:08pm

Currently, we follow the latest technology which is MVVM to develop the framework of our application. Let's understand difference between all the three first-

MVC- It has three components Model, View, and Controller.

  • Model: Model represents the shape of the data and business logic. It maintains the data of the application. Model objects retrieve and store model state in a database.
  • View: View is a user interface. View display data using the model to the user and also enables them to modify the data.
  • Controller: Controller handles the user request. Typically, a user interacts with View, which in-turn raises appropriate URL request, this request will be handled by a controller. The controller renders the appropriate view with the model data as a response.

MVP- The Model View Presenter (MVP) architecture pattern improve the application architecture to increase testability. The MVP pattern separates the data model, from a view through a presenter.The presenter triggers the business logic and tells the view when to update. It, therefore, interacts with the model and fetches and transforms data from the model to update the view. The presenter should not have, if possible, a dependency to the Android SDK.  

MVVM- The MVVM is the latest architecture which stands for Model-View-ViewModel.Here, Model and View layer are same as in above architectures. However, View Model layer has a layer binding functionality for Android and partial layer binding and partial controller functionalities for iOS.

Unable to find an answer?

Looking for anything specific article which resides in general queries? Just browse the various relevant folders and categories and then you will find the desired article.

Contact Us

Confirm Action

Are you sure? You want to perform this action.