Design patterns aim at improving reusability and variability of object-oriented software. Despite a notable success, aspect-oriented programming (AOP) has been discussed recently to improve the design pattern implementations. In another line of research it has been noticed that feature-oriented programming (FOP) is related closely to AOP and that FOP suffices in many situations where AOP is commonly used. In this paper we explore the assumed duality between AOP and FOP mechanisms. As a case study we use the aspect-oriented design pattern implementations of Hannemann and Kiczales. We observe that almost all of the 23 aspect-oriented design pattern implementations can be transformed straightforwardly into equivalent feature-oriented design patterns. For further investigations we provide a set of general rules how to transform aspect-oriented programs into feature-oriented programs.
University of Magdeburg, Magdeburg, Germany;
METOP Research Institute, Magdeburg, Germany;
机译:计算具有面向方面的扩展的特征导向程序的动态片
机译:面向方面的编程和可插拔软件单元:基于设计模式的比较
机译:通过设计模式和面向方面的编程促进软件扩展
机译:关于面向宽面和面向功能的设计模式的二元性
机译:用于注塑成型的面向过程和功能的产品设计。
机译:面向面向方面的合成生物学设计与建模框架
机译:论面向方面和面向特征的设计模式的二重性