iGoogle Gadget cross-communication

You can now allow iGoogle gadgets (formerly called Google personalized homepage modules) to talk with each other... if the gadgets are included on the same page, that is. Google calls this their “PubSub” (publish-subscribe) framework for developers. "PubSub allows multiple gadgets on the same page to send and receive data from each other. In other […]

You can now allow iGoogle gadgets (formerly called Google personalized homepage modules) to talk with each other... if the gadgets are included on the same page, that is. Google calls this their “PubSub” (publish-subscribe) framework for developers.

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

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

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.

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

Google, iGoogle, Gadget, iGoogle Gadget, Communication, Google Personalized Homepage, New Features, Featured News

Source:→ googlesystem