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 :)

7 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.

buy wow gold said...

When the Wow Gold wolf finally found the wow gold cheap hole in the chimney he crawled cheap wow gold down and KERSPLASH right into that kettle of water and that was cheapest wow gold the end of his troubles with the big bad wolf.

game4power.
The next day the Buy Wow Goldlittle pig invited hisbuy gold wow mother over . She said "You see it is just as Cheapest wow goldI told you. The way to get along in the world is to do world of warcraft gold things as well as you can." Fortunately for that little pig, he buy cheap wow gold learned that lesson. And he just wow gold lived happily ever after!.

kobe123456 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

longge said...

If you want to adorn your handbag collection and you do not have even a single piece of louis vuitton wallets , then your handbag collection is definitely incomplete and dull. If you are interesting in enhancing the beauty of your purse collection, then you should have at last few pieces of louis vuitton wallet . Every time louis vuitton replica handbags comes up with its new collection, women go crazy and just want to have each and every bag.

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/

Carmina 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

Serg 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.