Stack Explorer

MVC

UI

Model-View-Controller to separate presentation from logic

Principles

Model contains data and logicView renders the UIController handles interaction

When to use

Traditional web applications, frameworks that implement it

When not to use

Modern SPAs (consider MVVM)

Pros and Cons

Ventajas

  • + Clear separation of concerns
  • + Easier testing
  • + Parallel development

Desventajas

  • - Controllers can grow too large
  • - Does not define state management well

Related Technologies

Frameworks and Libraries

Related Architectures