MVC (Model-View-Controller) é um padrão arquitetural que separa uma aplicação em três partes — Model (dados/lógica), View (UI/apresentação) e Controller (trata entrada, coordena) — promovendo separação de responsabilidades. É fundamental, com muitas variações (MVP, MVVM).
Os três componentes
MODEL → data and business LOGIC (the core: data, rules, state) — independent of the UI
VIEW → the UI/PRESENTATION (displays data to the user) — what the user sees
CONTROLLER → handles user INPUT, coordinates between Model and View (processes requests,
updates the model, selects the view)
→ SEPARATION: data/logic (Model) ≠ presentation (View) ≠ input handling (Controller)
