Abstract:
A Web client is constructed based on Ajax and Observer design pattern to solve the problem of poor real-time and the lower rate of code reuse for existing monitoring system. It uses the Ajax to solve the real-time graphical display problem, and combines with observer design pattern. The rate of code reuse is increased, and the coupling between modules is reduced. Demonstration system is used to validate that the proposed method is feasible.
Key words:
remote monitoring,
Ajax technology Observer design pattern,
Web client
摘要:
针对现有的工业大型设备远程监测系统中Web客户端存在的实时性差和代码复用率低的问题,提出基于Ajax的Observer模式Web客户端构建方案。利用Ajax技术解决监测系统中客户端图形显示的实时性问题,并与Observer设计模式相结合,提高了代码复用率,降低了模块之间的耦合性。通过演示系统程序完整地验证了该方法的可行性。
关键词:
远程监测,
Ajax技术,
Observer设计模式,
Web客户端
CLC Number:
YANG Bin, ZHANG Wei-Dong, ZHANG Li-Xin, ZHANG Li-Jun, WU Zhang-Meng. Research on Observer Pattern Client Based on Ajax[J]. Computer Engineering, 2010, 36(24): 4-5.
杨斌, 张卫冬, 张利欣, 章立军, 伍章明. 基于Ajax的Observer模式客户端研究[J]. 计算机工程, 2010, 36(24): 4-5.