Skip to content

Instantly share code, notes, and snippets.

@Curookie
Created October 15, 2018 07:23
Show Gist options
  • Save Curookie/76e107a0b1eff7afd1317628c9cbfad8 to your computer and use it in GitHub Desktop.
Save Curookie/76e107a0b1eff7afd1317628c9cbfad8 to your computer and use it in GitHub Desktop.
디자인 패턴
Model View Controller의 약자로 에플리케이션을 세가지의 역할로 구분한 개발 방법론이다.
사용자가 Controller를 조작하면 Controller는 Model을 통해서 데이터를 가져오고
그 정보를 바탕으로 시각적인 표현을 담당하는 View를 제어해서 사용자에게 전달하게 된다.
User(Request)-> Controller(Manipulates) -> Model(Update) -> View(Sees) -> User(Response)
스프링의 주요 개념이다.
# MVC의 장점
- 유연하고 확장하기 쉽다
- 디자이너와 개발자의 협업이 용이하다.
- 유지보수 비용을 절감할 수 있다.
# MVC의 단점
- 기본기능 설계를 위해 클래스들이 많이 필요하기 때문에 복잡할 수 있다.
- 설계시간이 오래 걸리고 숙련된 개발자가 필요하다.
- Model과 View의 완벽한 분리가 어렵다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment