摘要
面向方面编程(AOP)是一种新的编程技术,它能够将那些本不应该纠缠在一起的任务分离开,从而为程序提供更好的封装性和互操作性。将AOP应用到小规模的软件开发项目中能够提高开发效率,使系统更加容易理解、维护。但是将AOP应用到企业级的软件开发项目中,往往会出现很多问题,比如切入点如何定义,多个横切关注点之间应该如何交互等等。
Aspect oriented program (AOP) is a new program technology. Using AOP, those unconnected tasks am separated so as to support much more encapsulation and interoperability for program. In the course of devdoping small scale software project, efficiency will be improved and project will be understood more easily by applying AOP. Whereas, in the enterprise software project, problems will spring up, such as how to define pointcut, how to communicate among several crosscutting concerns, and so on.
出处
《计算机与现代化》
2007年第2期112-115,共4页
Computer and Modernization