
Copyright
이 모든 내용은 Pluralsight에 Matthew Renze가 올린 'Clean Architecture: Patterns, Practices, and Principles'라는 강의의 다섯번째 챕터를 듣고 정리한 것입니다(https://app.pluralsight.com/library/courses/clean-architecture-patterns-practices-principles/table-of-contents). 저작자님께 게시허가도 받았습니다.
Content
2. Domain-centric Architecture
4. Commands and Queries (CQRS)
The Screaming Architecture
"The architecture should scream the intent of the system!" - Uncle Bob
Organizing architecture around the use cases of the system. Use cases are representation of a user's interaction with the system.
We can organize our application's folder structure and namespaces according to the components that are used to build the software, components like models, views, and controllers or we can organize our folder structure and namespaces according to the use cases of the system, concepts that pertain to user's interactions with objects in the system like customers, products and vendors.
Why Use Functional Organization?
Pros
Spatial locality : items that are used together live together
Easy to navigate the folder structure
Avoid vendor lock-in
Cons
Lose framework conventions : so we typically have to tell framework where things are located
Lose automatic scaffolding
Categorical is easier at first
출처
이 모든 내용은 Pluralsight에 Matthew Renze가 올린 'Clean Architecture: Patterns, Practices, and Principles'라는 강의의 다섯번째 챕터를 듣고 정리한 것입니다(https://app.pluralsight.com/library/courses/clean-architecture-patterns-practices-principles/table-of-contents). 제가 정리한 것보다 더 많은 내용과 Demo를 포함하고 있으며 최종 Summary는 생략하겠습니다. Microsoft 지원을 통해 한달간 무료로 Pluralsight의 강의를 들으실 수도 있습니다.
'Programming > Architecture' 카테고리의 다른 글
(Clean Architecture) Testable Architecture (0) | 2018.02.12 |
---|---|
(Clean Architecture) Microservices (0) | 2018.02.12 |
(Clean Architecture) Commands and Queries (CQRS) (0) | 2018.02.11 |
(Clean Architecture) Application Layer (0) | 2018.02.11 |
(Clean Architecture) Domain-centric Architecture (0) | 2018.02.09 |