摘 要
客戶關系管理是一種旨在改善企業與客戶之間關系、提高客戶忠誠度的新型運作機制,將企業的市場、銷售和服務等有機地整合起來,形成跨部門的統一業務管理平臺。
本系統采用三層Web結構,瀏覽器與服務器進行交互,服務器從后臺數據庫獲取數據。系統前臺基于Ajax,利用其核心對象XmlHttpRequest與服務器異步交互,部分交互數據采用XML進行傳輸,前臺瀏覽器獲得XML數據利用DOM文檔對象模型進行處理,其中的業務邏輯采用java script語言進行控制,例如:表單數據的提交,表格列表數據的顯示,增加,修改,刪除等操作。在后臺基于ASP.NET平臺采用C#語言構服務器,在服務器程序中對通用代碼塊采用模塊化設計思想,將通用代碼快設計為類的靜態方法,對動態變化的接口參數,采用XML配置文件的方式,動態的從XML文件中讀取,避免硬編碼帶來的重新編譯。后臺數據庫采用穩定,高效SQL Server 2000。數據庫設計盡量采用三范式原則,但也同時考慮編程所帶來的便利性,必要時采用冗余設計原則。
Ajax在客戶管理系統的應用,可以很好的改變系統與客戶之間的交互的友好性,網頁無刷新重載,提高交互的效率,避免了在網絡上發送那些沒有改變的信息。
關鍵詞:Ajax、java script、XMLHttpRequest、異步交互、XML
The application of Ajax in client management system
Abstract
Customer relationship management is inter-departmental unified business management platform,which improves relationship between customer and enterpirse and enhance customer loyalty to the new operation mechanism.
The system uses a three-level structure of the Web. The browser interact with server, Server access to data from the background database. System prospects for Ajax, use its core XmlHttpRequest object asynchronous interaction with the server. Some interactive data using XML for transmission, prospects browser access to data using XML DOM document object model, The business logic using java script language for the control, for example : the submission of forms, of table data about adding, modifying, deleting, etc. The background based on ASP.NET platform using C # language structure server, the server process to block generic code modular design concept of universal design for fast code like static methods Dynamic changes in the parameters of the interface, using XML configuration files, from the dynamic XML document read, avoid hard coding the recompiled. Background database using stable, efficient SQL Server 2000. Database design paradigm to maximize the use of three principles, but also consider programming from the convenience, if necessary, redundant design principles.
The application of Ajax in customer management systems, can friendly improve the interaction between system and customer,.The website does not need refreshing and reloading, avoiding the network send the message who do not change.