首页> 外文期刊>Research journal of applied science, engineering and technology >A Design Pattern Approach to Improve the Structure and Implementation of the Decorator Design Pattern
【24h】

A Design Pattern Approach to Improve the Structure and Implementation of the Decorator Design Pattern

机译:一种改进装饰器设计模式结构和实现的设计模式方法

获取原文
       

摘要

Reusability is a technique used to unify the abstract representation of real world entities. In object-oriented design and programming, inheritance mechanism plays an important role in software reusability. The Decorator Design Pattern (DDP), invented by GoF, was an alternative solution to the inheritance mechanism. It uses the concept of decorating objects instead of inheritance. The aim of this study is to present the DDP, showing its advantages and disadvantages and offer a new innovative approach, called Decorator Pattern Approach (DPA), in order to improve the structure and implementation of DDP. The main objective of DPA is to provide a way to separate, dynamically, the decorating objects from the objects to decorate.
机译:可重用性是一种用于统一现实世界实体的抽象表示的技术。在面向对象的设计和编程中,继承机制在软件可重用性中起着重要作用。 GoF发明的Decorator Design Pattern(DDP)是继承机制的替代解决方案。它使用装饰对象而不是继承的概念。这项研究的目的是介绍DDP,以显示其优点和缺点,并提供一种称为装饰器模式方法(DPA)的创新方法,以改善DDP的结构和实施。 DPA的主要目标是提供一种从装饰对象动态分离装饰对象的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号