← 返回卡片

原书出处

Domain-Driven Design Tackling Complexity in the Heart of Software

133 原书第16章|How Restrictive Should a Structure Be?

核验版本的摘录快照 · 导入于 2026-11-14T03:12:56.413Z

heir state changed. Policy layer objects would listen for events of interest from the lower layers.

When an event occurred that violated a rule, the rule would execute an action (part of the rule's definition) that makes the appropriate response, or it might generate an event for the benefit of some still higher layer.

In the banking example, the values of assets change (Operations), shifting the values of segments o

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch16lev1sec6.html

EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce