摘要
软件工程中有一条重要原则:关注点分离,但采用OOP方式不能很好地解决系统级关注点分离问题。AOP(Aspect-OrientedProgramming)是目前解决这一问题的技术,它提供了关注点捕捉的有效机制,表达了更高层次的抽象。本文首先介绍了AOP的重要概念和基本原理,然后针对AOP的目标和.NET特性,讨论并提出了一种轻量级的适用于.NET的AOP框架。
Concerns Separation is one of the important principles in software engineering but OOP can not resolve the problem of System Level Concerns Separation. AOP Aspect-Oriented Programming is the technology now to figure out the problem it gives an efficient mechanism for concerns catch and expresses the higher level's abstract. This paper introduces the important conceptions and the fundamental in AOP firstly and then it discusses and brings out a lightweight AOP framework aimed at the goals of AOP and .NET attributes.
出处
《现代计算机》
2005年第3期19-22,共4页
Modern Computer