不要为了关联而定义关联;只在你需要一起加载它们时才这么做,这应该由你的业务规则和设计来决定(见范例5)。
Don't define an association for the sake of association; do so only when you need to load them together, which should be decided by your business rules and design (please see Example 5 for details).
良好设计的规则(请放心,cfengine 使良好的设计变得容易)只是使系统达到一种理想状态(如在 cfengine 规则中定义的那样理想)。
Well-designed rules (and rest assured, cfengine makes it easy to design well) will only move the system to an ideal state (ideal as defined in the cfengine rules).
这包括考虑最终确定的服务定义,和其他设计级工件,例如 portlet、具体化的业务规则(externalized business rules),或人员交互(staff interactions)。
This involves taking account of the finalized service definitions as well as other design-level artifacts such as portlets, externalized business rules, or staff interactions.
应用推荐