《机电工程》杂志,月刊( 详细... )

中国标准连续出版物号 ISSN 1001-4551 CN 33-1088/TH
主办单位浙江省机电集团有限公司
浙江大学
主编赵 群
副 主 编唐任仲、罗向阳(执行主编)
总 经 理罗向阳
出 版浙江《机电工程》杂志社有限公司
地 址杭州市上城区延安路95号浙江省机电集团大楼二楼211、212室
电话Tel+86-571-87041360、87239525
E-mailmeem_contribute@163.com
国外发行中国国际图书贸易总公司
订阅全国各地邮局   国外代号M3135
国内发行浙江省报刊发行局
邮发代号32-68
广告发布登记证:杭上市管广发G-001号

在线杂志

当前位置: 机电工程 >>在线杂志

基于Ajax和MVC架构的研究与应用*

作者:林剑雄,周晓慧* 日期:2010-06-28/span> 浏览:2768 查看PDF文档

基于Ajax和MVC架构的研究与应用*
林剑雄,周晓慧*
(杭州电子科技大学 自动化学院,浙江 杭州 310018)

摘要:现有的Ajax和MVC结合方案都存在着增加系统结构和实现的复杂性、带来额外的工作和降低运行效率等缺点,不适合小型甚至中等规模的应用程序。为了解决这个问题,提出了一种改进的基于Ajax和MVC的架构。并以网上聊天室为例,实现了基于Ajax和MVC架构的Web应用。研究结果表明,该架构适合中小型Web项目的开发,达到了减轻服务器的负担、提高系统的响应速度、提供流畅的视觉浏览等效果。
关键词:Ajax;MVC;异步请求;聊天室
中图分类号:TP311.52文献标识码:A文章编号:1001-4551(2010)04-0090-03

Study and application based on Ajax and MVC structure

LIN Jian-xiong, ZHOU Xiao-hui
 (Institute of Information and Control, Hangzhou Dianzi University, Hangzhou 310018 China)

Abstract: All the existing schemes combining Ajax with MVC are not suitable for small or medium-scale applications. The complexity of system is inereased, additional work is brought and the operational efficiency is reduced. Aiming at solving this problem, an improved structure based on Ajax and MVC was discussed. Finally, the Internet chatting room was illustrated as an example to carry out the Web application based on the Ajax MVC structure. The results indicate that it is suitable for small and medium-sized Web projects, and the burden on the server can be reduced the system response speed is improved and smooth visual browsing is proved.
Key words: Ajax; model-view-controller(MVC); asynchronism request; chat room
 



友情链接

浙江机械信息网