Slashdot Log In
Is XMPP the 'Next Big Thing'
Posted by
CmdrTaco
on Mon Feb 04, 2008 08:49 AM
from the i-sure-wouldn't-complain dept.
from the i-sure-wouldn't-complain dept.
Open Standard Lover writes "XMPP (eXtensible Messaging and Presence Protocol) has been getting a lot of attention during the last month and it seems that the protocol is finally taking off as a general purpose glue to build distributed web applications. It has been covered that AOL was experimenting with an XMPP gateway for its instant messaging platform. XMPP has been designed since the beginning as an open technology for generalized XML routing. However, the idea of an XMPP application server is taking shape and getting supporters. A recent example shows that ejabberd XMPP server can be used to develop a distributed Twitter-like system."
Related Stories
[+]
AOL Adopting Jabber (XMPP) 171 comments
sander writes to tell us that AOL seems to have decided to make their AIM and ICQ services compatible with XMPP. A test server is up at xmpp.oscar.aol.com, and while it's still buggy most major Jabber clients seem to work.
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
buzzwords are my favorite (Score:5, Funny)
Minus two points for not managing to cram the phrases "AJAX" or "Web 2.0" into this writeup.
Re:buzzwords are my favorite (Score:4, Insightful)
Parent
Re:buzzwords are my favorite (Score:5, Funny)
Parent
Re:buzzwords are my favorite (Score:5, Interesting)
Parent
Re: (Score:2)
Re: (Score:2)
AJAX is an ugly hack...[instead], the server can push XML fragments to the client whenever it wants and some client-side JavaScript could then process them into the DOM
Umm... Isn't that just a different ugly hack?
Re: (Score:3, Insightful)
Re: (Score:2, Interesting)
Remember, YMMV.
Re: (Score:3, Insightful)
Re: (Score:3, Funny)
A twitter-like system could be built on top of xmpp. In much the same way that a gmail-like system can be built on top of SMTP/POP. That doesn't mean that SMTP/POP are web-based.
I don't know if a twitter-like [slashdot.org] system would be a wise course of action for an instant messenger system let alone an instant messenger system using XMPP. Do you know what problems could arise from this? Text such as M$, Windoze, Micro$oft, or anything dealing with anti-Microsoft topics would pop-up in your message. This change could occur when you type in MS, Microsoft, Windows, or anything dealing with Microsoft; or just occur spontaneously. ;)
Re: (Score:3, Funny)
Re:buzzwords are my favorite (Score:4, Informative)
Huh?
Parent
Field test of XMPP based system (Score:4, Informative)
Just what we (didn't) need !! (Score:2, Insightful)
Is there NOTHING sacred that some lemon won't wrap in XML ???
Oh, no, wait
Brilliant !!
Re: (Score:2)
Re:Just what we (didn't) need !! (Score:4, Informative)
Yeah, I know, this is Slashdot, where people like to spew completely uninformed pseudo-opinions, but this one is just too obvious. Well, happy IMing on unencrypted, stone-age, propertiary networks that force-feed you with ads and censor your messages, if that's what you want.
Parent
Re: (Score:3, Insightful)
Well, happy IMing on unencrypted, stone-age, propertiary networks that force-feed you with ads and censor your messages, if that's what you want.
XML doesn't solve any of these problems (and they're not all problems.) There's no technical reason that any given messaging service couldn't use SSL, and XMPP is extensible, and an implementation of it can be made proprietary enough to require a client that will force-feed you ads. Any network can censor messages, assuming they can read them.
Your post is overrated.
Yeah, I know, this is Slashdot, where people like to spew completely uninformed pseudo-opinions, but this one is just too obvious.
Oh, sorry, I guess you covered all of that.
Am I too late... (Score:5, Interesting)
'Zemp' would be a nice easy way of saying this.
Re:Am I too late... (Score:5, Funny)
Parent
Re: (Score:2)
Re: (Score:2)
Re:Am I too late... (Score:5, Informative)
A lot of people pronounce it "Jabber". The name "XMPP" arose when they were moving it through the IETF standardisation process.
Parent
Re: (Score:2)
Re:Am I too late... (Score:5, Informative)
Parent
Re:Am I too late... (Score:5, Insightful)
Parent
Re:Am I too late... (Score:4, Interesting)
If the guy can write an XMPP client, and knows exactly what is wrong with Pidgin's implementation in order to "fix" his client to support it, then he should be more than capable of providing a fix to Pidgin's code, so that he doesn't have to keep fixing his code, and the all of us Pidgin users can benefit as well.
Parent
Re: (Score:3)
What exactly is the problem with Pidgin's XMPP/Jabber support? I use Pidgin for my MSN, AIM, and GTalk accounts.. and all three of them seem to work identically and without issue O_o
In case it didn't come across clearly, I actually am interested in knowing what it does so poorly with Jabber, since as an end-user I really can't say that I see what the issue is =(
Aikon-
XMPP as a silver bullet? (Score:5, Interesting)
Re:XMPP as a silver bullet? (Score:5, Informative)
Parent
Re: (Score:2)
If I encrypt everything in a proprietary method (or with a proprietary key) and layer that into XMPP, you can still be locked in.
It's kind of like saying because it's stored in XML it's open...
<document>
h5847uhlib43o8fvacgos8
5rw4978hefw9348fqw34fg
f438gqwoluiaf4687wgoasd
</document>
There's my open document, so you can read it. (No, I didn't include a DTD, but just
Performance (Score:3, Interesting)
Re: (Score:3, Informative)
Re: (Score:2, Insightful)
A brief explanation (Score:4, Informative)
If someone connected to a gmail jabber server sends a message to andrewducker@livejournal.com then google chat automatically connects to the livejournal jabber server and passes the message over.
You can see how this could be extended to allow federations of application servers to communicate. Heck, you could reimplement email over this without massive difficulty.
Re:A brief explanation (Score:4, Interesting)
Heck, you could reimplement email over this without massive difficulty.
In reality I think it was one of the first things they implemented in Jabber. A lot of clients, especially the hardcore jabber clients, have different messaging modes: one mode composes a single message, another mode opens up a little chatbox. If you examine the former, you'll find that it's exactly like e-mail, although really it's just a jabber message. Everybody ends up using the chatbox because that's what jabber is for, and many popular clients (eg Pidgin) have only that.
In terms of server and protocol, in my opinion Jabber is fully able to do e-mail. In fact, I'm sure Jabber servers already have e-mail gateways. You just need a client that operates in a manner that implements e-mail as we are used to; for example, most clients just pop up offline messages as soon as you connect, or mark them on your roster instead of presenting you with a stored list of messages that you can manipulate mailbox style.
Parent
Re: (Score:3, Interesting)
only thing about using xmpp as a mail "replacement", can it do attachments?
no, im not talking about file transfers, im talking about attaching the file to the xmpp message and have it be stored on the server if the recipient is offline at the moment.
thats the one strong suit of mail vs sms or im right now, that you can fire and forget a file rather then having to watch for a person being available to accept it.
still, xmpp will
WTF? (Score:2, Interesting)
What the hell does that mean?
I don't know whether to apply the "alphabetsoup" tag or the "stopturningnounsintoverbs" tag.
New Here (Score:4, Funny)
Could an ejabbered XMMP server really be said to be Twitter-like?
I don't think that Twitter-like systems are the way to go here.
That's really cool, we could really use a Twitter-like enjabered XMMP server here. It will revolutionise computing!
Parent
Re: (Score:2)
Re: (Score:2)
"that ejabberd XMPP server can be used to develop a distributed Twitter-like system."
What the hell does that mean?
I don't know whether to apply the "alphabetsoup" tag or the "stopturningnounsintoverbs" tag.
Where do you see a verb that used to be a noun?
ejabberd is an XMPP-server (that apache HTTP server -> that ejabberd XMPP server)
"can be used to develop" should be obvious
"a distributed": in this case this means that the network does not have a central server; the administration is distributed among the different XMPP-servers
"Twitter-like system": a system like twitter (twitter.com afaik).
Reading comprehension isn't your strong point, n'est-ce pas?
Re: (Score:2)
"XMPP has been designed since the beginning as an open technology for generalized XML routing."
The best reasoning I have is the use of "has been designed since"
Distributed computing and "the cloud" (Score:2)
I'm interested in how this protocol can help glue together applications for better/easier/simpler distributed computing
With all the cheap servers with multi-cores we have, it seems like we all have the ability today to do distributed computing on our own grid.
This site (and corresponding book) Enterprise Integration Patterns [enterprise...tterns.com] was very enlightening to me as I thought more about messaging and less about imperative programming.
New technologies like Terracotta [terracotta.org] (for Java) make distribution simple, too. Eve
Thanks Google (Score:5, Insightful)
PFTLOGCWCUWMUA (Score:3, Funny)
Ugh!
XMPP is a PITA (Score:4, Interesting)
XMPP also requires you to keep a fair amount of state information. Stuff I seemingly would think should be kept by the server. I suppose by making the server really dumb (basically a router) you really put the eXtensible in XMPP but at the cost of a more complex client.
On its surface XMPP looks great: an open-source IM protocol!! Once you, the newb, get into it it gets really ugly.
Then again, maybe I made a poor choice in a python package or I just happened to not find that key page with google that basically explains my problem away (and that's all it is is acclimation, it's not terribly difficult once you "get it"). Not even the wikipedia page [wikipedia.org] explains inner-working details of XMPP. And FWIW, I was *trying* to do what this story was saying XMPP is going to be so great for: server glue for a distributed web-based application. Where I sit now with what [little] I know: I completely disagree until someone wraps it all up into a super-easy library (which shouldn't be too hard).
Re:XMPP is a PITA (Score:5, Informative)
Parent
Re: (Score:3, Informative)
The best way, I'm afraid, is to read the RFCs [xmpp.org] (mostly 3920 and 3921. There are updated, clearer drafts, 3920bis and 3921bis, a link away from that page) and XEPs [xmpp.org] (XMPP Extension Proposal). There's also a book [oreilly.com], but I heard that it's a bit outd
Re: (Score:3, Informative)
If you are enough of a programmer to deal with Jabber, which means being comfortable with XML, this is by far the easiest bit of working with Jabber. All the tricky bits like connecting and stuff are the harder bits worth writing a library for.
Look for a library that handles:
Re: (Score:3, Informative)
We use jabber.py [sourceforge.net]. It hasn't changed in years, but our needs are pretty simple and it meets all of them easily. For example
Honestly, I don't know how you could make that a whole lot simpler.
Re: (Score:3, Interesting)
Yeah, that's brilliantly simple. Except when you have no clue what you're doing.
Look at the documentation provided by jabberpy. It's computer-generated pydoc with pseudo code on making a simple client. Did they have time to write an entire jabber library but couldn't taken the 45 seconds you did to write actual code instead of pseudo code?
Now when you take your bare example and try to receive messages then your simplicity isn't there any