本文已被:浏览 1255次 下载 3178次
Received:July 19, 2013 Revised:September 09, 2013
Received:July 19, 2013 Revised:September 09, 2013
中文摘要: 在Web2.0时代,越来越多的网站采用了动态脚本的方式和用户进行交互,大量客户端脚本的应用,造成了代码的可适应性、可维护性、可扩展性较差,无法兼容各种主流浏览器,页面之间的跳转仍然较多,资源的加载没有规则等问题,影响了应用性能和用户体验. 提出了一种柔性Web展现框架模型FWF,构造了符合AJAX+MVC模式的框架模型,定义了组件模型并通过策略适配器的驱动及事件机制,较好解决了软件适应性问题;对UI组件进行面向对象的封装,实现模型(Model)、视图(View)和控制(Controller)的合理分层,并通过内置的资源加载规则,缩短资源加载时间,从而提升用户应用体验,通过OSGI框架的模块扩展机制实现了Web组件的可扩展. 此外,通过原型实例实验证明了框架的柔性和性能.
Abstract:In the Web2.0 era, more sites are using dynamic scripting approach and user interaction, a large number of client-side scripting applications, resulting in a code of adaptability, maintainability, scalability is poor, and not compatible with all major browsers, jump between pages still more, resource loading has no rules and other issues affecting the application performance and user experience. Presents a flexible framework model FWF, constructed accord AJAX + MVC pattern framework model that defines the component model, and through a policy driven and event adapter mechanism solves the problem of software adaptation. package UI components in object-oriented pattern, the implementation of model (Model), view (View) and control (Controller) are layered rationally, and through the built-in resource loading rules, shorten resource loading time, thereby enhancing the user application experience through OSGI framework's module extension mechanism to achieve a scalable Web components. In addition, through a framework prototype instance proved the flexibility and performance.
keywords: flexible web framework object-oriented
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
LIU Yi-Tian | State Grid Electric Power Research Institute, Nanjing 210003, China |
LIU Shi-Jin | State Grid Electric Power Research Institute, Nanjing 210003, China |
Author Name | Affiliation |
LIU Yi-Tian | State Grid Electric Power Research Institute, Nanjing 210003, China |
LIU Shi-Jin | State Grid Electric Power Research Institute, Nanjing 210003, China |
引用文本:
刘一田,刘士进.一种柔性Web展现框架模型.计算机系统应用,2013,22(12):155-159
LIU Yi-Tian,LIU Shi-Jin.Flexible Web Framework Model.COMPUTER SYSTEMS APPLICATIONS,2013,22(12):155-159
刘一田,刘士进.一种柔性Web展现框架模型.计算机系统应用,2013,22(12):155-159
LIU Yi-Tian,LIU Shi-Jin.Flexible Web Framework Model.COMPUTER SYSTEMS APPLICATIONS,2013,22(12):155-159