LearningTech

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:
    def __init__(self):
        pass

    def execute(self):
        print('Executing MVC')