/  26
 
Creating Vista
 ® 
Gadgets:
Using HTML, CSS and JavaScriptwith Examples in RSS, AJAX, ActiveX (COM) and Silverlight™
Copyright © 2008 by Sams PublishingAll rights reserved. No part of this book shall be reproduced, stored in a retrieval system,or transmitted by any means, electronic, mechanical, photocopying, recording, or other-wise, without written permission from the publisher. No patent liability is assumed withrespect to the use of the information contained herein. Although every precaution hasbeen taken in the preparation of this book, the publisher and author assume no responsi-bility for errors or omissions. Nor is any liability assumed for damages resulting from theuse of the information contained herein.This material may be distributed only subject to the terms and conditions set forth inthe Open Publication License, v1.0 or later (the latest version is presently available athttp://www.opencontent.org/openpub/).ISBN-13: 978-0-672-32968-5ISBN-10: 0-672-32968-9Library of Congress Cataloging-in-Publication DataLal, Rajesh.Creating Vista gadgets : using html, css and javascript with examplesin rss, ajax, activex (com) and silverlight / Rajesh Lal.p. cm.ISBN 978-0-672-32968-5 (pbk.)1. Microsoft Windows (Computer file) 2. Operating systems (Computers)3. User interfaces (Computer systems) I. Title.QA76.76.O63L3546 2008005.4'46--dc222008016280Printed in the United States of AmericaFirst Printing April 2008
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks havebeen appropriately capitalized. Sams Publishing cannot attest to the accuracy of thisinformation. Use of a term in this book should not be regarded as affecting the validityof any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible,but no warranty or fitness is implied. The information provided is on an “as is” basis.The author and the publisher shall have neither liability nor responsibility to any personor entity with respect to any loss or damages arising from the information contained inthis book.
Bulk Sales
Sams Publishing offers excellent discounts on this book when ordered in quantity forbulk purchases or special sales. For more information, please contact
U.S. Corporate and Government Sales1-800-382-3419corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Salesinternational@pearson.com
This Book Is Safari Enabled
The Safari
®
Enabled icon on the cover of your favorite technology book means the bookis available through Safari Bookshelf. When you buy this book, you get free access to theonline edition for 45 days.Safari Bookshelf is an electronic reference library that lets you easily search thousands of technical books, find code samples, download chapters, and access technical informationwhenever and wherever you need it.To gain 45-day Safari Enabled access to this book:Go tohttp://www.informit.com/onlineeditionComplete the brief registration formEnter the coupon code UWC5-ZPGE-RMIN-P5EG-MSHEIf you have difficulty registering on Safari Bookshelf or accessing the online edition,please email customer-service@safaribooksonline.com.
Associate PublisherGreg WiegandAcquisitions EditorLoretta YatesDevelopment EditorTodd BrakkeManaging EditorPatrick KanouseProject EditorJennifer GallantCopy EditorMargo CattsIndexerKen JohnsonProofreaderMike HenryTechnical EditorMarc CliftonPublishing CoordinatorCindy TeetersBook DesignerAnne Jones
 
Introduction
W
ith the broadest ever worldwide release of a PC operat-ing system, in 2007 Windows Vista opened the door to anera of gadget development. Gadgets, which reside on theWindows Vista Sidebar, are small, lightweight, and can bevery useful applications. The Sidebar is a brand new plat-form for innovation and it gives users a unique way tointeract with information.This book is for people who want to create feature-rich andprofessional-looking Vista Sidebar gadgets. It’s a guide fordesigners, developers, and anyone else who has a basicknowledge of HTML, CSS, and JavaScript and wants toleverage this new and innovative platform. It’s for anyonewho wants to create a gadget for his company, or for aprogrammer with a great idea to implement on a Sidebargadget platform, or even for a hobbyist programmer, whowants to try his hand on a gadget platform. This book isintended to give you ideas for
what 
you can do with thisnew platform and
how 
you can do it.
What’s in the Book
This book starts with a brief background on gadgets, andthen gives a broad and clear view of the architecture of gadget development. Gadget design considerations are animportant part of this book and they go side by side withalmost all the chapters that deal with gadget development.Once you’ve read up on the concept and scope of gadgetdevelopment, the book helps you create a gadget calledMyBlog. During this process the text elaborates on thearchitecture, design constraints, and implementationdetails for the gadget and then details some standard prac-tices applicable to all gadget development. The last sectiondeals 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 back-ground of Sidebar gadgets. The section explains the typesof gadgets, the architecture, and the technology behind the

Share & Embed

More from this user

Add a Comment

Characters: ...