Subdomain = problem space => room
Bounded Context = solution space => Carpet, floor
Carpet, floor 都是要讓 room 可以有個舒適地版的 solution,但你不會分不出來 Carpet, floor 的差異
將運算的資料結果回傳給表現層 => serve ready-to-use data in the required form
統整所有表現層元件的任務 => Use-cases of the application’s frontend
與表現層是雙向鏈結的 => 當產生新的 UI ,可能延伸或複製程式碼
No
Implement the domain logic that doesn’t belong to a particular aggregate and most likely span over multiple entities.
Coordinate the activity of aggregates and repositories with the purpose of implementing a business action.
DTO( Data Transfer Object):資料傳輸物件,Service 或 Manager 向外傳輸的物件。DTO,用於傳輸資料,可能傳遞給前端,也有可能傳遞給其他系統。用於承載資料。