热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

企业Web应用程序中的XMPP聊天集成-XMPPchatintegrationinenterprisewebapplication

Iamnewtoxmppworld.Ihavetobuildawebinartypewebapplicationwhereuserscanschedulechat

I am new to xmpp world. I have to build a webinar type web application where users can schedule chat/appointments with their contact. - Timezone of each contact will be important. - As soon as the appointment date/time comes, the chat creator will be notified - A group chat style conversation will start any user/contact who is online will get those chat massages instantly. - if someone is offline, he/she will receive those massages as he/she comes online.

我是xmpp世界的新手。我必须构建一个网络研讨会类型的Web应用程序,用户可以在其中安排与其联系人的聊天/约会。 - 每个联系人的时区都很重要。 - 一旦约会日期/时间到来,聊天创建者将收到通知 - 群聊聊天风格会话将启动任何在线用户/联系人将立即获得这些聊天按摩。 - 如果某人离线,他/她将在他/她上网时接受这些按摩。

My question is, is XMPP suitable for such system?

我的问题是,XMPP适合这样的系统吗?

1 个解决方案

#1


I have seen Projekts use XMPP like you mentioned. The AMQP Protocol is the other solution that comes to mind. Both are valid ways to overcome php's stateless runtime and bridge between systems.

我见过Projekts像你提到的那样使用XMPP。 AMQP协议是我想到的另一种解决方案。两者都是克服php的无状态运行时和系统之间桥接的有效方法。

Your delivery to the connected clients might be more complicated. Using XMPP enables some native clients to be used, if you want that. If you want to keep everything in a weblike environment you should deliver in realtime with a node.js server over websockets (socket.io).

您向连接的客户端的交付可能会更复杂。如果需要,使用XMPP可以使用某些本机客户端。如果您想将所有内容保存在类似Web的环境中,则应通过websockets(socket.io)与node.js服务器实时交付。


推荐阅读
author-avatar
姥姥的妹妹的儿子跟我没关系
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有