Programming Books C Java PHP Python Learn more Browse Programming Books
Creating Vista Gadgets: Using HTML, CSS and JavaScript wi... and over one million other books are available for Amazon Kindle. Learn more
  • List Price: $44.99
  • Save: $17.14 (38%)
FREE Shipping on orders over $35.
Only 1 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
FREE Shipping on orders over $35.
Condition: Used: Good
Comment: Previously loved book, minor wear to edges and spine. Clean and ready for you. Good Condition! Qualifies for Prime Shipping and FREE standard shipping for orders over $25. Overnight, 2 day and International shipping available! Previous library/school book. May have any of the following conditions. Clear cover adhesive, clear dust cover, stamp inside left cover, stamps on spine, head or tail, highlighting, discard stamp, remainder mark
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Creating Vista Gadgets: Using HTML, CSS and JavaScript with Examples in RSS, Ajax, ActiveX (COM) and Silverlight Paperback – May 15, 2008

ISBN-13: 978-0672329685 ISBN-10: 0672329689 Edition: 1st

Buy New
Price: $27.85
15 New from $6.28 23 Used from $0.01 1 Collectible from $9.98
Amazon Price New from Used from
"Please retry"
"Please retry"
$6.28 $0.01

Customers Who Bought This Item Also Bought


Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 360 pages
  • Publisher: Sams Publishing; 1 edition (May 15, 2008)
  • Language: English
  • ISBN-10: 0672329689
  • ISBN-13: 978-0672329685
  • Product Dimensions: 9 x 7 x 0.8 inches
  • Shipping Weight: 8 ounces (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #2,195,142 in Books (See Top 100 in Books)

Editorial Reviews

About the Author

 Rajesh Lal is an author, technology evangelist, and solutions engineer specializing in web technologies. He has received numerous awards for his articles on Windows Vista and Sidebar Gadgets and is a frequent contributor to Windows Vista Magazine and Code Project website. With over a decade of experience in the IT industry, Rajesh enjoys taking an objective and pragmatic approach to developing applications using Microsoft technology. He has a master’s degree  in computer science and holds both MCSD and MCAD titles. To visit his Vista Gadget blog, go to

Excerpt. © Reprinted by permission. All rights reserved.



With the broadest ever worldwide release of a PC operating system, in 2007 Windows Vista opened the door to an era of gadget development. Gadgets, which reside on the Windows Vista Sidebar, are small, lightweight, and can be very useful applications. The Sidebar is a brand new platform for innovation and it gives users a unique way to interact with information.

This book is for people who want to create feature-rich and professional-looking Vista Sidebar gadgets. It's a guide for designers, developers, and anyone else who has a basic knowledge of HTML, CSS, and JavaScript and wants to leverage this new and innovative platform. It's for anyone who wants to create a gadget for his company, or for a programmer with a great idea to implement on a Sidebar gadget platform, or even for a hobbyist programmer, who wants to try his hand on a gadget platform. This book is intended to give you ideas for what you can do with this new platform and how you can do it.

What's in the Book

This book starts with a brief background on gadgets, and then gives a broad and clear view of the architecture of gadget development. Gadget design considerations are an important part of this book and they go side by side with almost all the chapters that deal with gadget development. Once you've read up on the concept and scope of gadget development, the book helps you create a gadget called MyBlog. During this process the text elaborates on the architecture, design constraints, and implementation details for the gadget and then details some standard practices applicable to all gadget development. The last section deals with more advanced gadget examples that utilize .NET, XML, XHTML, CSS, Ajax, and Microsoft Silverlight.

This book is divided into three broad sections.

Section 1: The Foundation

The four chapters in this first section give a thorough background of Sidebar gadgets. The section explains the types of gadgets, the architecture, and the technology behind the gadget development. The "Approach to Design" chapter helps you know the difference between a merely good-looking gadget and a one that is professional, rich, and worth the space it takes up on the user's desktop. The last chapter discusses the revenue model of the gadget: what you need to know to sell your gadgets.

Section 2: Developing a Gadget

This section walks you through the standard development process of a gadget. It details the creation of the basic MyBlog Gadget, which makes use of an RSS/Atom feed. It also goes through best practices with the user interface, design guidelines, and common assumptions. The later chapters improve on the basic gadget based on standard practices and also deal with deploying and distributing a gadget.

Section 3: Advanced Samples

The section deals with advanced samples. You will be able to create advanced gadgets such as a Site Statistics Gadget, a Radio Gadget, and a YouTube Video Gadget. All the samples follow standard patterns, making it easier to switch between the features and functionality you want, when you want. You will also learn how to use ActiveX COM for creating a utility gadget with a sample .Net Most Recent Used (MRU) Gadget. The final chapter shows you how to create a gadget with Microsoft Silverlight. You will also see how, in just a few minutes, to create a Sidebar gadget with Microsoft Popfly.

If you are a relatively new gadget developer, I would suggest you to start with the first section. If you have basic background knowledge of gadgets and you just want to start with the step-by-step practical approach to gadget development, you can directly start with the second section, "Developing a Gadget." The third section, "Advanced Samples," is for people who have developed a gadget and want to go beyond the basics of gadget development. Each chapter in the third section is actually an advanced sample dealing with a particular type of gadget in a scenario of its own.

Special Features and Notations

This book is meant to be a definite, precise, and concrete guide for gadget development. By pruning redundant information and filtering and highlighting the information that is more crucial, we have tried to make it as comprehensive as possible. This book includes various features and conventions that help you get the most out of the book.

HTML, CSS, and JavaScript code blocks will be shown as follows:

<HTML>Code in HTML, CSS, and JavaScript</HTML>

Sample single code lines will look like this:

Statement one;Statement two;

Other comments will also show up in the code with two backslashes

// Comment one// Comment two

The book also uses the following boxes for important information:

Note - A Note includes extra information to broaden your understanding of a topic.

Tip - A Tip provides alternative, shortcuts, or insider information of the topic being discussed.

Caution - A Caution warns you of potential traps and pitfalls.

Supporting Website

The book has a supporting website where you can download all the codes and gadgets. The website also has blogs I have written on Sidebar gadgets and some of my personal views on gadget development. You are invited to check that site and contact me personally. You will also find errata and most updated information there.


© Copyright Pearson Education. All rights reserved.

More About the Author

Raj Lal is an internationally recognized digital product leader who has designed and developed software used by millions of people. Raj is the author of three popular books on Digital Design, Windows Gadget, and Smartphone Web development, in addition to many articles about web, digital product design and strategy. He is also a consistently top-rated speaker at conferences and companies around the world. Website:

With over a decade of experience in software industry, Raj enjoys taking an objective approach to developing applications and makes extra effort to simplify complex topics. He has a master's degree in Computer Science and holds MCSD & MCAD titles. He lives in Mountain View, California.

Digital Design Essentials resources at
Facebook page:

Resources/Websites for other Books
Smartphone Mobile Web:
Windows Vista Gadget:
Silverlight 4 Resources:
Web Widgets:

Connect with Raj Lal
Email: rajlal@live[.]com
Phone: +1-650-224-3812



Customer Reviews

4.8 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See all 19 customer reviews
Such a book is Rajesh's book on Vista Gadgets.
Richard T. Kingslan
I've found this book occasionally, but after I've finished it I fall in love with gadgets and widgets.
Sofia Ipatieva
The book presents a great content and a easy to understand style even for starters in this area.
Anand Chauhan

Most Helpful Customer Reviews

6 of 6 people found the following review helpful By Richard T. Kingslan on June 23, 2008
Format: Paperback
Typically, technical books have a problem of being dry. They lack style, any sense of enjoyment (seriously - you don't read one to stay awake at night...) and are typically read because you either have a problem with the subject at hand, or you've been tossed under the bus by your boss - who promised you could be an expert in three days. And, he told you Monday was the deadline - and it's Friday afternoon.

Now and then, you come across a book that IS fun, and gives you the opportunity to learn something that can be expanded greatly. Such a book is Rajesh's book on Vista Gadgets. With the technology based in the use of JavaScript, HTML, CSS and Ajax, the skills that you can glean from this book can take you in many directions. The key, however, is learning. And learning something is much more enjoyable and fun when you can see the outcome - and it does something that is, well - cool.

Gadgets are designed to be little tools to do something useful. They are a way to automate a daily task. To keep an eye on specific processes. A way to while the time away playing Suduko when, of course, you really should be working. Plus, they can be very attractive and add another element to the theme of a given desktop, much as the wallpaper and the colors of the windows create the theme.

Plus, as mentioned - gadgets can be considered a beginners introduction to Web Parts - those pieces of code that do tasks on web servers and on client browsers - the up and coming Web 2.0. The technology is the same, the scope and the interfaces into the larger project are different.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By Anand Chauhan on June 13, 2008
Format: Paperback
I am a professor teaching Computer Science courses at a University and have reviewed many books. This falls into top 1% of the books that I have reviewed over many years of my teaching. The book presents a great content and a easy to understand style even for starters in this area. I am generally into hard core Linux technologies and have basic understand of Windows systems. However, this book provides sufficient conceptual background to start programming rapidly. The code examples are great to understand the basics of Gadgets. With the book in hand the user can safely assume an easy learning curve. Its a power packed, programing and easy approach to learning Windows Gadgets, and to my understand is the best book it its class. Highly recommended.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By M. Kulkarni on June 11, 2008
Format: Paperback
Book is an excellent guide and must to have if you are looking to create gadgets.
Best thing about this book is its straight forward approach for serious application developer.The advanced samples are very handy when it comes to build gadgets real-time. i have already started using tips to build my own gadgets.

MUST READ FOR chapter 3, 8,9,10,11,12 to get into gadgets before its too late. Do not miss tips section very handy and useful.

Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By Ajay Prasad on June 29, 2008
Format: Paperback
This is awesome book with in-depth analysis and great reading material. User friendly explanation that is even good for the starters. The book contains many topics that give detail orientation of learning and implementation. This book has very comprehensive details that explain everything and require no further explanation. 200% worth reading!!!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By Luigi Bertoneri on May 31, 2008
Format: Paperback
I'm a developer with more than 10 years of experience. I like the new technology, especially of Windows Vista, Windows Mobile and Windows Embedded.
I have created a few gadgets without this book, since the Vista Gadget SDK was a beta. I found myself running into more bugs and problems. I think this book is a great learning tool and an excellent guide, it reports more material gleaned from a few of the tips.

The thing that many books have in common is that they are boring. Well, this book is different!
The author, Rajesh Lal, has presented his book, explaining complex matters in a new interesting way, which makes reading his book enjoyable as well as useful. It keeps the theory down to what you need to know to get the job done, without a load of waffle. The author's approach to teaching, is like a friend telling a story. Creating Vista Gadgets will throw a few challenging scenarios at you, you'll go from knowing nothing about gadget to having a strong grasp on the concept.
Programming delves into more depth in many areas; in HTML, CSS, JavaScript, RSS, Ajax and object-oriented programming.
The book is very well structured in a logical development with 4 sections and all concepts are described with illustrations.

In the first section Rajesh Lal talks about the history of gadgets and covers all the basics. Afterwards, he goes well in depth with more Vista Gadget samples.
You can find here all the basic steps required to begin to think your gadget. He provides an overview about using the manifest, the event, how to use resources and the APIs available. The 3rd chapter of the first section, is the chapter I like most, all you need for a killer gadget, the user interface.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews