知识卡片

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

分析模型须经实现检验

理解等级:高级

能帮助人理解领域的分析模型,未必能直接指导软件设计。原书项目的大型类图准确呈现了业务中复杂的关联,但开发者发现它难以划分为可存取、可操作且满足事务完整性的单元;即使用对象数据库也未解决。于是实现退回临时拼凑的设计。检验模型时,除问“是否反映业务”,还要问“能否组织可运行的软件”;实现中的困难应反过来促使模型调整。参见 [[建模需与实现相连]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第22章《Chapter Three. Binding Model and Implementation》(源文件:_epub-src/0321125215_ch03.html) - 结论依据:原书第一个项目的模型捕捉了一些领域知识,但关联网络无法转为满足存取和事务完整性的实现单元;即使使用对象数据库,模型仍无法指导开发。末句是由案例提出的模型检验建议。 - 原始内容:they had quickly discovered that the tangle of associations, although navigable by a human analyst, didn't translate into storable, retrievable units that could be manipulated with transactional integrity. ... this project was using an object database ... At a fundamental level, the model did not provide a guide to implementation.