将元数据考虑为类中的一个方面化接口,通过这种方法来横切系统中的一些关注点,这样,可以将面向对象世界中的一些最佳实践应用到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.
从静态横切民email对象中吸取教训之后,他们通过把契约行为在对象层次中提升到sendable基接口,从而进一步精炼了其策略。
Taking the lessons learned with static crosscutting the Email object, the team further refines its strategy by moving the contractual behavior up the hierarchy into the Sendable base interface.
从静态横切民email对象中吸取教训之后,他们通过把契约行为在对象层次中提升到sendable基接口,从而进一步精炼了其策略。
Taking the lessons learned with static crosscutting the Email object, the team further refines its strategy by moving the contractual behavior up the hierarchy into the Sendable base interface.
应用推荐