Open yoogail105 opened 2 years ago
🙋 아키텍처 패턴을 선택하는 이유는?
distribution
Testability
Ease of use
Model
View
Controller/Presenter/ViewModel
아키텍쳐 패턴Architecture Patterns
🙋 아키텍처 패턴을 선택하는 이유는?
좋은 아키텍처의 요소
distribution
of responsibilities among entities with strict roles. : 복잡함에 대응할 수 있는 가장 쉬운 방법은 단일 책임 원칙을 준수해서 각 객체들의 책임(역할)을 분리하는 것이다.Testability
usually comes from the first feature. : 테스트들은 런타임 이슈로부터 문제점을 찾을 수 있게 해 준다.Ease of use
and a low maintenance cost. : 사용이 편리하고, 유지보수 비용이 적어야 한다. → 사용이 편리: 코드의 길이가 짧고, 많은 설명이 필요하지 않는 코드 → 유지보수 용이: 테스트가 가능한 코드(Testability)MV* Essentials
Model
: 데이터를 다루는 부분을 담당View
: 화면에 보여지는 시각적인 UI를 담당Controller/Presenter/ViewModel
: Model과 View의 연결을 담당⇒ 이렇게 나누면 얻을 수 있는 장점
🔖 참고