MVC

Purple·2021년 11월 16일
0

TIL

목록 보기
55/73

MVC(Model-View-Controller)

  • SW Architecture Design Pattern
  • separates application functionalities
  • promotes organized programming

1. Model

  • knowlege
  • handles data
  • interactions with database(SELECT,INSERT,UPDATE,DELETE)
  • communicates with controller

2. View

  • visual representation of a model
  • what the users see (UI)
  • usually consists of HTML/CSS
  • communicates with the controller

3. Controller

  • receives input (from view, url)
  • process requests (GET,POST,PUT,DELETE)
  • get data from a model
  • pass data to the view
profile
다시 보면, 더 많은 것들이 보인다.

0개의 댓글