摘要
DWR是一款非常优秀的Ajax框架,它封装了浏览器与服务器进行异步通信的细节,具有客户端异步访问服务器端Java对象的机制,但其在操作DOM和构建丰富UI效果的Web界面方面能力比较有限。而EXT是一款可以开发丰富的Web界面的Ajax框架,恰好可以用来弥补DWR的缺陷。本文讨论DWR与EXT的技术核心及各自优缺点,并结合实例研究如何整合这两种框架来发挥Ajax技术的最佳效果,提高开发效率和改善用户体验。
DWR is a excellent framework of Ajax, which encapsulates the asynchronous communication details between browser and server. It is possible for client-side to access the Java object of server-side asynchronously, but its capability of operating DOM and building a rich UI Web interface is limited. However, EXT which is also a rich Ajax framework, is able to develop rich Web interface and makes up the deficiencies of DWR. This paper discusses the core technique of DWR and EXT, and introduces how to combine them to play the best effect, so as to improve efficiency of development and the user' s experience.
出处
《计算机与现代化》
2010年第1期66-69,共4页
Computer and Modernization
关键词
直接Web远程调用
EXT
AJAX
DWR(Direct Web Remoting)
EXT
Ajax(Asynchronous JavaScript and XML)