Designing the Stack Overflow Windows Gadget using Balsamiq Mockups

Reading on Stack Overflow that they have published the possibility to put your Stack Overflow status on your web page or blog. They call it the Stack Overflow “Flair”. There are a number of possibilities you have to get your flair information from their servers, and one of the methods is JSON. Which is great. I figured that it would be the easiest way to get the data in to the gadget.

But first I must decide on how the gadget should look like. The format that Stack Overflow is using for the flair doesn’t suit that well to be placed within a Gadget. The Stack Overflow flair is horizontal oriented, where as a gadget have a vertical approach. So I needed to re-arrange the design so it was more gadget friendly. For this I used Balsamiq Mockups. This is an excellent tool for designing your mockups quickly. The result a settled with looks something like this:

image

The next thing was to get the data from their servers using JSON. I am using jQuery to do this.

 

 

 

 

 

 

 

 

 

 

 

 

 

 


The HTML code for the gadget looks something like this:


 

The final gadget looks something like this:

image

Get it from here.

Leave a Reply

Your email address will not be published. Required fields are marked *