...属性和功能上有了较大的改变.为了体 现自身的横切特征,侧面构件定义一种特殊的接口 称其为横切接口(crosscutting interfaces),它用于 规范侧面构件能够提供的计算委托及其用途上的约 束.通过不同的横切接口,侧面构件可以对不同的构 件进行行为和结构上的...
基于8个网页-相关网页
将元数据考虑为类中的一个方面化接口,通过这种方法来横切系统中的一些关注点,这样,可以将面向对象世界中的一些最佳实践应用到AOP中。
Considering metadata as an aspectual interface from classes to crosscutting concerns in the system translates some of the best practices from the object-oriented world to AOP.
区别是现在将系统的横切关注点映射到使用了投射到相关维中的多维接口的方面。
The difference is that you now map the system's crosscutting concerns to aspects that use a multidimensional interface, which is projected into the associated dimensions.
MF: 我认为AOP是一个完全不同的概念,不过通常认为借助领域特定语言来描述横切问题应该比用普通框架的命令-查询式接口更具可读性。
MF: I think AOP is an unconnected concept, other than in the generic sense that describing aspects with a DSL may be more readable than a framework's command-query interface.
应用推荐