Two Design Patterns and Application in Public Supervision System
Jing Chen · Computer and Modernization · 2008
Design pattern describes the core of simple,reusable software solution.This paper researches the present condition of Public Supervision System in E-government,and discusses in thoroughly the principles of the State pattern and Command pattern in design patterns.According to the shortages of Public Supervision System,such as the low reusability and insufficiency of maintaining and the expansion,the paper proposes one kind of design ideal thought combining State pattern and Command pattern,and applies them to build Public Supervision System with good hierarchy,clear architecture and better reusability.