摘要: 为达到可重用、可扩展、可维护等要求,应用程序框架一般要采用多种设计模式进行设计。消息是Windows平台的基本驱动模式,该文基于消息驱动的方式,采用MVC及Publish等设计模式,讨论了一种通用的应用程序框架结构,给出了系统关键类的部分源码,该架构不受限于具体的嵌入式系统平台。
关键词:
MVC设计模式,
嵌入式系统,
应用框架
Abstract: To achieve reusability, expandability and maintainability, various design patterns are used to design the framework of application program. Message is elementary driving model on the Windows platform. Based on this point, this paper devises a universal application framework by using MVC and Publish design patterns. This framework isn’t limited by specific embedded system platform, and code of key class in system is presented in this paper.
Key words:
MVC design pattern,
Embedded system,
Application framework
张洪涛;段发阶;王学影;叶声华. 一种通用的嵌入式系统应用框架研究[J]. 计算机工程, 2006, 32(24): 50-51.
ZHANG Hongtao; DUAN Fajie; WANG Xueying; YE Shenghua. Study on Universal Application Framework of Embedded System[J]. Computer Engineering, 2006, 32(24): 50-51.