...
首页> 外文期刊>Dr. Dobb's Journal >Dynamic Proxies in Java and .NET
【24h】

Dynamic Proxies in Java and .NET

机译:Java和.NET中的动态代理

获取原文
获取原文并翻译 | 示例

摘要

Discrete modules such as components and classes are designed to maximize functional cohesion while minimizing the interaction between modules. In typical object-oriented systems, these components are defined by the functional boundaries of the domain, even though many concerns are not aligned along these functional boundaries. Concerns such as logging, security, persistence, threading, and caching usually touch most areas of an application. While it is common to pull these concerns into separate subsystems, thereby limiting the degree to which they are spread throughout the code, explicit calls to these subsystems decrease cohesion and increase coupling of resulting modules. Consequently, one of the primary goals of software design is separation of concerns.
机译:离散模块(例如组件和类)旨在最大程度地发挥功能凝聚力,同时最大程度地减少模块之间的交互。在典型的面向对象的系统中,这些组件是由域的功能边界定义的,即使许多关注点并未沿着这些功能边界对齐。诸如日志记录,安全性,持久性,线程和缓存之类的问题通常涉及应用程序的大多数区域。虽然通常将这些关注点拉到单独的子系统中,从而限制了它们在整个代码中的分散程度,但对这些子系统的显式调用会降低内聚性并增加生成的模块的耦合。因此,软件设计的主要目标之一是关注点分离。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号