摘要
为了消除传统面向对象开发模式在处理公共系统功能所产生的代码混乱、一致性差和扩展困难问题,在.NET Frame-work环境下,采用面向方面(aspect-oriented programming,AOP)模式,创建了方面管理器完全分离软件中横切多模块的系统功能,并新增加了异常处理传递机制,加强了面向方面的容错性能;并结合面向方面编程(object-oriented programming,OOP),建立了易于设计、理解和维护的系统,提高了代码的质量、产量及其扩展性。
In order to solve the problems such as confusion code, poor consistency and extension in traditional object-oriented programming pattern for systematic public functions, it is suggested to create the aspect manager to separate the systematic function crosscutting other modules in the software .NET framework, employing aspect-oriented programming pattern, in addition to which exception handling function is adopted and the error-tolerance is enforced; Combining object-oriented programming, the system which is easily designed, comprehended and maintained is created with code quality, quantity and extension improved.
出处
《计算机工程与设计》
CSCD
北大核心
2007年第7期1671-1673,1676,共4页
Computer Engineering and Design
基金
教育部重点科技基金项目(1633000004)。