知识卡片
契约是连接信息格式
契约是架构各部分传递信息或表达依赖的格式,范围包括远程接口、库版本与运行地址等。严格契约要求更多名称、类型与结构一致;宽松契约减少约束但增加运行逻辑和验证责任。协议名称只是起点,实际兼容规则才决定变化代价。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Evolutionary Architecture Topologies · 查看原书依据
The format used by parts of an architecture to convey information or dependencies. This definition of contract encompasses all techniques used to “wire together” parts of a system, including transitive dependencies for frameworks and libraries, internal and external integration points, caches, and any other communication between parts. Contracts in software architecture range from strict to loose, as illustrated in
参考来源
- 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第05章《Evolutionary Architecture Topologies》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch05.html;段落定位:The format used by parts of an architecture)
- 结论依据:原文对“契约是连接信息格式”的定义或案例,支撑“契约是架构各部分传递信息或表达依赖的格式,范围包括远程接口、库版本与运行地址等”的归纳。据其上下文,严格契约要求更多名称、类型与结构一致;宽松契约减少约束但增加运行逻辑和验证责任。
- 原始内容:The format used by parts of an architecture to convey information or dependencies. This definition of contract encompasses all techniques used to “wire together” parts of a system, including transitive dependencies for frameworks and libraries, internal and external integration points, caches, and any other communication between parts. Contracts in software architecture range from strict to loose, as illustrated in