摘要
目前,设计模式(Design pattern)正被越来越多的人接受并使用。针对实际项目中遇到的信息显示问题,该文介绍了混合使用了多种设计模式的方法。这些设计模式包括Adapter模式、Bridge模式、Decorator模式和Flyweight模式。彻底解决了问题,提高代码的可重用性,可读性,可靠性。
At present,Design pattern has been accepted and used by more and more people.For the Information Display problem encountered in practical projects,this paper introduces the method of mixed-use design pattern. These design patterns include Adapter mode,Bridge mode,Decorator pattern and Flyweight pattern. The method solved problems and improved code reusability,readability and reliability.
出处
《电脑知识与技术(过刊)》
2009年第10X期8188-8191,共4页
Computer Knowledge and Technology
关键词
信息显示
设计模式
混合应用
information display
design pattern
mixed application