【正文】
的實(shí)施與技術(shù)應(yīng)用、管理框架、客戶(hù)分析和競(jìng)爭(zhēng)分析等幾方面的內(nèi)容 ? [4|維忠,楊芙清 .面向?qū)ο蟮南到y(tǒng)分析 (第二版 )[M].清華大學(xué)出版社 2020 212216 ? [5] 數(shù)據(jù)庫(kù)高級(jí)教程 (C篇 )/李應(yīng)偉 , 姚素霞 , 景麗編著. — 北京: 清華大學(xué)出版社 , 本書(shū)以技術(shù)專(zhuān)題的方式,循序 漸進(jìn)地介紹使用 開(kāi)發(fā) Web 應(yīng)用程序的方法和技巧。 ? [8]王輝 .Visual C程序設(shè)計(jì) 實(shí)用教程 [M].北京:清華大學(xué)出版社 .2020 全書(shū)系統(tǒng)介紹了 C編程的相關(guān)內(nèi)容,從基本語(yǔ)法講起,由淺入深、循序漸進(jìn)地介紹了 C語(yǔ)言的編程技巧和面向?qū)ο缶幊痰木琛? ? [10]魏崢 . 程序設(shè)計(jì)教程與實(shí)驗(yàn) [M].北京 :清華大學(xué)出版社 , 2020. 本書(shū)強(qiáng)調(diào)實(shí)用性 ,為此以大量的實(shí)例重點(diǎn)介紹使用 Visual 開(kāi)發(fā)數(shù)據(jù)庫(kù)應(yīng)用程序時(shí) , 對(duì)象模型中每個(gè)對(duì)象的使用方法 ,包括 Connection、 Command、 DataAdapter、 DataSet、DataTable 等。通過(guò)對(duì)這些案例的分析,有助于讀者對(duì) CRM 更深入的了解、認(rèn)識(shí)項(xiàng)目及商家、成為企業(yè)選擇解決方案的參考依據(jù)。 ? [6]薩師煊等 .數(shù)據(jù)庫(kù)系統(tǒng)概論 [M].北京 :高等教育出版社 ,2020,1518. 本書(shū)系統(tǒng)全面地闡述數(shù)據(jù)庫(kù)系統(tǒng)的基礎(chǔ)理論、基本技術(shù)和基本方法。 參考資料: ? [1] SQL Server 2020 數(shù)據(jù)庫(kù)基礎(chǔ)應(yīng)用/周濤 ,呂偉臣 ,夏永和編著. — 北京: 清華大學(xué)出版社 , 本書(shū)介紹了 SQL Server 2020 的歷史和現(xiàn)狀 ,系統(tǒng)的宏觀(guān)架構(gòu) ,SQL Server 各種工具的使用 ,如何配置一個(gè)常用的 SQL Server 運(yùn)行環(huán)境 ,以及如何完成日常的數(shù)據(jù)庫(kù)使用和管理任務(wù)等內(nèi)容。在本章中,我們討論了 Ajax 核心(即 XMLHttpRequest 對(duì)象)的相關(guān)基礎(chǔ)知識(shí)。這些框架中的很多只是剛開(kāi)始開(kāi)發(fā),或者還處于發(fā)布的早期階段,隨著新的庫(kù)和新的版本的定期出現(xiàn),情況還在不斷發(fā)生變化。為此可以使用下面的代碼: (CacheControl, nocache)。 5. 請(qǐng)求返回到瀏覽器。請(qǐng)求實(shí)際上通過(guò)一個(gè) send()方法調(diào)用觸發(fā) 。從簡(jiǎn)單的 onchange事件到 某個(gè)特定的用戶(hù)動(dòng)作,很多這樣的事件都可以觸發(fā) Ajax 事件。這個(gè)對(duì)象可以解析為一個(gè) DOM 對(duì)象 status 服務(wù)器的 HTTP 狀態(tài)碼( 200 對(duì)應(yīng) OK, 404 對(duì)應(yīng) Not Found(未找到),等等) statusText HTTP 狀態(tài)碼的相應(yīng)文本( OK 或 Not Found(未找到)等等) 交互示例 看到這里,你可能想知道典型的 Ajax 交互是什么樣。 除了這些標(biāo)準(zhǔn)方法, XMLHttpRequest 對(duì)象還提供了許多屬性,如表 22 所示。XMLHttpRequest 對(duì)象還有許多屬性,在設(shè)計(jì) Ajax 交互時(shí)這些屬性非常有用。 void setRequestHeader(string header, string value):這個(gè)方法為 HTTP 請(qǐng)求中一個(gè)給定的首部設(shè)置值。 void send(content):這個(gè)方法具體向服務(wù)器發(fā)出請(qǐng)求。如果這個(gè)參數(shù)為 false,處理就會(huì)等待,直到從服務(wù)器返回 響應(yīng)為止。它有兩個(gè)必要的參數(shù),還有 3 個(gè)可選參數(shù)。這個(gè)方法還包括 3 個(gè)可選的參數(shù) send(content) 向服務(wù)器發(fā)送請(qǐng)求 setRequestHeader(header, value) 把指定首部設(shè)置為所提供的值。不要擔(dān)心,稍后就會(huì)詳細(xì)介紹這些方法。如果存在 window. XMLHttpRequest,就會(huì)創(chuàng)建 XMLHttpRequest 的一個(gè)實(shí)例。你要做的只是檢查瀏覽器是否提供對(duì) ActiveX 對(duì)象的支持。 Inter Explorer 把 XMLHttpRequest 實(shí)現(xiàn)為一個(gè) ActiveX 對(duì)象,其他瀏覽器(如 Firefox、Safari 和 Opera)把它實(shí)現(xiàn)為一個(gè)本地 JavaScript 對(duì)象。大多數(shù)使用統(tǒng)計(jì)表明,在當(dāng)前使用的瀏覽器中只有極少數(shù)不支持 XMLHttpRequest,所以一般情況下不會(huì)存在這個(gè)問(wèn)題。因?yàn)樗皇菢?biāo)準(zhǔn),所以在不同瀏覽器上的表現(xiàn)也稍有區(qū)別,不過(guò)大多數(shù)方法和屬性都得到了廣泛的支持。 the landscape is constantly changing, with new libraries and versions ing out regularly. As the field matures, the best ones will bee apparent. Some of the more mature libraries include libXmlRequest, RSLite, sarissa,JavaScript Object Notation (JSON), JSRS, Direct Web Remoting (DWR), and Ruby on Rails. This is a dynamic space, so keep your RSS aggregator tuned to those sites dedicated to posting about all things Ajax! Summary While Ajaxesque techniques have been used for many years, the recent adoption of the XMLHttpRequest object by modern browsers has ushered in a new era of developing rich Web applications. In this chapter, we established the basics of working with the heart of Ajax, the XMLHttpRequest object. At this point, you know the methods and properties of the XMLHttpRequest object, and we’ve shown you some simple examples of their use. As you can see, the object is pretty straightforward and hides much of its plexity from you. Combined with a healthy dose of JavaScript and some basic DOM manipulation, Ajax allows for a level of interactivity previously unmatched on the Web. 英文翻譯 使用 XMLHttpRequest 對(duì)象 我們已經(jīng)討論了動(dòng)態(tài) Web 應(yīng)用的發(fā)展歷史,并簡(jiǎn)要介紹了 Ajax,下面再來(lái)討論問(wèn)題的關(guān)鍵:如何使用 XMLHttpRequest 對(duì)象。 2. An instance of the XMLHttpRequest object is created. Using the open() method, the call is set up— the URL is set along with the desired HTTP method, typically GETor POST. The request is actually triggered via a call to the send() method. 3. A request is made to the server. This might be a call to a servlet, a CGI script, or any serverside te