Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
winchnet #1
Member since Jan 2012 · 6 posts
Group memberships: Members
Show profile · Link to this post
Subject: agsXMPP using in web?
Hello,
I want implement a web MSN messenger
Can I use agsXMPP or MatriX library to do this/?
The XMPP implementation provided by Windows Live Messenger does not support BOSH or non-SSL communications.


[thread I asked to Microsoft]
http://social.msdn.microsoft.com/Forums/en-US/messengercon…

Thanks in advance!
This post was edited on 2012-02-20, 09:44 by winchnet.
Avatar
Alex #2
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by winchnet:
I want implement a web MSN messenger
Can I use agsXMPP or MatriX library to do this/?
The XMPP implementation provided by Windows Live Messenger does not support BOSH or non-SSL communications.

yes you can do this. There are several different solutions to achieve this. But for all solutions you have to proxy all IM traffic and conenctions. Depending on how many MSN messenger connections you want to serve this can creates issue (scalability). Without BOSH, Websockets, Silverlight or Flash you cannot distribute the load on the client which is the web browser in your case.

Alex
Avatar
winchnet #3
Member since Jan 2012 · 6 posts
Group memberships: Members
Show profile · Link to this post
Quote by Alex:
Quote by winchnet:
I want implement a web MSN messenger
Can I use agsXMPP or MatriX library to do this/?
The XMPP implementation provided by Windows Live Messenger does not support BOSH or non-SSL communications.

yes you can do this. There are several different solutions to achieve this. But for all solutions you have to proxy all IM traffic and conenctions. Depending on how many MSN messenger connections you want to serve this can creates issue (scalability). Without BOSH, Websockets, Silverlight or Flash you cannot distribute the load on the client which is the web browser in your case.

Alex

Thanks Alex,
Excuse me , I am new at xmpp,
"have to proxy all IM traffic"  seem to be a difficult?
I want use js AJAX to achieve this web messenger, any suggestion or feedback on architectural :)?
This post was edited on 2012-02-20, 15:39 by winchnet.
Avatar
Alex #4
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by winchnet:
"have to proxy all IM traffic"  seem to be a difficult?

no its not, that happens all automatically. You only get lots of traffic and eventually CPU load which you don't get with BOSH.
In your case without BOSH its looks like here:

MSN XMPP Server <==> Your Web server <==> WebBrowser

  • Your web server has to serve the Html output
  • it has to connect on behalf of every user over XMPP to the MSN XMPP server
  • And it has to bring all incoming and outgoing XMPP traffic to the Webbrowser with Ajax

with BOSH you have the following.

XMPP Server <==> WebBrowser

  • Your server has to host only the plain HTML files
  • The browser is connected directly to the XMPP server
  • You are not involved in any XMPP traffic.

Quote by winchnet:
I want use js AJAX to achieve this web messenger, any suggestion or feedback on architectural ?
Use comet when possible and no polling.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS