Font Size: a A A

Research And Application Of Design Patterns And Refactoring

Posted on:2007-11-11Degree:MasterType:Thesis
Country:ChinaCandidate:F HanFull Text:PDF
GTID:2178360185467755Subject:Computer applications
Abstract/Summary:PDF Full Text Request
Nowadays, most of software is developed out on the basis of some existing work. The software is supposed to be more and more maintainable and reusable. Meanwhile, the maintaining of the software has occupied more and more weight in the whole software life cycle.In order to improve the software maintainability and reusability, make sure refer to the existing design patterns in the course of system design so as to make a good design of the system. Meanwhile, make sure refactor the software code actively so as to improve the system design.Design patterns are to describe those classes and objects that are used to solve some general design problems in the given scenes. Each design pattern has described its application field and basic principle. Design patterns supply the reusability and flexibility in the design level, and make the software less sensitive to the changes of requirement.Refactoring is aimed to modify the internal structure of software without changing its observable behavior. Refactoring likes the modification of the code on the surface. However, it modifies the underlying design of the code actually. In a sense, design patterns guide the refactoring as its objective.Here, first nine design patterns (such as command, prototype, singleton pattern and so on) are researched, and applications of these design patterns are analyzed and summed up in the virtual experiment system. Second principles, characteristics and methods of refactoring are researched. Finally applications of these refactoring methods are analyzed and summed up in the virtual experiment system.
Keywords/Search Tags:design pattern, refactoring, virtual experiment system
PDF Full Text Request
Related items