首页 | 官方网站   微博 | 高级检索  
     

从面向方面程序设计的定义到面向方面程序设计语言
引用本文:古思山,蔡树彬,李师贤.从面向方面程序设计的定义到面向方面程序设计语言[J].计算机科学,2011,38(10):133-139.
作者姓名:古思山  蔡树彬  李师贤
作者单位:1. 中山大学信息科学与技术学院 广州510275
2. 深圳大学计算机与软件学院 深圳518060
基金项目:广东省自然科学基金项目(10351806001000000); 深港创新圈项目(ZYB200907060012A); 广东高校优秀青年创新人才培养计划项目资助(LYM09121); 深圳市科技计划项目(JC200903120046A,JC201005280434A)资助
摘    要:目前无论在学术界还是工业界,很多人士简单地将面向方面程序设计理解为模块化横切关注点,狭隘地认为 面向方面程序设计构建在面向对象程序设计之上,是面向对象程序设计的扩展、有效的补充等。回顾了面向方面程序 设计的定义,分析了面向方面程序设计区别于其它程序设计方法的本质特征,并形式化了定义中的量化语句与方面, 给出了量化语句与方面的语义。重申了面向方面程序设计的本质特性是Quantification与()bliviousncss,模块化横切 关注点只是其带来的一个好处。同时指出了面向方面程序设计是一种新型的程序设计范式,独立于面向对象等其它 程序设计方法。并且,基于此定义,给出了面向方面程序设计语言需满足的最小条件集,并比较了主流的面向方面程 序设计语言,探讨了这些语言在面向方面程序设计理念上的差异。

关 键 词:面向方面程序设计,面向方面程序设计语言,横切关注点,Quantification    Obliviousness

From the Definition of Aspect-oriented Programming to Aspect-oriented Programming Languages
GU Si-shan,CAI Shu-bin,LI Shi-xian.From the Definition of Aspect-oriented Programming to Aspect-oriented Programming Languages[J].Computer Science,2011,38(10):133-139.
Authors:GU Si-shan  CAI Shu-bin  LI Shi-xian
Affiliation:(School of Information Science and Technology,Sun Yat-sen University,Guangzhou 510275,China);(School of Computer Science and Software Engineering,Shenzhen University,Shenzhen 518060,China)
Abstract:Today a lot of people not only from industrial community but also from academic community simply take As- pect-Oriented Programming (AOP) as modularizing crosscutting concerns and in a narrow-mined way to believe that AOP is just an extension or an effective supplement to Object Oriented Programming (OOP). Based on the definition of AOP, its nature which makes it different from the other programming languages was dug out. And the quantified state- ment and aspect in the definition were formalized. Moreover the semantics of them were defined. And then we argued quantification and obliviousness in the definition are the real nature of AOP. Modularizing crosscutting concerns is just a benefit from it. And AOP is a new programming paradigm which is independent of all the other programming langua- ges. Based on the definition,the minimum condition set which Aspect Oriented Programming Languages (AOPI)need to satisfy was proposed. And the difference between the mainstream AOPL from the view of the definition was probed into.
Keywords:Aspect-oriented programming  Aspect-oriented programming language  Crosscutting concerns  Quantification  Obliviousness
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号