MVC

                                                                        
  • Design Pattern that separates an application into three interconnected components
    • model (data): Represents the data and business logic.
    • view (user interface): Represents the User Interface
    • controller (logic): Handles user input and updates the model and view accordingly.
  • Flow of data between components is unidirectional.
  • Activities
    • First user interact with view like by clicking button, a keystroke etc.
    • View notifies the controller about this input
    • Controller receives the input from the view and decides how to update the model and view accordingly 



Comments