[译]A. R.实时支持:基于XML的客户支持聊天解决方案
By robot-v1.0
本文链接 https://www.kyfws.com/applications/a-r-live-support-xml-based-customer-support-chat-s-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 4 分钟阅读 - 1513 个词 阅读量 0[译]A. R.实时支持:基于XML的客户支持聊天解决方案
原文地址:https://www.codeproject.com/Articles/30803/A-R-Live-Support-XML-Based-Customer-Support-Chat-S
原文作者:Aman Bhullar
译文由本站 robot-v1.0 翻译
前言
Customer Support chat solution build using ASP.NET(2.0) with C# and XML as a database.
客户支持聊天解决方案使用C#和XML作为数据库的ASP.NET(2.0)构建.
介绍(Introduction)
我已经检查了很多聊天解决方案,然后所有这些都是数据库驱动的.一旦数据库关闭并且在实时系统中,这些应用程序就会失败,这种情况并非未知.因此,我决定构建一个独立于数据库的聊天解决方案.因此,XML是最好的替代品.(I have checked out a lot of chat solutions and all of then were database driven. These applications fail as soon as the database is down and in live systems, this scenario is not unknown. So, I decided to build a Chat Solution that should be database independent. So, XML is the best replacement.)
这是我的第一篇文章,A.R.Live Support是我使用XML开发的第一个解决方案.(This is my first article and A. R. Live Support is the first solution I have developed using XML.)
背景(Background)
A. R. Live Support是一种在线聊天软件,以ASP.NET(2.0)和XML开发.它易于使用,并促进了客户与主管之间的1-o-1实时交流.它是一种灵活的实时聊天软件,只需单击即可为客户支持.(A. R. Live Support is an online chat software, developed in ASP.NET(2.0) and XML. It is easy to use and facilitates 1-o-1 live communication between customers and executives. It is a flexible live chat software that provides the customer support with a click.)
主要特点是:(The main features are:)
- 使用Ajax技术以HTML,JavaScript,XML,C#构建(Built with HTML, JavaScript, XML, C#, using Ajax techniques)
- 无需数据库:不需要数据库(因为它基于XML)(NO DATABASE: No need for a database (since it is XML based))
- 不闪烁:基于高级Ajax技术,聊天屏幕每秒刷新一次(可以自定义),并且屏幕上的更改不需要刷新屏幕(No Flashing: Based on advanced Ajax techniques, the chat screen refreshes every second(this can be customized), and changes on the screen do not require a screen refresh)
- 没有ACTIVEX或PLUGINS等-由于它不是基于Java的,因此用户不需要在计算机上安装插件或安装Java组件. JavaScript,XML和C#ASP.NET的组合使这成为可能.(NO ACTIVEX or PLUGINS, etc. - because it is not Java based, the user does not need to install plugins, or have Java components on the machine. A combination of JavaScript, XML and C# ASP.NET makes this possible.)
- 消息,用户无存储空间;一切都存储在XML文件中.此功能允许多个聊天室甚至聊天应用程序在同一服务器上运行.(NO MEMORY STORAGE for messages, users; everything gets stored in XML files. This feature allows several chat rooms and even chat applications to run on the same server.)
- 易于安装-只需解压缩一个(EASY TO INSTALL - Just unzip a).压缩(.zip)**服务器上的文件,创建一个虚拟目录,并且聊天准备就绪.(file on the server, create a virtual directory, and the chat is ready.)
- 任何重要的浏览器都可以-Internet Explorer,Netscape,Mozilla Firefox,Opera(ANY MAJOR BROWSER OK - Internet Explorer, Netscape, Mozilla Firefox, Opera)
代码演练(Code Walkthrough)
-
我将从用于重复调用服务器以获取最新信息的代码开始:(I will start from a code that will be used to call the Server repeatedly for fetching the most recent information:)
-
服务器端代码以获取用户/执行消息:(Server side code to fetch the messages for User/Executive:)
兴趣点(Points of Interest)
- 聊天是完全可定制的,即,其中有很多有趣的设置(Chat is fully customizable, i.e. there are a lot of interesting settings in)web.config(web.config).(.)
- 最初,它不提供任何报告,但是可以使用XML文件生成报告.(Initially it does not provide any reporting, but that can be generated using XML files.)
历史(History)
-
2008年11月9日(09-Nov-2008)
- 文章的初始帖子(Initial post of article)
-
2008年11月18日(18-Nov-2008)
- 选择聊天部门(Selection of Departments for the Chat)
- 聊天分配中的[错误修复]([Bug Fix] in chat allocation)
-
2008年12月16日(16-Dec-2008)
- 高管之间的聊天转移(Chat Transfer between Executives)
- 密码加密[RSA](Password Encryption [RSA])
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
C# C#2.0 Ajax ASP.NET 新闻 翻译