首页 | 本学科首页   官方微博 | 高级检索  
     

利用产生式编程构建低耦合的软件模块--AOP的原理和实践
引用本文:张强,谭博,谭成翔.利用产生式编程构建低耦合的软件模块--AOP的原理和实践[J].计算机应用,2005,25(3):620-622.
作者姓名:张强  谭博  谭成翔
作者单位:同济大学,计算机科学与工程系,上海,200092;复旦大学,软件学院,上海,200433
摘    要:分析了面向对象理论遇到的难以解决的问题。针对此类问题提出了利用产生式编程构建通用领域模型和低耦合的模块的思想。以AspectOrientedProgramming(AOP)为例,列举了其主要实现手段,分析了它们的利弊,对比了传统OO方法的Observer模式实现和利用AOP的Observer模式实现。

关 键 词:产生式编程  AOP  复用  设计模式  横切关注点
文章编号:1001-9081(2005)03-0620-03

Implementing low-coupling module with generative programming methods: the theory and practice of AOP
ZHANG Qiang,TAN Bo,TAN Cheng-xiang.Implementing low-coupling module with generative programming methods: the theory and practice of AOP[J].journal of Computer Applications,2005,25(3):620-622.
Authors:ZHANG Qiang  TAN Bo  TAN Cheng-xiang
Affiliation:1.Department of Computer Science and Engineering, Tongji University, Shanghai 200092, China; 2.School of Software Engineering, Fudan University, Shanghai 200433, China
Abstract:With the development of programming technology and theory, some problems in practice, which can not be solved by the traditional OO theory, are attracting more and more interests of researchers. A generative programming-based approach was proposed to solve such kind of problems by constructing domain-neutral models and low-coupling modules. One implementation of our proposed approach, AOP, was analyzed to demonstrate the advantages and shortcomings of our approach. Finally, a comparison between AOP-based and OO-based Observer models was conducted to show the superiority of our approach over traditional OO approaches.
Keywords:generative programming  AOP  reuse mechanism  design pattern  crosscut
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号