摘要
针对企业应用系统扩展和维护过程中存在的问题,提出基于面向方面编程(Aspect-Oriented Programming简称AOP)技术的解决方案,探讨了基于AOP的重构方法。与传统面向对象方法相比,该方法避免了代码分散与代码纠缠等问题,在降低模块间耦合度,提高模块复用性和系统可扩展性方面有明显的优势。本研究通过对网通员工考量激励系统的重构,给出了基于.Net平台的AOP实现过程。
To solve the problems of enterprise application system's expansion and maintenance, this paper discusses the refactoring method based on the technology of Aspect - Oriented Programming (AOP). Compared with the traditional object oriented model, this method avoids such problems as code separation or code tangle. In addition, it has obvious advantages in lowering the coupling degree between modules, and increasing the module reusability and the expandability of system. By refactoring Netcom employee performance and incentive system, the paper presents the realization of AOP based on . Net platform.
出处
《河北农业大学学报》
CAS
CSCD
北大核心
2008年第2期114-117,共4页
Journal of Hebei Agricultural University
关键词
AOP
重构
动态代理
AOP
refactoring
dynamic proxy