知识卡片
数据抽象层隔离缓存与库结构
仅通过读写器间接访问数据库,若处理单元仍依赖表字段形状,属于数据访问层。数据抽象层则用独立契约让缓存结构与数据库表结构不同,并由读写器转换;这样数据库的增量变更未必立即扩散到处理单元。隔离依赖转换契约真实稳定,不能把“有一层读写器”直接等同于解耦。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Space-Based Architecture Style · 查看原书依据
With a data abstraction layer, on the other hand, the processing unit is decoupled from the underlying schemas through the use of separate contracts.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第16章《Space-Based Architecture Style》(阅读计划第19项,单元12;源文件:`OEBPS/ch16.html`)
- 结论依据:原书区分数据访问层与数据抽象层,并说明读写器承担结构转换。
- 原始内容:With a data abstraction layer, on the other hand, the processing unit is decoupled from the underlying schemas through the use of separate contracts.