Selection, Analysis and Application of Design Pattern in Development of Network Product
- Author
- ZhangFeng
- Advisor
- LeiYou
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 72
- Citations
- 2
Abstract
Software reusability is always the goal for the software people. It can improve the productivity and quality of software. In order to reuse software, we use design pattern to record software design knowledge, because it can improve software reusability from code reusing to every phases of developing. The Object Oriented technology, with an essential feature of abstraction, is the prevailing software development method nowadays. Design patterns can be the best case for us to study, because it is a solution that applies Object Oriented to variously typical and practical problems. By learning and applying design patterns we can obtain a shortcut to improve Object Oriented design level. Still we will achieve more reusability, flexibility and extensibility in the system by applying these patterns and other mature technologies in the process of projects designing.In this article, the application of design patterns to start with the point of view, First introduced the concept of design patterns, Research Status, Listed the classification of design patterns and a brief introduction, Introduced the object-oriented design principle and so on. Describes how to solve design problems with the object-oriented design patterns. Analyze how to choose and use Design Patterns in network optimization system.Then the author describes the application of design patterns in reconstruction of network optimization system. The author fully introduced prototype pattern, Template Method pattern, And then use the factory pattern + reflex + generic + XML configuration file to achieve the dynamic loading assembly to simplify the code structure. Expansion and increased flexibility of code, and summed up some thinking of the framework design.Finally, the author describes the application of design patterns in A specific module. The author fully introduced how to use singleton pattern, strategy pattern and observer pattern. After designing the network optimization system, Reduces the coupling between modules, the problems Duplication of development, The low rate of code reuse, Difficult to amend are solved. Improve the system stability, scalability, maintainability and reusability.
Table of contents
Summary 4-5
ABSTRACT 5-8
Chapter 1 Introduction 8-13
1.1 subject background 8-9 < br /> Home and Abroad 1.2 design patterns significance 9-10
1.3 research topic contents 10-11
1.4 research topic 11-12 < br /> 1.5 paper structure 12
1.6 Summary 12-13
Chapter II design mode 13-27
basic concepts of design patterns 2.1 Category 13-14
2.2 design patterns design principles 14-19
2.3 design patterns to follow 19-24
2.3.1 open - closed principle 19
2.3.2 dependency inversion principle 19-20
2.3.3 Interface Segregation Principle 20-21
2.3.4 Richter substitution principle 21-22
2.3.5 Demeter 22
2.3.6 single Responsibility Principle 22-24
2.3.7 synthetic multiplexing principle 24
2.4 design patterns to solve design problems step 24-26
2.5 Summary 26-27
Chapter III design Patterns network optimization system in the framework of reconstruction of 27-42
3.1 system introduced 27-29
3.2 prototype models in the framework of 29-31
3.2.1 prototype model analysis 29
3.2.2 application prototype model 29-31
3.3 application template Method pattern in the framework of 31-36
3.3.1 template Method pattern analysis 31
3.3.2 application template Method pattern 31-36
3.4 reflection application 36-37
3.4.1 What is a reflex 36
3.4.2 reflection in the system 36-37
3.5 generic applications advantage 37-39
3.5.1 generic 37
3.5.2 improved use of generic procedures 37-39
3.6 framework design Considerations 39-41
3.6.1 white box frame 39-40
3.6.2 blackbox framework 40
3.6.3 gray box frame 40
3.6.4 gray-box thinking in the framework of the system 40-41
3.7 Summary 41-42
Chapter Four design patterns in SINGLECELLEXPORT module Development application 42-58
4.1 module introduces 42-43
4.2 single mode applications in the system 43-47
4.2.1 singleton pattern analysis 43-46
4.2.2 single mode applications 46-47
4.3 strategy mode applications in the system 47 - 51
4.3.1 strategy Pattern analysis application 47-48
4.3.2 strategy mode 48-51
4.4 observer mode in system 51-57
4.4.1 observer pattern analysis 51-53
4.4.2 observer mode application 53-57
4.5 Summary 57-58
Chapter V Conclusion 58-60
5.1 thesis summary 58
5.2 problems and prospects 58-59 <br / > 5.3 harvest and experience 59-60
References 60-61
Thanks 61
Related dissertations
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Design and Implementation of Laboratory Management System Based on Design Pattern
- Design and implementation of educational management information system based on J2EE
- Research and Implementation of Online Enterprise Training System Based on Cooperating Leaning
- Layered Component Based Embedded Real-time Software Framework Design
- Web Application Research and Realization Based on WebWork+Spring+Hiberante Framework
- Research on Enterprise Transaction Platform Based on J2EE and Design Pattern
- The Design and Implementation of a J2EE Based Personal Income Tax Management System
- Construction and Application Based on Lightweight J2EE Framework
- Research and Application Based on Interconnection among Loosely-coupled Web Framework
- Study and Design the Architecture of College Entrance Examination System
- Design & Implemention of Middle School Teaching Management Information System Based on J2EE
- One Type of Framework of Web Application Based on MVC Pattern
- Research and Implementation of Web Application of Integrating WSH Architecture Technology
- Design and implementation of a Web-based application framework for the MVC pattern
- Research on Struts and Hibernate in Enterprise Application
- The Design and Implementation of an Object Persistence Framework and Auxiliary Development Tools Based on O/R Mapping
- Research on ERP Framework Based on J2EE
- Integrated Hibernate, Spring and Struts framework applied research
- Struts Framework Based on MVC Pattern in Application of Management System of after Service for Client