【正文】
本書詳細(xì)介紹了成功實(shí)施 CRM 的企業(yè)經(jīng)驗(yàn)和步驟, 0 以此為樣例指導(dǎo)企業(yè)實(shí)施。 ? [7]何榮勤 .CRM 原理設(shè)計(jì)實(shí)踐 [M].北京 :電子工業(yè)出版社 , 2020. 本書在準(zhǔn)確定義 CRM 概念的基礎(chǔ)上,對(duì) CRM 應(yīng)用系統(tǒng)的設(shè)計(jì)思想、設(shè)計(jì)平臺(tái)、 CRM 實(shí)踐的最佳方法、CRM 軟件項(xiàng)目的確立和實(shí)施等進(jìn)行了多方位、詳細(xì)的論述。 ? [2] 基于 SQL Server 的數(shù)據(jù)庫(kù)技 術(shù)及應(yīng)用/劉麗霞 ,莊奕琪編著. — 西安:西北工業(yè)大學(xué)出版社 , 本書分為管理維護(hù)篇、 SQL 基礎(chǔ)篇和TransactSQL 高級(jí)篇 ,分別適用于數(shù)據(jù)庫(kù)維護(hù)人員、設(shè)計(jì)開發(fā)數(shù)據(jù)庫(kù)的初學(xué)者和大中專院校的學(xué)生以及有一定基礎(chǔ)的數(shù)據(jù)庫(kù)開發(fā)人員使用。我們 了解了 XMLHttpRequest 對(duì)象的方法和屬性,而且展示了使用XMLHttpRequest 對(duì)象的簡(jiǎn)單示例。這個(gè)領(lǐng)域正在日漸成熟,最具優(yōu)勢(shì)的將脫穎而出。 (Pragma, nocache)。 ContentType設(shè)置為 text/xml—— XMLHttpRequest對(duì)象只能處理 text/html 類型的結(jié)果。 3. 向服務(wù)器做出請(qǐng)求??梢杂腥缦碌拇a: input type=textd= name= onblur=validateEmail()。圖 21 顯示了 Ajax 應(yīng)用中標(biāo)準(zhǔn)的交互模式。處理 XMLHttpRequest 時(shí)可以大量使用這些屬性。 void abort():顧名思義 ,這個(gè)方法就是要停止請(qǐng)求。它有兩個(gè)參數(shù),第一個(gè)串表示要設(shè)置的首部,第二個(gè)串表示要在首部中放置的值。如果請(qǐng)求聲明為異步的,這個(gè)方法就會(huì)立即返回,否則它會(huì)等待直到接收到響應(yīng)為止。由于異步調(diào)用是使用 Ajax 的主要優(yōu)勢(shì)之一,所以倘若將這個(gè)參數(shù)設(shè)置為 false,從某種程度上講與使用 XMLHttpRequest 對(duì)象的初衷不太相符。要提供調(diào)用的特定方法( GET、 POST或 PUT),還要提供所調(diào)用資源的 URL。在設(shè)置任何首部之前 必須先調(diào)用 open() 下面來(lái)更詳細(xì)地討論這些方法。 表 21 標(biāo)準(zhǔn) XMLHttpRequest 操作 方 法 描 述 abort() 停止當(dāng)前請(qǐng)求 getAllResponseHeaders() 把 HTTP 請(qǐng)求的所有響應(yīng)首 部作為鍵 /值對(duì)返回 getResponseHeader(header) 返回指定首部的串值 open(method, url) 建立對(duì)服務(wù)器的調(diào)用。 由于 JavaScript 具有動(dòng)態(tài)類型特性,而且 XMLHttpRequest 在不同瀏覽器上的實(shí)現(xiàn)是兼容的,所以可以用同樣的方式訪問 XMLHttpRequest 實(shí)例的屬性和方法,而不論這個(gè)實(shí)例創(chuàng)建的方法是什么。如果瀏覽器支持 ActiveX 對(duì)象,就可以使用 ActiveX 來(lái)創(chuàng)建XMLHttpRequest 對(duì)象。由 于存在這些差別,JavaScript 代碼中必須包含有關(guān)的邏輯,從而使用 ActiveX 技術(shù)或者使用本地JavaScript 對(duì)象技術(shù)來(lái)創(chuàng)建 XMLHttpRequest 的一個(gè)實(shí)例。不過,還是應(yīng)該查看 Web 日志,確定你的用戶在使用什么樣的客戶端來(lái)訪問網(wǎng) 站。當(dāng)前, Firefox、 Safari、 Opera、 Konqueror 和 Inter Explorer 都以類似的方式實(shí)現(xiàn)了 XMLHttpRequest 對(duì)象的行為。盡管與其說 Ajax 是一種技術(shù),不如說是一種技巧,但如果沒有對(duì) XMLHttpRequest 的廣泛支持, Google Suggest 和 Tada List 可能不會(huì)像我們看到的有今天這樣的發(fā)展,而你可能也不會(huì)看到手上的這本書! XMLHttpRequest 最早是在 IE 5 中以 ActiveX 組件形式實(shí)現(xiàn)的 。 (Pragma, nocache)。Using the XMLHttpRequest Object Now that we’ve discussed the history of dynamic Web applications and introduced Ajax, it’s time to cover the heart of the matter: how to use the XMLHttpRequest object. While Ajax is more of a technique than a technology, without widespread support for XMLHttpRequest, Google Suggest and Tada List wouldn’t exist as we currently know them. And you wouldn’t be reading this book! XMLHttpRequest was originally implemented in Inter Explorer 5 as an ActiveX ponent. That it worked only in Inter Explorer kept most developers from using XMLHttpRequest until its recent adoption as a de facto standard in Mozilla and Safari . It’s important to note that XMLHttpRequest is not a W3C standard, though much of the functionality is covered in a new proposal: the DOM Level 3 Load and Save Specification. Because it is not a standard, its behavior may differ slightly from browser to browser, though most methods and properties are widely supported. Currently, Firefox, Safari, Opera, Konqueror, and Inter Explorer all implement the behavior of the XMLHttpRequest object similarly. That said, if a significant number of your users still access your site or application with older browsers, you will need to consider your options. As we discussed in Chapter 1, if you are going to use Ajax techniques, you need to either develop an alternative site or allow your application to degrade gracefully. With most usage statistics indicating that only a small fraction of browsers in use today lack XMLHttpRequest support, the chances of this being a problem are slim. However, you need to check your Web logs and determine what clients your customers are using to access your sites. Overview of the XMLHttpRequest Object You must first create an XMLHttpRequest object usi