有界上下文是否涵盖所有应用程序层(域,应用程序,演示文稿和基础架构)或仅域模型?例如,我应该使用以下结构:
<bc 1>
|_ domain
|_ application
|_ presentation
|_ infrastructure
<bc 2>
|_ domain
|_ application
|_ presentation
|_ infrastructure
Run Code Online (Sandbox Code Playgroud)
或以下:
domain
|_ <bc 1>
|_ <bc 2>
application
presentation
infrastructure
Run Code Online (Sandbox Code Playgroud)