Application Research of Design Pattern in Web System Development
- Author
- ZhangXiangZheng
- Advisor
- XuDeQi
- School
- Lanzhou University
- Major
- Computer Software and Theory
- Classification
- TP311.10 Programming
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 198
- Citations
- 12
Abstract
The application of development platforms (such as .Net and J2EE .etc) and Web development frameworks in Web system development can reduce costs of development, deployment and maintenance, and improve development speed and the quality of the system. However, it is difficult to reuse the design results effectively. Lots of the existing Web systems are low reusability, maintainability and adaptability. The application of design pattern enables the developer to reuse the successful design results conveniently. Therefore, how to select and apply design pattern to develop or refact Web system is very important for Web system developers.Firstly, the thesis analyses the present situation of Web system development and the research and application of design pattern, summarizes the basic concepts and correlative technology of design pattern and antipattern, and analyses the general principles of object-oriented design. Secondly, the thesis describes several kinds of commonly used design patterns using UML, analyzes their intentions and characteristics, and in this foundation, proposes the selection and application strategy of design pattern. Finally, the thesis proposes five kinds of antipatterns in Web system designing and implement, and provides the refacting solutions using appropriate Web development frameworks and design patterns.These principles of OOD discussed in the thesis are more in-depth and universal design guiding principles;they are the foundation of development frameworks and design patterns. The application strategy summarizes the general rules of designing and refacting system using design patterns. The antipatterns proposed in the thesis summarizes several typical problems about the multi layers structure, database connection optimization, user access control and algorithm application strategy in Web system development, their solutions can improve the flexibility, reusability and maintainability of the system, and can help developers to develop and refact Web systems using design patterns.
Table of contents
Abstract 4-5
Abstract 5-6
catalog 6-8
Introduction 8-11 <br / > 1.1 Web system development and application status 8-9
1.2 design patterns and application 9-10
1.3 of this article the main content and significance of the study are found; 10-11
Chapter II design patterns related to the concept and technology 11-24
2.1 the basic principles of object-oriented design 11-17
2.1.1 Closed principle (OCP) 12-13
2.1.2 of Liskov substitution principle (LSP) 13-14
2.1.3 rely rewind principle (DIP) 14
2.1.4 interface segregation principle (ISP) single responsibility principle (SRP) 14-15
2.1.5 15
2.1.6 synthetic / polymeric complex Principles (CARP) 15-16
2.1.7 Demeter (Rendering for LoD) the 16-17 2.2 design patterns
17-21 <br / > 2.2.1 What design patterns 17-18
2.2.2 architecture and mode 18-20
2.2.3 design pattern classification 20-21
2.3 antipatterns 21-24
the 2.3.1 antipattern the concept 22-23
2.3.2 Anti-mode description 23-24 the
description and application of design patterns 24-37
3.1 factory mode 24-28
3.1.1 factory method pattern 24 - 26
3.1.2 simple factory pattern 26-27
3.1.3 abstract factory mode 27-28
3.2 singleton mode 28-30
3.3 proxy mode 30-31
3.4 observer mode the 31-32
3.5 Strategy Pattern 32-33
3.6 prototype model 33-34
3.7 application design patterns strategy 34-37
Chapter Web systems development antipatterns solution 37-55 < br /> 4.1 mixed layer programming the 37-45 4.1.1 antipatterns
: mixed layer programming 37-38
4.1.2 MVC mode 38-42
4.1.3 using the Struts hierarchy the hierarchy nbsp 42-43
4.1.4 EasyJWeb; 43-44
4.1.5 reconstruction scheme the implementation 44-45
4.2 frequently establish the database connection 45-49
4.2.1 anti-patterns: frequent establish a database connection 45-47
4.2.2 establish a database connection pool 47-49
4.3 user access control chaos 49-51
4.3.1 anti-pattern: User Access Control confusion 49 < br /> 4.3.2 proxy mode applications the 49-51
4.4 content filtering design inflexible 51-53
4.4.1 anti-pattern: content filter design is not flexible 51-52
4.4.2 prototype model application a conditional 52-53
4.5 business logic mixed 53-55
4.5.1 Anti- Mode: mixed conditional business logic nbsp 53
4.5.2 Application of the strategy pattern; the work 53-55
Chapter Summary and Outlook 55-57 < br /> 5.1 This work summarizes 55
the 5.2 future working Prospects the
References 55-57 57-60
thank the 60
Related dissertations
- Design and Implementation of the City Government Office System
- The Design and Implementation of Pingxiang High Commissioner for Information Release System
- Research and Implementation of calculation software based on the visual image of the design pattern
- Design and Implementation of Heating Meter Reading Information System Basing on GPRS
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Design and Implementation of a Recommender System Framework Based on Collaborative Filtering Algorithm
- The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
- Design and Development of C Language Program Design of Excellent Course Website
- Design and Implementation of Multilevel Mapping-based Clinical Pathway System
- Design and Implementation of Practice Teaching Management Platform Based on the MVC Architecture
- Books Management System of Vocational School Based on the J2EE Multi-layer Framework
- Mobile Stock Information Analysis and Browser System Based on Pervasive Computing
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- Design and Implement of Telematics System Service Center Subsystem
- Design and Implementation of GIS Distribution Network Management System
- Design and application of J2EE persistence layer framework DR-ORM
- Research and Design of ASP.NET Technique-based Training System for Corporate Staff
- Research on the Agricultural Biological Resources Utilization Information System Based on Webgisc
- Research and Application of Enterprise Information System Based on J2ee Architecture Platform