Chapter 9. Site Statistics Gadget with Ajax—An Information Gadget

"The value of an idea lies in the using of it."

—Thomas Edison


The Goal

The Site Statistics Gadget provides a concise view of counter and statistics services. The data is provided by (see Figure 9.1). The gadget uses Ajax technology to asynchronously acquire the data from a web APIs provided by SiteMeter. The gadget also shows how to extract a part of an online web page in the flyout window and display dynamically generated graphs and statistics that the server application creates. Ajax technology, as you saw in Part II, helps acquire data from online sources in ...

Get Creating Vista Gadgets: Using HTML, CSS and JavaScript with Examples in RSS, Ajax, ActiveX (COM) and Silverlight now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.