Do you want iWidgets with that?
July 15, 2009 at 22:55 | In Ones and Zeros | 1 CommentTags: iwidget, iwidgets, jigsaw, mashup, mashups, puzzle, widgets tangram
I’ve been looking at widgets and mashups a fair bit recently and one of the questions that comes up is around what the best approach for widgets is; should a single widget do a lot, or should multiple widgets be used instead. Obviously every situation is different and there may be reasons to favour one approach over another at different times. The following example occurred to me which might show what the pros and cons are.
Say I was developing a clock widget. There are already Google gadget clocks, so it seems like a reasonable widget to want to have. I could split different parts of the clock across multiple widgets, all sending/receiving events to coordinate the display of a particular time. In the example below, there’s a widget for the hour hand, minute hand, second hand, and whether it’s the morning or afternoon. There’s nothing technically wrong with the resulting mashup – I can tell what time is being shown – but using that many widgets does not really add any value, and there’s not a lot of space left for anything else on my screen.
At the other end of the scale, the example below uses a single widget to display the time. On its own, there wouldn’t be much point using a widget to show the time. It might look funky (well, if any time had been spent making the clock look better than my quick sketches) and I could move it around but you could do all that with a bit of javascript and style sheets on any old web page. Except, if the widget sends and receives events, you can use it in a mashup. There’s plenty of room for other widgets, and in this example selecting a person shows where they are located and their local time, so I know if it’s a good time to phone.
Obviously a clock is a pretty specific, and simplistic, example. There’s a pretty good illustration in the Enterprise Master Data Management book (Figure 2.3, page 73) which shows the two extremes in more general terms:
The first clock was modular, but it was tightly coupled; there were several pieces but only one usage.
The second clock, and other widgets in the mashup, were modular and loosely coupled; there were several pieces and many usages.
(Now i just need to think of an example of a widget that does too much!)
1 Comment »
RSS feed for comments on this post. TrackBack URI
Leave a comment
What am I doing?
- @Hedgeendpeople not planning to sign up to http://www.hedgeendpeople.co.uk but happy to share experiences at @tuesdaytweetup if you're there. 14 hours ago
Subscription options
You can follow this weblog using your favourite news reader or receive email updates using FeedBurner.
Tags
arduino bbc Blogs cake christmas CurrentCost developerWorks energy facebook food freeduino gas google hampshire hedge end home home automation homecamp home easy house hursley IBM information management infosphere IOD Maps mashup mdm mdm-server mdm-workbench mobile mobilephone Netvoyager Photos secondlife slorpedo sms twitter uig User Interface Generator user modeling virtualworlds web wedding work-
Recent Comments
Ken_B on Current Cost gas meter mo… Ken_B on Home Easy -duino 
B&Q ambient orb … on Impulse buy Andy Piper on Insurance fail jt on Do you have a low power home… -
Top Posts
- Another Arduino Oscilloscope
- My first CurrentCost development board circuit
- Cheap low power home server options
- Graphing CurrentCost using RRDtool
- Home Easy -duino
- Do you have a low power home server?
- Current Cost gas meter monitoring?
- House
- Home Easy page on Arduino Playground
- Using Yahoo pipes on the Freeview OTA update schedule
Blogroll
Blogroll- Untitled
Latest from blogroll-
del.icio.us
Disclaimer
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.




[...] project: an interesting mixture of IBM server products and web development, including following James into the wonderful world of iWidget [...]
Pingback by I’m back « dale lane — July 27, 2009 #