← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1971.o.1.b.1.a.2.a.1.b.2.a

航运教学案例以领域愿景选择交付核心

理解等级:高级

原书的简化航运模型教学例先看似可把定价、发票当作“底线”;但应用面向一线运营,领域愿景强调更快、更可靠地满足客户要求。因此以符合客户约定的货物交付为核心,抽出 Delivery 包,把 Billing 等资金问题放在重要的支持位置。

这里的取舍取决于该应用的目标,不是断言航运业务的计费天然不重要。原书明说模型经过高度简化,不能把图示当成实际系统设计或实施结果。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第123章《Segregated Core》(源文件:_epub-src/0321125215_ch15lev1sec7.html;单元02) - 结论依据:原文说明图15.2是高度简化的教学模型,并以领域愿景和一线运营场景选择交付,而非以收入问题自动定义核心。 - 原始内容:Note that this is highly simplified compared to what would likely be needed for a real application. A realistic model would be too cumbersome for an example. Therefore, although this example may not be complicated enough to drive us to a SEGREGATED CORE, take a leap of imagination to treat this model as being too complex to interpret easily and deal with as a whole. [...] This might lead us to focus on pricing and invoices. But we really need to look at the DOMAIN VISION STATEMENT. [...] This application is not being designed for the sales department. It is going to be used by the front-line operators of the company. So let's relegate all money-related issues to (admittedly important) supporting roles. [...] The focus needs to be on the cargo handling: delivery of the cargo according to customer requirements. - 转录说明:原 EPUB 强调标签边界造成的术语前空格已规范转录;`[...]` 分别标明底线问题前文、领域愿景引文,以及 Billing 包相关句子的省略;摘录属于作者教学例而非实际实施结果。