知识卡片
网关稳定外部资源视图
网关把调用者请求翻译成一个或多个目标资源的调用,可匹配不同粒度、限制访问子集并遮蔽数量、协议与位置变化。它成为目标的调用者和外部的契约边界,但也增加中介工作,应避免把可变化的内部细节重新泄漏出去。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 软件接口 · 查看原书依据
The specifics of the resources—their number, protocol, type, location, and properties—may change over time, and the gateway can provide a more stable interface. Figure 15.2 A gateway that provides access to a variety of different resources We now turn to the specifics of designing particular interfaces.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第15章《软件接口》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch15.html)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:The specifics of the resources—their number, protocol, type, location, and properties—may change over time, and the gateway can provide a more stable interface. Figure 15.2 A gateway that provides access to a variety of different resources We now turn to the specifics of designing particular interfaces.