利用产生式编程构建低耦合的软件模块——AOP的原理和实践  被引量:2

Implementing low-coupling module with generative programming methods: the theory and practice of AOP

在线阅读下载全文

作  者:张强[1] 谭博[2] 谭成翔[1] 

机构地区:[1]同济大学计算机科学与工程系,上海200092 [2]复旦大学软件学院,上海200433

出  处:《计算机应用》2005年第3期620-622,共3页journal of Computer Applications

摘  要:分析了面向对象理论遇到的难以解决的问题。针对此类问题提出了利用产生式编程构建通用领域模型和低耦合的模块的思想。以AspectOrientedProgramming(AOP)为例,列举了其主要实现手段,分析了它们的利弊,对比了传统OO方法的Observer模式实现和利用AOP的Observer模式实现。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.

关 键 词:产生式编程 AOP 复用 设计模式 横切关注点 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象