首页> 外文期刊>Software >Aspect-oriented programming and pluggable software units: a comparison based on design patterns
【24h】

Aspect-oriented programming and pluggable software units: a comparison based on design patterns

机译:面向方面的编程和可插拔软件单元:基于设计模式的比较

获取原文
获取原文并翻译 | 示例
           

摘要

The support for software reuse has been a major goal in the design of programming languages. This goal, however, has proven difficult to reach, being only partially enabled by current software tools. In particular, reuse is not fully supported by object-oriented programming (OOP). Aspect-oriented programming (AOP) has introduced new operators that extend OOP, enabling a superior support for reusability. However, AOP operators exhibit limitations in supporting software reuse and more powerful constructs are still required. We consider the ability to define software in an independent manner as the key construct to enable systematic software reuse. To bridge the gap between independence and practical software tools, we have developed the concept of Independent and Pluggable Software Unit (PU), a construct that supports the definition of software topologies. In this paper, we compare PUs with AOP in their support for reusable software. To enable comparison, we employ some well described problems addressed by Software Design Patterns (SDPs). We provide PU and AOP versions of several SDPs, including, Observer, Composite, Command, Chain of Responsibility, and Proxy. In particular, we show that, whereas PUs provide a unified representation of design patterns, AOP representations do not achieve this unification. We also show that AOP solutions do not promote independent and reusable software.
机译:对软件重用的支持一直是编程语言设计的主要目标。然而,事实证明这个目标很难实现,目前的软件工具只能部分实现该目标。特别是,面向对象编程(OOP)不能完全支持重用。面向方面的编程(AOP)引入了新的运算符,这些运算符扩展了OOP,从而为可重用性提供了出色的支持。但是,AOP操作员在支持软件重用方面表现出局限性,仍然需要更强大的构造。我们认为以独立方式定义软件的能力是实现系统软件重用的关键结构。为了弥合独立性与实用软件工具之间的鸿沟,我们开发了独立可插拔软件单元(PU)的概念,该结构支持软件拓扑的定义。在本文中,我们将PU与AOP对可重用软件的支持进行了比较。为了进行比较,我们采用了软件设计模式(SDP)解决的一些已描述好的问题。我们提供几种SDP的PU和AOP版本,包括观察者,合成,命令,责任链和代理。特别是,我们表明,尽管PU提供了设计模式的统一表示,但AOP表示却无法实现这种统一。我们还表明,AOP解决方案不会促进独立和可重用的软件。

著录项

  • 来源
    《Software》 |2015年第3期|289-314|共26页
  • 作者

    Fernando J. Barros;

  • 作者单位

    Departamento de Engenharia Informatica, Universidade de Coimbra, 3030 Coimbra, tugal;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    software composition; aspect programming; design patterns;

    机译:软件组成;方面编程;设计模式;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号