business logic and communication with the network and database layers. • View - the UI layer. Displays the data and notifies the Presenter about user actions. • Presenter - retrieves the data from the Model, applies the UI logic and manages the state of the View, decides what to display and reacts to user input notifications from the View. MVP Roles
business logic and communication with the network and database layers. • View - the UI layer. Listen to a stream of data and notifies the ViewModel about user actions. • ViewModel - Abstracts the data source and reacts to user input notifications from the View. Its like a Model for the View (Like the name suggests). MVVM Roles
any way of change the entity in a single place • Spread the model changes using reactive flows in a way that every screen that listen to the changes will be notified • Cache the object in a way that, if needed, we can load the last saved version of the entity MANAGERS Concept