1, the MVC

  • m   – mode
  • v     – view
  • c    – controller



User operation - View (responsible for receiving user input operation)- Controller(business logic processing)- Model (data persistence operation)- ViewCopy the code

  • MVP completely disconnects the View from the Model, with presenter acting as a bridge






3, MVVM

There is no connection between View and model. The core idea of MVVM: “Data model data two-way binding”