An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com.

August 30, 2007

Google Gadgets that Talk to Each Other

You could say that widgets (or gadgets, as Google likes to call them) are small applications that bring together a lot of information relevant to you. Now what if these gadgets would communicate with each other by sending small messages? PubSub is a new beta feature available at iGoogle. You won't find too many gadgets that use this feature, at least for now.

"PubSub allows multiple gadgets on the same page to send and receive data from each other. In other words, you can now build a gadget that communicates back and forth with one another. This introduces a brand new concept and strategy involved when writing gadgets. Information is no longer constrained to fit inside a single gadget. Instead, you can now split up various pieces of information amongst multiple gadgets and allow them to communicate with each other to paint a bigger picture. Gadgets now have the ability to be more closely integrated with one another and present a network of information to users."

This works if you add at least two gadgets, so it makes sense to create an entire tab with interactive gadgets (here's a sample tab). For example, you could have a gadget that includes a search box and other gadgets that show search results from different sources. Or another gadget could collect events (new email, new event, breaking news) and cleverly organize them based on your preferences.

"PubSub is a new framework which allows 'publisher' gadgets on iGoogle to communicate changes to 'subscriber' gadgets that have declared interest in those changes. This is currently available only on iGoogle and publisher/subscriber gadgets must be on the same page."

If you intend to write gadgets that use this new feature, read the documentation. How would you this framework?

7 comments:

  1. Interesting, but I find it weird Google would "borrow" the PubSub name...

    ReplyDelete
  2. This may be usefull. As for the name, “pubsub” sound like jabber feature for me ;)
    Well, I can imagine integrating this with their gmail server, that would be impressive…

    ReplyDelete
  3. Actually, what I meant that PubSub was a known service, and www.pubsub.com indicates they are comnign back. However, if memory serves me well one of the Pubsub founders now works for Google, so perhaps that's what it became (?)

    ReplyDelete
  4. You're right, Zoli - TechCrunch wrote recently about PubSub's relaunch and about Bob Wyman (PubSub's co-founder) working on a Google internal project called PubSub.

    ReplyDelete
  5. I am sick of google and myspace and I can't wait till everyone see its all an illusion...and we move onto something else.

    ReplyDelete
  6. I wonder if we'll end up heading down the route of "service oriented page design"

    This sort of paradigm does lend itself to letting gadget developers focus on their own strengths and creating gadgets that offer "services" to other gadget.

    ReplyDelete

Note: Only a member of this blog may post a comment.