Font Size: a A A

Research And Application Of Design Patterns In An Enterprise Management System

Posted on:2008-05-20Degree:MasterType:Thesis
Country:ChinaCandidate:H P ShenFull Text:PDF
GTID:2178360218455429Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Design patterns are used to document good design solutions to a known, recurringproblem in a particular context, which are powerful mechanisms for reuse. With the rapidchanges in requirements, design patterns facilitate to solve such problems as high cost ofsoftware development, unsatisfactory qualities, difficulties in post modification ormaintenance, and low success rate and so on.At present, research of design patterns mainly concentrates on the formalization andspecialization, code generation, mining, organization and retrieval at home and abroad.Research of design patterns' application in enterprise management system has just begun athome. In this thesis, an enterprise management system in Liaoning province is introduced,and the key technology is researched and applied which is used in architecture, user interfacelayer and data access layer. The system is organized in layered architecture, and a reusablefoundation framework is designed based on the MVC pattern for organizing and coordinatingthe interactions among models, various user interfaces under different conditions andcontrollers. Reflection technology is used in implementation of controller factory. In userinterface layer, new functions are added to specific control respectively with decorator andstrategy pattern. Design and implementation of a unified interface to tree control makes iteasy to maintain and extend with composite pattern. Combining delegation technology, asolution to show schedule for a long time task is desingned with observer pattern. In dataaccess layer, flexible data access classes are designed with abstract factory pattern. Reflectiontechnology is used in the implementation of factory builder. Such valuable resource asdatabase connection is managed with singleton pattern avoiding waste of resource andreconstruction. A solution to unifying client time is designed and implemented with statepattern by encapsulating the switching states in inner classes related to states and reusability isimproved.In the development of enterprise management system, design patterns have broughtsignificant benefits. The solutions given by design patterns have better reusability,extensibility and maintainability. The trend of using design patterns to address specific designproblems is universal, which can meet non-functional requirements all above.
Keywords/Search Tags:Design Patterns, Enterprise Management System, .NET
PDF Full Text Request
Related items