9. AJAX amp; RIA.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
9.AJAXamp;amp;RIA.ppt

* 9. AJAX RIA Motto: O! call back yesterday, bid time return. William Shakespeare Concepts Ajax Web Applications Rich Internet Applications (RIAs) with Ajax “Raw” Ajax with XMLHttpRequest Object Ajax with XML, JSON and DOM A Full-Scale Ajax-Enabled Application Dojo Toolkit Ajax Overview Usability of original web applications is bad compared to desktop applications Rich Internet Applications (RIAs) approximate the look, feel and usability of desktop applications rich GUI performance Ajax (Asynchronous JavaScript and XML) client-side user interaction vs. server communication separate processes parallel processing no page refreshes asynchronous requests sent to the server via JavaScript page updates via DOM modifications Toolkits Ajax toolkits “raw” Ajax is impractical toolkits handle cross-browser portability problems Dojo Prototype Script.aculo.us RIA environments rich, ready-to-use GUI use Ajax toolkits JavaServer Faces Adobe Flex Microsoft Silverlight Ajax Concept XMLHttpRequest object manages interaction with the server Commonly abbreviated as XHR Form of data passed between server and client XML, or JSON (JavaScript Object Notation) Client-side programming XHTML CSS JavaScript Traditional Web Application Traditional web application uses a synchronous model user fills in all the fields in a form and submits it browser generates a request, sends it to the server, and waits server receives the request, processes it, and sends back a response page browser erases the original form page browser displays the new page Major usability problems the user cant interact with the browser while it waits for the servers response the browser erases the old page before a new page appears Traditional Synchronous Model Ajax Application Ajax application uses an asynchronous model user fills in a field in a form that needs some feedback application creates an XMLHttpRequest object, uses it to send a request to the server, and services the user without waiting server r

文档评论(0)

gshshxx + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档