— 名詞・業務ルール・2×2で考える —
DDDで設計していると、次のような判断に必ずぶつかります。
- 顧客・注文といった主要な概念は切り出せた
- しかし業務ルールを整理していくと、新しい概念が次々に現れる
- これは新しい Entity にすべきか?
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name example.com; | |
| root /srv/example.com/public; | |
| add_header X-Frame-Options "SAMEORIGIN"; | |
| add_header X-Content-Type-Options "nosniff"; | |
| index index.php; |