UI Arch

MVC

Description

Model-View-Controller. Separates internal representation of information from the way information is presented to and accepted from the user.

Where to use

  • Web Frameworks.

Real World Example

Spring MVC, Ruby on Rails.

Code Example

class MVC:\n    def __init__(self):\n        pass\n\n    def execute(self):\n        print('Executing MVC')