← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 1334.b.6.b

组合模块封装稳定资源

理解等级:中级

组合模块用简化接口声明一组紧密相关、用途一致的资源,例如应用服务器及其负载均衡器和 DNS。它封装装配知识,适合资源集合基本稳定的声明式代码。若某些场景只需其中一部分,模块可能过度配置;分歧较大时应拆分。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 设计基础设施代码库 · 查看原书依据

      A bundle module is useful for defining a cohesive collection of infrastructure resources. It avoids verbose, redundant code. These modules capture knowledge about the various elements needed and how to wire them together for a common purpose. Applicability A bundle module may be suitable when you’re working with a declarative stack language and when the

    参考来源

    - 位置:《Infrastructure As Code》第10章《设计基础设施代码库》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch10.html) - 结论依据:原文说明组合模块用简化接口声明一组紧密相关、用途一致的资源,例如应用服务器及其负载均衡器和 DNS;本卡据此解释其用途及适用边界。 - 原始内容:A bundle module is useful for defining a cohesive collection of infrastructure resources. It avoids verbose, redundant code. These modules capture knowledge about the various elements needed and how to wire them together for a common purpose. Applicability A bundle module may be suitable when you’re working with a declarative stack language and when the