实现AJAX的聊天网站聊天网站、AJAX

由网友(给脸你得要!)分享简介:我想实现具有以下特征的聊天网站:I want to implement a chat site with following features:直接单对单聊天与随机选择陌生人如果我的对话伙伴断开连接,我应该转移到不同的陌生总之,我想模仿 http://omegle.com/ 哪种语言是最适合这项任务? JSP和...

我想实现具有以下特征的聊天网站:

I want to implement a chat site with following features:

直接单对单聊天与随机选择陌生人 如果我的对话伙伴断开连接,我应该转移到不同的陌生

总之,我想模仿 http://omegle.com/

哪种语言是最适合这项任务? JSP和Java? PHP? ASP?其他人呢?

Which language is best suited to this task? Jsp and Java? PHP? ASP? Others?

如果所有的消息都要通过Web服务器,或者是有没有更好的方法?

Should all of the messages go through the web server, or is there a better approach?

推荐答案

您可能想看看谷歌Web工具包(GWT)。瑞安迪斯伯里的书谷歌Web工具包应用程序实际运行您通过编写一个基本的聊天应用程序的过程。

You may want to look into Google Web Toolkit (GWT). Ryan Dewsbury's book "Google Web Toolkit Applications" actually runs you through the process of writing a basic chat application.

GWT可以让你写了一个编译成JavaScript的AJAX应用程序的Java code。

GWT lets you write Java code that is compiled into Javascript for AJAX applications.

阅读全文

相关推荐

最新文章