crosscutting concern is the inherent limitation for traditional programming, and aspect-oriented programming(aop) is one of the most effective ways to solve this problem.
面向方面的编程是解决传统编程技术中横切问题的有效途径之一。
what's more, this crosscutting concern starts to bleed into the notion of design by contract (dbc).
而且,横切关注点开始渗入到契约式设计(dbc)的概念中。
absrtact: in constructing application, how to deal with the problem of system crosscutting concern is key to the success of developing application.
摘 要:在应用系统构建中,如何处理系统中的横切关注点问题是系统开发成功的关键。
in object-oriented programming, for instance, the natural unit of modularity is the class, and a crosscutting concern is a concern that spans multiple classes.
例如,在面向对象的编程中,模块性的天然单位是类,横切关系是一种跨越多个类的关系。
one of the hard things about testing a widespread crosscutting concern is that it can advise so many join points.
关于测试广泛分布的横切关注点的一个难题是它会报告太多的联结点。
aop complements object-oriented programming by facilitating another type of modularity that pulls together the widespread implementation of a crosscutting concern into a single unit.
aop通过促进另一种模块性补充了面向对象的编程,该模块性将横切关系广泛分布的实现聚拢到一个单元。
you can code your crosscutting concern in one place, then use a technique called the interceptor to tie that code to methods that might need it.
您可以在合适的位置编写自己的横切关注点(crosscutting concern),然后使用称为拦截(interceptor)的技术将关注点绑定到需要它的方法上。
the logic of deciding which query needs to be executed is a crosscutting concern that is retained in an aspect.
决定执行何种查询的逻辑就成为一个横切关注点了,它被放在aspect中。
my first attempt at modularizing a crosscutting concern employs a system-specific aspect that contains pointcut definitions as well as advice to that pointcut.
我模块化一个横切功能的第一次尝试是使用特定于系统方面,它包含了切入点定义和这个切入点的通知。