内聚原则是指一个模块内部的所有代码应该只完成一个目标。
Cohesion, refers to the principle that inside a given module, all the code should work to accomplish a single goal.
在清单7所示的代码中,控制器的回调方法首先使用XSLProcessor模块生成HTML片段,然后将其注入到目标节点中。
In the code in Listing 7, the callback method of the controller first generates the HTML fragment using the XSLProcessor module and then injects it into the targeted node.
目标机端的监控程序主要是由调试命令执行模块、通信模块、代码控制模块组成。
The monitor programs of the target are composed of executive module of debugging command, communication module and code control module.
设计目标是增强复杂程序运行时的性能和PHP自身代码的模块性。
The design goals were to improve performance of complex applications, and improve the modularity of PHP's code base.
设计目标是增强复杂程序运行时的性能和PHP自身代码的模块性。
The design goals were to improve performance of complex applications, and improve the modularity of PHP's code base.
应用推荐