Implementations and Applications of the Patterns Based One .NET
- Author
- LiZhongHua
- Advisor
- LiMengLong , TianShiJian
- School
- Sichuan University
- Major
- Software Engineering
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 155
- Citations
- 4
Abstract
There are three levels patterns from highness to lowness by the distinctness of dealing with problematic granularity: Architectural pattern, Design patterns, and Implementation patterns.In these three levels, architectural pattern is the most high-level. It describes the basic framework of the structure and the compendium of the software system. Commonly it provides sub-system defined in advance, specifying their responsibility and giving their organizing principle and directory. The MVC pattern as we know belongs to this level. The architectural pattern usually consists of numerous design patterns. Subsequently, there are some discussions about how to choose which patterns and to realize.Design patterns are the second level of three-level arrangement. They treat with repeatedly arising problem in programming, such as Factory Method pattern, Abstract Factory pattern and Observer pattern. Design patterns well materialize in the Refactoring-improving the design of existing code. Implementation is the lowest and the most idiographic level, transacting the problem of programming language, such as class name, variable name, naming rules of the function name, the rules of dealing with exception.It is long time that the programmers think of system framework and design patterns as problems that exclusive experts and system framework designer should think over. The connection between the system framework and design patterns is nottight. But in fact, they are being accepted by common programmers, especially Microsoft issued .NET Framework. Microsoft established PAG (Prescriptive Architecture Guidance), specializing framework design and Patterns & Practices. The vast programmers should understand and gain masteries of the framework and design patterns.This thesis mainly includes two parts: the first part is the patterns’ implementations based on .NET, with some codes explaining; the second part is the applications of Architectural Patterns and Design Patterns in the project.
Table of contents
1 Technology 10-20
1.1 Microsoft NET platform Overview the 10-15
1.1.1 Hicrosoft,. The NET platform launched reasons 10-11
1.1.2 Microsoft. NET platform constitutes 11-14
1.1.3. NET significance of 14-15
1.1.4 NET IT professionals significance of personnel 15
1.2 ASP.NET Profile 15-20
1.2.1 the Web mode 15-16
1.2.2 Web application program architecture and file structure 16
1.2.3 ASP.NET characteristics 16-17
1.2.4 ASP.NET and ASP 17 < br /> 1.2.5 UML introduced are found; 17-20
2 mode 20-35
2.1 architecture and mode of relationship 20-22
2.1 .1 What is architecture
2.1.2 What is the mode 20-21
2.1.3 architecture and mode of relationship 21-22
2.1.4 mode hierarchy 22
2.2 of MVC Patterns and ASP.NET 22-32
2.2.1 MVC mode of the proposed 22-23
2.2.2 MVC design ideas and structure: Model - View - Control the 23-24 2.2.3 MVC
advantages MVC disadvantage of 24-25
2.2.4 25
2.2.5 MVC in ASP.NET achieve 25-32
2.3 design patterns 32-35
2.3.1 Design Patterns classified 32-35
3 design patterns to achieve 35-71
3.1 creational pattern 35-44
3.1.1 Factory and Method ( factory method) and Abstract Factory Pattern (Abstract Factory) mode 35-38
Builder 3.1.2 (generator) mode 38-40 of
Singleton 3.1.3 (single pieces ) mode 40-42
3.1.4 Prototype (prototype) mode the point summary nbsp 42-44
3.1.5 create schema; 44
3.2 structure type mode nbsp 44-52
3.2.1 Adapter (adapters) mode; 45-47
3.2.2 Bridge (bridge) mode 47 - 48
Decorator 3.2.3 (decorative) mode 48-49
3.2.4 Composite (combination) mode 49-51
3.2.5 structured mode little discussion 51-52
3.3 behavioral patterns 52-71
3.3.1 Command (command) mode 52-54
3.3. 2 Iterator (iteration) mode 54-56
3.3.3 Mediator intermediary mode 56-58
3.3.4 Strategy (Strategy) mode 58 -60
3.3.5 Template Method (template method) mode 60-62
3.3.6 Visitor (Visitor) mode 62-65
3.3.7 Observer (observer) mode the 65-70
3.3.8 on the point of the discussion of the behavior patterns 70-71
4 mode in the actual project 71 -90
4.1 Introduction 71
4.2 system features 71-72
4.3 system design 72-76
4.3.1 the important module 73-75
4.3.2 system physical deployment structure the 75-76
4.4 architecture model system achieve 76-79
4.5 design patterns system to generate 79-90
4.5.1 report table method selection
4.5.2 79-87 on the inquiry module rewriting 87-89
4.5.3 of the above two examples illustrate 89
4.5.4 other modules in the application of design patterns 89-90
Conclusion 90-92
Reference 92-94
statement 94-96
Acknowledgements 96
Related dissertations
- Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
- Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
- Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
- Design of Visual Force
- Electricity Transaction Information Platform Design and Implementation
- Research on Software Technology in HVDC Transmission Design Software Package
- Study on the Design Patterns of Park Tourist Centre in Guangdong Region
- Design and Implementation of an ATM Bureau of Communication Navigation Surveillance System
- A Study on the Furniture of Sichuan Amdo Tibetan
- Fault diagnosis expert system for UAV flight control system design
- Sign Language Fusion Platform Based on Software Reuse Technology
- Design and Initial Realization of Visual Simulation of Multi-uav Ground Station Based on Design Patterns
- Design and Implementation of Data Detection System for Industry and Commerce Bureau Based on Data Minding
- The Research and Implementation of a Transmission Software Supporting IPv4 and IPv6
- Research on Web-based Incoming Hazardous Goods Declaration System Development and Related Issues
- A Tool for Converting Code File to Pdf with Syntax Highlight
- Research on Application of Design Patterns in Uniconr’s Integrated Value-added Service Platform
- Design and Implementation of the Memory Data Management Subsystem for Street Lighting System
- Research and Design on the Information Construction of Student Management in the Secondary Academic Unit of Colleges and Universities
- The Design and Implement of Vocational Work Test System of the Staff in Power Sector