Logo

MVC

Model - View - Controllers

Pasted image 20241029162403.png

View:

  • Frontend or GUI (or template engines - static site)

Controllers:

  • View Trigges Controllers
  • This uses Models to perform actions
  • [Routes]

Model:

  • Schemas for backend ([DB Schema + Methods])
  • Isolates the data layer from the application.
  • Model sends back data to view as needed

MVP

Model - View - Presenter

Pasted image 20241029162448.png

View & Model: Same as MVC

Presenter:

  • Model & View has Dependency Presenter
  • Acts as Middleman

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud