您现在的位置:网站首页答辩论文计算机毕业设计其他计算机专业毕业资源

应用设计模式实现软编码化设计

  • 简介:在进行项目的开发活动中,有一些设计在项目刚刚开始工作的很好,但是随着项目的进展,发现需要对已有的代码进行修改或者扩展,在这个时候,我们往往会发现进行这项工作比较困难,即使能完成也要付出很大的代价。本文旨在说明如何将系统软编码化使系统易于...
    • 请与管理员联系购买资料 QQ:5739126
  • 论文简介
  • 相关论文
  • 论文下载
目录 第一章 引言
§1. 问题的出现
§2. 问题分析
第二章 软编码化设计
§1. 设计需要考虑变化
§2. 导致系统重新设计的原因
§3. 开放-封闭原则(OCP)
§4. 面向接口编程
§3.1 什么是接口(interface)
§3.2 动态绑定(dynamic binding)
§3.3 操作接口而非具体类
§3.3 面向接口编程是实现可重用性的基础
§4. 软编码
§2.2.1 先看看一个例子
§2.2.2 软编码的做法
§2.2.1 软编码的思想——封装变化点
§2.2.2 软编码化要求——面向接口编程
第三章 应用设计模式实现软编码化
§3.1 什么是设计模式
§3.1.1 模式的提出
§3.1.2 软件设计模式
§3.1.3设计模式的思想
§3.2. 应用设计模式举例
§3.3.1 封装变化
§3.3.2 对象作为参数
§3.3.3 选取模式
致谢
参考文献 参考资料 [1] Erich Gamma, Richard Helm,Ralph Johnson,John Vlissides合著, 《Design Patterns:Elements of Reusable Object-Oriented Software》,Addison-Wesley出版社
[2] Martin Fowler著,《Refactoring:Improving the Design of Existing Code》,Addison-Wesley出版社
[3] Bruce Eckel著,《Thingking in Java》,Prentice Hall
[4] Bruce Eckel著,《Thinking in Patterns with Java》,Prentice Hall
[5] Robert C. Martin著,Design Principles and Design Patterns,www.objectmentor.com
[6] Joshua Kerievsky著,Refactoring To Patterns,www.industriallogic.com
[7] David Gallardo著,Java design patterns 101,IBM developerWorks
[8] 孙鸣 著,使用设计模式改善程序结构,IBM developerWorks
[9] 刘武东 著,从Java类库看设计模式,IBM developerWorks
[10] 板桥里人 著,Patterns in Java系列文章,www.jdon.com
在进行项目的开发活动中,有一些设计在项目刚刚开始工作的很好,但是随着项目的进展,发现需要对已有的代码进行修改或者扩展,在这个时候,我们往往会发现进行这项工作比较困难,即使能完成也要付出很大的代价。本文旨在说明如何将系统软编码化使系统易于修改和扩展的技巧和方法,以达到重用已有代码的目的
It is commonly seeing that some designs work very well at the very beginning of the project’s explorations, and with the project’s development, we would always find that it’s hard to revise or enlarge the code we have already had when we see this need. And even if it could be done, it must be accompanied by heavy cost. This article aims to explain the method of making the system into soft-code pattern, and also the skills to make the system easily to be revised and enlarged as well, so as to achieve the goal of reusing the having code
查看评论 已有0位网友发表了看法
  • 验证码: