开发者

chat client using Openfire, Javascript (strophe.js), and html5 websockets?

开发者 https://www.devze.com 2023-03-16 04:57 出处:网络
I want to build a XMPP web-based chat client to add on to outlook web access.I\'ve read that Javascript is problematic.

I want to build a XMPP web-based chat client to add on to outlook web access. I've read that Javascript is problematic.

Could I use html5 websockets using the openfire server and the Javascript(strophe)?

I've read on other solutions that include using flxHR, a flash library. Which would开发者_运维知识库 be better?


Just use an existing XMPP/BOSH library for JavaScript, such as Strophe.js. You don't need to wait for WebSockets.


A lot of the WebSocket libraries, technologies and services provide fallback for browsers that don't support WebSockets. This is generally done via Flash but some libraries also fallback to HTTP streaming or polling.

Have a search for WebSockets on the following page for available technologies: http://www.leggetter.co.uk/real-time-technologies-guide

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号