Creating Vista Gadgets: Using HTML, CSS and JavaScript with Examples in RSS, Ajax, ActiveX (COM) and Silverlight
|
| List Price: | $39.99 |
| Price: | $29.19 & eligible for FREE Super Saver Shipping on orders over $25. Details |
Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com
30 new or used available from $23.30
Average customer review:Product Description
- Explores one of the super cool features new to Windows Vista -- the Sidebar
- It is a one-stop resource for each aspect of designing and developing Sidebar gadgets, perfect for anyone who wants to create killer gadgets
- Includes complete design instructions for four never-before-seen gadgets
Windows Vista Sidebar is a panel located on the desktop of a PC where gadgets can be placed for easy access and reference. These gadgets are small, single-purpose applications, such as clocks, calendars, games, RSS notifiers, search tools, stock tickers, etc, that reside on the Windows desktop and on the Windows Sidebar. The book will be a tutorial to design and develop a gadget. It will provide ready-to-use samples using .NET, XML, CSS and AJAX. After reading the book, a web developer/designer will be confident enough to start developing gadgets for Windows Vista Sidebar. The beginner portion of the book shows an overview of the subject with the design pattern, the architecture and implementation details. The later sections will have solid examples for instant results. In short, the book will tell how to do everything with Sidebar Gadgets using solid, unique examples. Brief outline: " Brief background on Gadgets " Define architecture, design consideration and implementation to give a clear view to the developer " Step by step, create a useful Gadget sample "My Blogs" " Elaborate the architecture design constraint and implementation details for the sample " Detail the standard practices " Recheck the gadget created for standard practices " Improvise and Improve with compare and contrast " Add advanced samples with .NET, AJAX and XHTML.
Product Details
- Amazon Sales Rank: #509587 in Books
- Published on: 2008-05-15
- Original language: English
- Number of items: 1
- Binding: Paperback
- 360 pages
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 www.innovatewithgadgets.com.
Excerpt. © Reprinted by permission. All rights reserved.
Introduction
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:
Code in HTML, CSS, and JavaScript
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.
Visit http://www.innovatewithgadgets.com
© Copyright Pearson Education. All rights reserved.
Customer Reviews
Awesome book about gadgets creation!
I've found this book occasionally, but after I've finished it I fall in love with gadgets and widgets. I've read it like a thriller. Thanks to author who guided me in exciting and interesting journey through the magic world of the gadgets. Great book, easy to read and understand, quite useful and it's gave me a lot of new ideas and professional tools. I would recommend this book to all my friends-web designers. Sofia I.
Not just another boring Technical book...... This one is FUN!
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.
It would have been a much more average book if Rajesh had taken a number of projects and walked you through the code on how to develop these - all with code samples, snips of pictures, graphic elements, etc. However, he goes the extra mile by not stopping at the 'Let's build an RSS feed gadget...' (Make no mistake - you only need one of those, and all in all - they're pretty simple...) Rajesh takes it the extra mile by spending time on Patterns, project thoughts, bringing together all of the disparate elements. Call it, if you will, Designing Gadgets. Creating a gadget is not overly hard. Designing one is a bit more of a challenge. Rajesh takes you on the thoughts that need to be sorted out as you go through that process. The upside? You don't stop when you get done with the book. You really DO have all the tools necessary to design and develop your own tools, widgets, automatons and sidebar 'bots'.
Remember, though - these are supposed to be fun! If you find yourself having too much fun, that C++ book is just to your left. Read it for a while. Come back to this book and you'll see that Rajesh's book is MUCH MORE exciting!
Get deep into Vista Gadgets technology
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. Around internet you can find a lot of gadgets but only a handful are very useful and cool. Here you can find a good guideline on how to think like a user, the choice to expose, how to do a quick access, the gadget's limits, the refresh, the style and so on. The last chapter of the first section talks about the way to use it in your business, needed for readers more than a noob - a real pearl.
It's indeed useful to understand how to use you gadget or what to deploy with a deep view around you, it helps you with a lot of case studies with benefits.
The other three sections are for real developers, explaining the tool you need such as Visual Studio and a step by step procedure to set up the project with some tips. Furthermore, you can find a deeper analysis of topics mentioned in the previous section. Here you can learn using a manifest, settings, the presentation and the DOM and so on. After the first samples and the first smell of the power you have, the author introduces the event and more useful info with some cool samples.
The 7th chapter is the best of the second section, great must read. I will not explain any further, enjoy reading it.
The book explains then how to debug a gadget, the debugging tools and how to use them and deploy with CAB or MSI. Section 9 is the last of this chapter, introducing AJAX and providing a lot of information on how to use it for deploying a gadget retrieving information from part of a site and manipulate it to a different view. It covers a lot of the design concept and usability.
In the last Chapter of the section 3 the author met his goals. He explains how to develop gadgets in different ways, thus adding renewed power to gadget: Silverlight. I have found it very complete, it's effective and useful. This chapter also have a lot of references and the author suggest areas for further research.
The 4th section, closes the book with a great shot. In "Tips and tricks" You can find some useful hints like avoiding vista security or how to protect your code. In "Extra" the author gives the readers a gadget template for Visual Studio, yes you have read well, a template with three cool gadgets.
My final assessment:
This is one of my absolute favorite books on programming, it's just a lot of fun. This is the first book that would really set you apart. It's very useful, with lots samples with code, it really helps you to improve your skills, thinking like an analyst-programmer. Moreover, it helps developers using some language and writing better code. After reading it, you'll have an arsenal of tools to throw at any programming problems. Getting to work under Vista Gadget with no easy task. The target audience is too widely spread, developers (green and old), architects, business analysts, so this book is great to have in the office or in your bookshelf at home. This book is highly recommended.
This book also serves as an excellent reference. If you have a question about something you can contact the author for reference agreement here: http://www.amazon.com/gp/pdp/profile/A2OJOGNTJEY2O9/ref=cm_psrch_profile.
I hope this is a comprehensive overview about this book, Creating Vista Gadgets by Rajesh Lal. If you understand a bit of what this book is... order now or buy it immediately, It will repay its cost within hours through saving your wasted time.
