Google Blogoscoped

Forum

IGoogle's New Gadget-to-Gadget Communication  (View post)

James Xuan [PersonRank 10]

Friday, August 31, 2007
13 years ago4,693 views

That really cool!

Mambo [PersonRank 10]

13 years ago #

That's funny. I seem to have envisioned this a few weeks back...

blogoscoped.com/forum/100601.h ...

Josue R. [PersonRank 10]

13 years ago #

i smell trouble soon. i dont want my GMail or contacts nor anything private to get stolen via gadgets.

Peter Svensson [PersonRank 1]

13 years ago #

Concerning your question on use-cases for gadget-2-gadget communication, I've been using a simliar (but mature :) technology in my apps since christmas called JDA (Javascript Dataflow Architecure). (assembla.com/space/jda)

It's not so interesting, perhaps, between visual gadget/widgets, but it's much more interesting when you can tie together a lot of javascript components in a publish/subscribe system like this.

As a simple example, I have one javascript component (yes, a function with some etra methods :) which mnages a form, and sends its contents on an 'output terminal' when submitted.

This is connected (with JDA wiring (extra HTML tags)) to another component which compiles a dappit.com screen-scraper request with the form contents as arguments.

The component then receives the results from the dapp, and sends it on its own 'output terminal'.

This is conencted to a component who just translates dapp JSON output to something that's easy to deisplay in a dojo sortabletable.

And that component is of course connected to one which displays a dojo table :)

Does this seem too complex fo simple functions? I don't think so. js programs are large and unweildy as it is, and JDA, and google's current hack are ways to solve these problems, much in the same way as Spring does for java.

When you split up you code in components (where a few actualy interacts with the DOM), it is much easier to swap one ouput or filter component for another. I feel that I finally have achieved LEGO :)

hebbet [PersonRank 10]

13 years ago #

Very funny

Philipp Lenssen [PersonRank 10]

13 years ago #

> i dont want my GMail or contacts nor anything private
> to get stolen via gadgets.

Hmmm... XGS, Cross-Gadget Scripting?
Of course, the theory is that only those gadgets who activate either their "publisher" or "subscriber" status (and agree on a name) can communicate between each other. So it would take a bug in Google's code for anything else to happen. And of course, you needed the Gmail gadget on your page.

Patrick Sexton [PersonRank 1]

13 years ago #

I talked about this some last week...

seoish.com/pubsub-and-google-g ...

This thread is locked as it's old... but you can create a new thread in the forum. 

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!