← 返回卡片

原书出处

Domain-Driven Design Tackling Complexity in the Heart of Software

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

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

ules explicit by introducing a new object. Figure 11.8. The class diagram of the basic posting rule

A posting rule is triggered by a new Entry in its "input" account. It then derives a new Entry (based on its own calculation Method) and inserts the new Entry into its "output" Account . In a payroll system, an Entry in a salary Account might trigger a Posting Rule that would calculate a 30 percent estimated 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

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

原书定位详情

来源: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