Saturday, May 26, 2007

General PubSub (PEP) receiver?

Recently, Artur Hefczyc from Tigase project implemented a StanzaReceiver module, which is, simplified, a general pubsub-like interface, but uses a general <message/> stanza with body instead of pubsub stanzas.

This gave an idea of having a general event receiver component of clients: if a pubsub / pep node can't be handled by one of those special protocols (like: User Avatar, User Tune, etc.), then just pop up in a window somehow.



(Mockup created with OmniGraffle, using CC photo from flickr user Bhalash, just to give the credits.)

Why?

Client compatibility is always a bottleneck. If we do PEP a general protocol over User Tune, User Mood etc, we don't have one new protocol to implement: we have a new one for every capability. Isn't it easier, to, let's say, have a "<human-readeable/>" field for every possible solution, and if a client can't handle such event, well, it simply falls back to a default method?

Basically, we still have 3 types of messages: a direct one, a broadcast one, and a get-set pair of them. We know that we just want to 'broadcast' something, in hope that this will be understood by most of our peers - but what happens if not? I think end users would benefit from such.

I don't want to force anybody to anything, just trying to get the flexibility of pubsub and the obvious reasons why StanzaReceiver was created get together :)

5 comments:

Mick said...

I like the idea, but I'm also interested in pubsub being used for more than PEP..user tunes and user mood. I'd like to see a general pubsub receiver also used for news / notifications. It can be based on atom payload, as that seems to be the standard for news published via pubsub.

Great idea, I'd use it.

Unknown said...

discount NFL Jerseys
NFL Jerseys on sale
NFL Jerseys shop
NFL Jerseys
NFL apparel
YSL Shoes
Christian Louboutin Wedges
Christian Louboutin 2010
christian louboutin manolo blahnik
Air Jordan 1 (I)
Air Jordan 10 (X)
Air Jordan 11 (XI)
Air Jordan 12 (XII)
Lacoste Polo Shirts
Wholesale Polo Shirts
Cheap Polo Shirts
Cheap Ralph Lauren Polo Shirts

123 said...

http://funnyboned.com/user/view/voted/login/eshopping123
http://funnyboned.com/user/view/voted/login/hardysed123
http://funnyboned.com/user/view/voted/login/hermes123
http://gabmarkdofollow.info/user/history/christian111/
http://gabmarkdofollow.info/user/history/hoganscarpe111/
http://gabmarkdofollow.info/user/history/hoganscarpes222/
http://gabmarkdofollow.info/user/history/replicahandbags111/page/1
http://gabmarkdofollow.info/user/voted/Chanel123/
http://gabmarkdofollow.info/user/voted/hermes123/
http://gadgetblips.dailyradar.com/profile/123bags123/

Anonymous said...

interesting implementation that Artur Hefczyc, I have never thought about implementing a StanzaReceiver module, that was a great idea! I will implement a Sildenafil module on my application

Anonymous said...

Great software, my brother just installed on his computer, it did make things easier, what confuses me was that every now and then a pop up window shows with a generic viagra message, I think he may have a virus or some like that.