← 返回卡片

原书出处

Domain-Driven Design Tackling Complexity in the Heart of Software

85 原书第11章|Example Insight into the Nightly Batch

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

mated income tax and insert it as an Entry in the tax with-holding Account. Executing Posting Rules

The Posting Rule has established the conceptual dependency between Accounts, but if the pattern stopped there, it could be difficult to follow. One of the trickiest parts of dependency designs is the timing and control of updates. Fowler discusses three options. "Eager firing" is the most obvious, but typically the least practical. Whenever an Entry is inserted into an Account, it immediately triggers the Posting Rules and all updates are made immediately.

"Account-based firing" allows processing to be deferred. At some point, a message is sent to an Acc

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

原书定位详情

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

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

EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce