English 中文(简体)
chat application: pubsubhubbub vs xmpp
原标题:chat application: pubsubhubbub vs xmpp

我不赞成建立聊天申请的最佳方向。 目前我想到两个主要选择:

  • facebook tornado
    • cons: does not use the main chat protocol xmpp but pubsubhubbub
    • pros: i really like its simplicity for development (webserver + webframework); pubsubhubbub also seems simpler as a protocol than xmpp; and i know python
  • xmpp + bosch, punjab, ejabberd
    • cons: don t know erlang; overall seems a bit harder to develop
    • pros: uses xmpp protocol

聊天器需要具备以下功能:

  • Private messages
  • Public rooms
  • Private rooms
  • Chat history for rooms (not forever, just the last n messages)
  • html embedding
  • url to chat room

这两种选择似乎都很可衡量,这样就不是真的我的担忧(我们重新思考如何在阿马松的ec子中管理 app)。 我知道有一个利用龙卷风建造一台Xmpp服务器的项目,但该项目尚未准备好供生产使用,我们的最后期限是大的。 基本上,我的主要担忧是,发展容易,对后来利用共和国乐施会来开发聊天器感到有些遗憾,但我想到的是,普贝尔·霍布布可能最终取代锡克帕,因为教育、科学和技术部取代了SOAP——你认为什么?

最佳回答

Go for XMPP.

Out of the box, ejabberd has support for all your requirements. You won t need to see any erlang and write custom modules for ejabberd. And with Strophejs, XMPP in the browser (which is what you are apparently doing) is great.

对于你最后一个关于取代XMPP的质子公司的问题,你没有计算。 XMPP在客户和服务器上拥有10年多的老、坚固的开放源和独有的互操作性,因此,它胜出。

你们正在开发一种聊天申请,即XMPP。

问题回答

费萨尔·托龙诺特永远使用普博特布。

它是为XMPP设计的,是为了你重新寻找的东西。 “旋风式”是用于这种投机性的,但用于一般的长期投票请求。

无需使用Punjab,即所谓的http-bind模块,现在的工作非常好。 另外,你不需要学习埃兰兰语,同样,你也不必学习C,以鼓动使用阿帕奇的网络应用: http://github.com/superfeedr/aristochat” rel=“nofollow noretinger”>Aristochat。 你们唯一需要做的是您的XMPP服务器和聊天室的配置,然后是客户(浏览器)的 Java。

如果你不需要通过XMPP建立联合会,但确实想在盒子外迅速进行原型和部署,则请看





相关问题
Goal: to create a decent Online IM Chat

Online chat is deceptively difficult due to the stateless nature of http and the web in general, causing such hurdles as session timeouts, users opening multiple windows and different accounts being ...

Home automation using Arduino / XMPP client for Arduino

I am trying to setup a system for automating certain tasks in my home. I am thinking of a solution wherein a server side application would be able to send/receive commands/data to Arduino (attached ...

How to get port number for iPhone Chatting Application

I am developing a chat application. But Right now chatting is possible with only google because I know only google s port no. xmppClient = [[XMPPClient alloc] init]; [xmppClient addDelegate:self]; /...

Secure iPhone-Desktop Connection

Background There are a lot of App Store released iPhone apps that require an IP based server on the desktop so that the iPhone can connect to the desktop as a client. For example, there are many ...

steps to setting up jabber

Ok I tried going to jabbers site, and it looks like cisco has acquired them. Is jabber a server or a client? is it open source? From what I guess, the steps are: install the jabber server on your ...

热门标签