Application Research on Method for Refactoring Business Logic
- Author
- WuXueLei
- Advisor
- ChenJia
- School
- Dalian Maritime University
- Major
- Management Science and Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 51
- Citations
- 0
Abstract
In order to ensure continuous and stable operation of the system to adapt to changing needs, system maintenance has become essential to the life cycle of the system is an important part. With the construction of the deepening due to hardware upgrade and manage changes in demand and other factors, the software maintainability put forward higher requirements. Software maintenance as a strong practical discipline by more and more experts and scholars and engineers attention. In the software maintenance process due to changes in demand and other factors, will result in software code or design modifications. In this process, software design may no longer adapt to new demands, corruption deterioration may also occur, and you should take advantage of refactoring techniques to adjust the code, thereby preventing deterioration of software design continues to decay and eventually get well-structured software design. Firstly, analyzes and summarizes the main theory of domestic and foreign scholars to obtain research results presented in this study on the basis of the content and objectives. Then on the reconstruction carried out in-depth research, while the reconstruction of the structure involved, frameworks and models such concepts are described in detail, and discusses the relationship between remodeling and patterns. Then, for passenger safety management systems existing hierarchy is not clear, the data access layer structure is irrational, RFID card access layer structural disorder and other issues are analyzed, summarized and presented to the business logic layer reconstructed three steps: the domain layer and the presentation layer separation, the process will be transformed into an object oriented design and design trends Design Pattern Reconstruction. The proposed method based on passenger safety management system in the core business - sent a car to block the normal remodeling. The first step will normally send a car to the business logic is separated from the interface class formation sent a car business logic classes Dispatch; The second step will Dispatch class re-composition process-oriented design object-oriented design, and sent a car to extract a series of related business logic classes; Third step introduction Abstract Factory, Command, Observer, Template Method design pattern such as object-oriented design optimization. While closely associated with the business logic layer and data access layer RFID card access has been restructured. Finally, showing the reconstructed passenger safety management system's overall structure and data access layer, business logic and presentation layer design and its benefits. In this paper, the reconstruction of the business logic layer, made of three general steps. Practice has proved that the use of these steps can be achieved Passenger Safety Management System presentation layer and business logic separation, and ultimately the formation of a clear structure, good scalability triple system.
Table of contents
Abstract 5-6
ABSTRACT 6-10
Chapter 1 Introduction 10-17
1.1 Background and Significance topics 10 - 12
1.2 research status 12-15
1.3 this work and the organizational structure 15-17
Chapter 2 reconstruction principles, methods and models of 17-41
2.1 reconstruction 17-20
2.1.1 concepts 17
2.1.2 reconstruction principle 17-19 < br /> 2.1.3 refactorings 19-20
2.2 , and the framework 20-21
2.2.1 architecture 20-21
2.2.2 framework 21
2.3 mode 21-39
2.3.1 architecture model 22-26
2.3.2 design Patterns 26-38
2.3.3 implementation patterns 38-39
2.4 reconstruction and mode 39-41
Chapter 3 of the restructuring of the business logic layer 41-69
3.1 passenger safety Management system Overview 41-47
3.1.1 system features 41-42
3.1.2 system exists problems 42-47
3.2 Yewuluojiceng reconstruction 47-57
3.2.1 the field layer and the presentation layer separation 47-51 <br / > 3.2.2 will be converted to an object design process design 51-54
3.2.3 design patterns tend to reconstruct 54-57
3.2.4 Summary 57
3.3 data access layer reconstruction 57-63
3.4 RFID card access layer reconstruction 63-69
Chapter 4 of the reconstructed system design 69-74
4.1 system Architecture 69-70
4.2 system Architecture 70-74
4.2.1 data Access layer Design 70-71
4.2.2 Yewuluojiceng design 71-72
4.2.3 Presentation layer design 72-74
Chapter 5 Summary and Outlook 74-76
References 76-80
published during the study for a degree thesis 80-82
Thanks 82-83
Related dissertations
- Exploration and Practice of Huaiyuan County Science and Technology Incubator Archiving Mode
- Research status and mode of public project auditing of our government
- An Exploration of Basic Medical Insurance Mode in Qingdao Abstract
- Study on the mode of endowment insurance of migrant workers in Yangzhou city as an example
- The Mode and Path Research of RMB Internationalization
- Stage of Development. Models and Strategies of China’s Foreign Direct Investment
- Study on Intellectual Property Pledge Financing
- To Specialization-based Model of Tax Collection
- Analysis of Feasibility and Operation Mode on Establishment of Russia-China Free Trade Area
- Research on Revolutionary Site’s Protective Tourism Development Mode in Shaanxi Province
- A Study of Blind Date Tourism Development Mode of Hangzhou
- Research on the Mode and Mechanism of Regional Tourism Cooperation
- The Research on Historical and Cultural City of Turpan Community Participation in Tourism Development Model
- Study on the Transformation and Upgrading of Ecologicalization for Red Tourism in China
- The research on financial governance efficiency goal of listing Corporation
- ABC Branch Network Service Process Reengineering Research
- The Research on the Architecture and Critical Driving Factors of International Marketing Dynamic Capabilities
- Research on the Key Factors of Product Family Architecture and Their Correlation Effect Based on Customer Perspective
- Science and Technology Small and Medium-sized Enterprise Intellectual Property Independent Innovation Pattern Research
- Study on HD company employee training mode based on school enterprise cooperation Perspective