Font Size: a A A

Research Of Refactoring Of Web System Based On Design Pattern And Its Application In Finance Auditing System

Posted on:2009-04-15Degree:MasterType:Thesis
Country:ChinaCandidate:F DuFull Text:PDF
GTID:2178360245469429Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the popularity of Web, the proportion of B / S-based web system to software is increasing, and the use of them is more extensive. But with the increase in Web system and its development, the system has emerged many unexpected issues, including confusion of level, unreasonable functional modules, tight coupling, functional duplication, redundant code, and unreasonable methods or classes of system design, as well as unreasonable poor portability and maintainability of system. To resolve these Web system problems, the paper proposed a solution that refactoring the web system which based on design patterns .Design Pattern is used to describe the classes that resolve general design issues and the object that communicate with each other in specific scenes. Design pattern is micro-architecture, compare to classes and objects, it is a higher-level building blocks of object or a combination of objects. Each pattern describe their areas of application and basic principles. Designed to provide the reusability and flexibility in design level for software, and reduce the sensitivity to change of requirement of software.Refactoring means not to change the existing functions of software, through the process of adjustment of software code, to improve the quality and performance of software, to make the design of its procedures and structure more rational, so improve the scalability and maintainability of software. Although on the surface, refactoring is a arrangement process of code, the code is actually contained in the design of adjustment. In a sense, design pattern as the goal of guiding the conduct of Refactoring.In this paper, we firstly introduced the financial audit system, described the problems that are existed in this system and the urgent need to resolve the issue in detail, which is the purpose of the study. Then we introduced the theory of design patterns, including the definition of design patterns, as well as the important design patterns which play a guide role in the refactoring of Web system. Also we simply describe the theory of system refactoring, including the definition of refactoring, the principle and atomic methods of refactoring, then we analyzed and summarized the relationship between design pattern and refactoring. This is the theoretical basis for this study. Then we analyzed the current universal problems of Web system, innovatively raised a set of Web system refactoring solutions, described the refactoring process of Web system in detail, proposed the refactoring implementation for Web system from three different levels - layer level, module level and implement level, which is an effective solution for the problems of system-level confusion, tight coupling between functional modules, duplication of functions, as well as unreasonable classes and methods and so on, they are all widespread problems that web system faced with. This is the focus of this paper on the content and research results. Finally, under the guidance of this solution, we achieved the refactoring of financial audit system from layer level, module level and implement level, so as to solve the remaining problems in the system, improve the system's maintainability and portability.The new Web system refactoring solution is a effective solution, and refactoring from three different levels is a new refatoring theory which bestially reduce the difficulty of Web system refactoring.
Keywords/Search Tags:Web system, design pattern, refactoring, finance auditing
PDF Full Text Request
Related items