MVC (Model-View-Controller) është një model arkitekturor që ndan një aplikacion në tre pjesë — Model (të dhëna/logjikë), View (UI/prezantim), dhe Controller (trajton hyrjen, koordinon) — duke promovuar ndarjen e përgjegjësive. Është themelor, me shumë variante (MVP, MVVM).
Tre komponentët
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)
