Research and application of design patterns
- Author
- LiuXiaoWen
- Advisor
- YangBangRong
- School
- Central South University
- Major
- Applied Computer Technology
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 335
- Citations
- 6
Abstract
Design patterns are effective solutions to common problems in Software Development. They are used to improve software reusability, reliability and maintainability.The article introduces the definition, description approach, significance and classification of the design patterns as well as the relationship between Advanced Programming Language and design patterns. The shortcomings of Observer Pattern and Visitor Pattern are identified in this article. Both can be improved by adopting new features of Advanced Programming Language. Shortcomings of Strategy Pattern are also pointed out in this article and they can be improved by combining it with Abstract Factory Pattern. In the end this article proposes a design pattern selection model to guide pattern selection in software design, and exemplifies how to use it to select a suitable design pattern.
Table of contents
Abstract 3-4
ABSTRACT 4-7
Chapter 1 Introduction 7-11
1.1 Background 7-9
1.2 research 9-10
1.3 papers organizational structure 10-11
Chapter 2 Design Patterns 11-19
2.1 design patterns
2.2 design patterns significance 11-12
2.3 design patterns describe 12-13
2.4 design patterns classification 13-18
2.5 This chapter summarizes 18-19
Chapter 3 programming language and mode 19-29
3.1 Overview 19
3.2 the Observer Pattern implemented in different languages ?? 19-25
3.2.1 the Observer Pattern Java language to achieve 20-23
3.2.2 the Observer Pattern in Visual Basic 23-25
3.2.3 Observer different languages ??to achieve the effect 25
3.3 Singleton mode in different languages ??to achieve 25-28
The
3.3.1 Singleton modes C to achieve 25-26
3.3.2 Singleton mode Visual Basic 26-27
3.3.3 Singleton pattern C # 27-28
3.3.4 Singleton pattern in different languages ??to achieve the effect of 28
3.4 This chapter summarizes 28-29
Chapter 4 design patterns to optimize 29-48
4.1 Visitor Mode 29-34
4.1.1 Visitor introduce 29-30
4.1.2 Visitor mode defect analysis 30-31
4.1.3 Visitor mode improved 31-33
4.1.4 effect analysis 33-34
4.2 Observer Mode 34-39
4.2.1 Observer mode introduced 34-36
4.2.2 Observer mode defect analysis 36-37
4.2.3 the Observer Pattern improved 37-39
4.2.4 effect analysis 39
4.3 Strategy mode 39-47
4.3.1 Strategy Mode Overview 39-42
4.3.2 Strategy mode defect analysis 42
4.3.3 Strategy improvement 42-46
4.3.4 effect analysis 46-47
4.4 This chapter summarizes 47-48
Chapter 5 design patterns in software design 48-64
5.1 design mode select 48-50
5.1.1 design mode of application of the law 48-49
5.1.2 design mode selection steps 49-50
5.2 Image Data Management System design mode select 50-63
5.2.1 Abstract Factory mode 50-55
5.2.2 Proxy Mode 55-58
5.2.3 abstract factory-based strategy mode 58-62
5.2.4 Adapter mode 62-63
5.3 This chapter summarizes 63-64
Chapter 6 Summary and Outlook 64-66
the
References 66-69
Acknowledgements 69-70
studying for a master's degree during the main research 70
Related dissertations
- The Design Pattern Based on the Web Construction in the Research as well as Application
- Design and Implementation of a Recommender System Framework Based on Collaborative Filtering Algorithm
- Design and Implement of Telematics System Service Center Subsystem
- Design and application of J2EE persistence layer framework DR-ORM
- The Research and Implementation of the College Counselors Skills Competition Training System
- Design and Implementation of Human Resource Management System for MIRLE Company
- The Design and Implementation of Layered Architecture and Design Patterns Based on.NET Platform
- Design and Implement of Office Automation System Based on the the MVC Design Pattern
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Design and Implementation of Laboratory Management System Based on Design Pattern
- Study on Life-cycle Management Platform for Science and Technology Project
- Design and Implementation of the City Government Office System
- Injection system research and design of HDCP chip key
- The Large Nursery Architectural Design and Model Research
- The Entity Museum Exhibition Oriented Audio Augmented Environment Design Research
- The Application of an Improved Access Control Model in Authority Management Module
- The Design and Implementation of General Search Engine in"Search-View" Design Pattern
- Research on the Key Technology and System Architecture of New Media Painting
- Research on Some Key Technology of Data Mining in E-commerce
- The Research and Implementation of Key Technologies for Saas Multi-Tenancy Data Tier Based on Mongodb