...
首页> 外文期刊>ACM Transactions on Programming Languages and Systems >Deferring Design Pattern Decisions and Automating Structural Pattern Changes Using a Design-Pattern-Based Programming System
【24h】

Deferring Design Pattern Decisions and Automating Structural Pattern Changes Using a Design-Pattern-Based Programming System

机译:使用基于设计模式的编程系统来推迟设计模式决策并自动进行结构模式更改

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

摘要

In the design phase of software development, the designer must make many fundamental design decisions concerning the architecture of the system. Incorrect decisions are relatively easy and inexpensive to fix if caught during the design process, but the difficulty and cost rise significantly if problems are not found until after coding begins. Unfortunately, it is not always possible to find incorrect design decisions during the design phase. To reduce the cost of expensive corrections, it would be useful to have the ability to defer some design decisions as long as possible, even into the coding stage. Failing that, tool support for automating design changes would give more freedom to revisit and change these decisions when needed. This article shows how a design-pattern-based programming system based on generative design patterns can support the deferral of design decisions where possible, and automate changes where necessary. A generative design pattern is a parameterized pattern form that is capable of generating code for different versions of the underlying design pattern. We demonstrate these ideas in the context of a parallel application written with the CO2P3S pattern-based parallel programming system. We show that CO2P3S can defer the choice of execution architecture (shared-memory or distributed-memory), and can automate several changes to the application structure that would normally be daunting to tackle late in the development cycle. Although we have done this work with a pattern-based parallel programming system, it can be generalized to other domains.
机译:在软件开发的设计阶段,设计人员必须做出许多有关系统体系结构的基本设计决策。如果在设计过程中发现错误的决定,相对容易且便宜,但如果直到编码开始后才发现问题,难度和成本就会大大增加。不幸的是,在设计阶段不可能总是找到错误的设计决策。为了降低昂贵的校正成本,能够将某些设计决策尽可能长的时间推迟到编码阶段是很有用的。否则,对设计变更进行自动化的工具支持将在需要时提供更大的自由来重新访问和更改这些决策。本文说明了基于生成设计模式的基于设计模式的编程系统如何在可能的情况下支持推迟设计决策,并在必要时自动进行更改。生成设计模式是参数化的模式形式,能够为基础设计模式的不同版本生成代码。我们在用基于CO2P3S模式的并行编程系统编写的并行应用程序的上下文中演示这些想法。我们表明,CO2P3S可以推迟执行架构(共享内存或分布式内存)的选择,并且可以自动对应用程序结构进行多次更改,而这些更改通常在开发周期的后期很难解决。尽管我们已经使用基于模式的并行编程系统完成了这项工作,但是可以将其推广到其他领域。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号