首页> 外文OA文献 >An Instance-Oriented Approach to Constructing Product Lines from Layers
【2h】

An Instance-Oriented Approach to Constructing Product Lines from Layers

机译:一种面向实例的层次构建产品线的方法

摘要

The Model/View/Controller (MVC) paradigm, and its many variants, is a cornerstone of decoupling within object-oriented design. MVC leads to clear reuse benefits regarding the class hierarchies for the model and view elements. In practice, however, the controllers appear to defy reuse, most likely because they encapsulate specialized business logic. Within an effective product line, however, such specialized logic must be reused. We combine the MVC paradigm with feature-oriented programming (FOP) to produce a novel instance-oriented design pattern for layers that brings reusability back to controllers. We demonstrate the effectiveness of our approach using a product-line example of a solitaire game engine.
机译:模型/视图/控制器(MVC)范例及其许多变体是在面向对象设计中进行解耦的基石。 MVC带来了有关模型和视图元素的类层次结构的明显重用好处。但是,实际上,控制器似乎拒绝重用,这很可能是因为它们封装了专用的业务逻辑。但是,在有效的产品线中,必须重新使用这种专用逻辑。我们将MVC范例与面向功能的编程(FOP)结合在一起,以产生一种新颖的面向实例的层设计模式,从而将可重用性带回控制器。我们通过单人纸牌游戏引擎的产品线示例来证明我们的方法的有效性。

著录项

  • 作者

    Heineman George T.;

  • 作者单位
  • 年度 2005
  • 总页数
  • 原文格式 PDF
  • 正文语种
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号