Refactoring and Its Implementation and Research of Postgraduate Degree Management System
- Author
- LvWang
- Advisor
- Zhang
- School
- Xi'an University of Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 30
- Citations
- 1
- Design Pattern
- Code refactoring
- Database refactoring
- Open-closed principle
- dependency inversion principle
Abstract
During the process of the software development, the user requirements vary all the time and any perfect design proposal can be obtained hardly. So the software must be highly maintainable and extensible to deal with changes, while refactoring is the key solution to this difficult problem.Aimed at some common design defects of the web system and analyzed from the layer, module and code profoundly, a refactoring framework and solution of a three-layer architecture web system is improved based on the research of the refactoring theories and technologies. This solution requires refactoring business logic layer, data access layer and presentation layer accordingly. Firstly, the business logic layer is refactored to offer the interface for the database access and the interface for the presentation; secondly, the data access layer is refactored to implement the database interface; thirdly, the presentation layer is refactored though the interface provided by business logic layer. And each layer is refactored by refactoring module and code recursively.This refactoring solution is applied in a postgraduate degree management system based on the theoretical analysis. By analyzing the problems of the system, the factory pattern and the template pattern are applied in the business layer, the data layer is refactored on the basis of the dependency inversion principle, and the facade pattern is applied between the presentation layer and the business layer. Concerned with the database system design defects and the new requirements, the database system is refactored by splitting table and introducing view. The new system architecture structure, package diagrams and some class diagrams are obtained after refactored.The testing and operating of the system show that the maintainability and expandability of the system are improved after refactored.
Table of contents
Abstract 3-4
Abstract 4-7
1 Introduction 7-11
1.1 of the problem 7
1.2 Software refactoring research 7-9
1.2.1 software refactoring 7-9
1.2.2 database refactoring 9
1.3 the issue is the major work 9
1.4 the paper is structured 9-11
2 design patterns and refactoring techniques 11-23
2.1 design Patterns 11-16
2.1.1 design pattern defines 11
2.1.2 elements of design patterns 11-12
2.1.3 design pattern Classification 12
2.1.4 design Pattern design ideas 12-13
2.1.5 postgraduate management system reconfiguration applications related design patterns 13-16 < br /> 2.2 software refactoring 16-19
2.2.1 software refactoring defined 16
2.2.2 software reconfiguration principle 16-17 <br / > 2.2.3 software refactoring motivation 17-18
2.2.4 software reconstruction method 18-19
2.2.5 software design patterns and refactoring relationship 19
2.3 database refactoring 19-23
2.3.1 evolutionary database development and database refactoring 19-20
2.3.2 database re- structure classification 20-21
2.3.3 database refactoring methods 21-23
3 Web system reconfiguration 23-31
3.1 Web application Development brief 23
3.2 Some Web application system defects 23-26
3.2.1 system code -level defects 23-24 <br / > 3.2.2 System module-level defects 24-25
3.2.3 system-level defects 25-26
3.3 Web system reconfiguration 26-31
3.3.1 Web system reconfiguration principle 26-27
3.3.2 Web system reconfiguration process 27-31
4 graduate degree in management system reconfiguration 31-45
4.1 of the original system introduced 31-34
4.1.1 system background 31
4.1.2 system use case modeling 31 -32
4.1.3 system Architecture 32-34
4.2 system problems 34-37
4.2.1 high coupling between layers 34-35
4.2.2 code redundancy large 35-36
4.2.3 type of condition judgment excessive 36-37
4.2. class 4 powerful 37
4.3 system reconfiguration 37-43
4.3.1 Yewuluojiceng reconstruction 37-41
4.3.2 data Access Layer reconstruction 41-43
4.3.3 Presentation layer reconstruction 43
4.4 reconstructed system architectures and package diagrams 43-45
5 postgraduate management system database refactoring 45-53
5.1 original system database structure 45
5.2 reconstruction reason 45-47 <br / > 5.2.1 requirements change 46-47
5.2.2 design flaws 47
5.3 database refactoring 47-53
6 reconstruction the system after running instance 53-59
Thanks 59-61
References 61-65
master's degree papers published during 65
Related dissertations
- Design and Realization of Database in Satellite Navigation System Ground Station
- 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