Recently in Widgets Category

Widgets powering social software and syndicated experiences.

  1. Dec31

    2008 in review: iPhone apps

    Content developed exclusively for the iPhone helped web publishers rethink content display beyond the desktop browser. Reimagining web content for small screens with bandwidth, latency, and interaction constraints provided publishers with an introduction to widget concepts and a broader web strategy. The potential audience of an iPhone web application shows up directly in website server logs, providing direct and actionable data in ways other widget options such as MySpace or Vista gadgets just can't match. The iPhone also provides access to a relatively affluent user base capable of paying $200 for a new handset and at least $70 a month in service fees. I expect more web companies in the United States will develop specialized content for high-end mobile handsets in 2009. The recent launch of BlackBerry OS 4.0 from Research in Motion and Android on HTC may spark new interest for publishers interested in business or youth usage respectively.

    Web app vs. native app

    AP News on iPhone

    iPhone web applications now have access to home screen icons, full-screen view areas, database storage, hardware-accelerated transitions, and a larger file cache in iPhone OS 2.0. Web development teams with experience in HTML, CSS, JavaScript will need to upgrade their understanding of current HTML 5, CSS 3, and other features present in a modern, stable browser platform but these new skills are also applicable to the main business of running a website. The shared mobile WebKit base of iPhone, Android, and BlackBerry also allows some code reuse between mobile platforms.

    Urbanspoon for iPhone OS

    iPhone native applications are written in Objective-C, compiled, and distributed primarily through Apple's iTunes App Store. Native applications have access to native Apple libraries including the user's current location, address book, and even Bonjour networking. Websites such as Urbanspoon, Pandora, and SmugMug have captured a new class of users in the mobile space through their native iPhone apps.

    Summary

    I hope to see a lot more iPhone web applications in 2009 as web publishers leverage the skill sets of their existing web development teams. I expect many contracted native applications will go stale as the iPhone OS continues to upgrade, evidenced by a shift to push notifications, and web publishers separate platform flirtations with long-term interest. The iPhone has ignited new enthusiasm for mobile development in the United States which may carry over to BlackBerry and Android handsets in 2009.

  2. Nov06

    Syndication and Widgets Primer

    The publishing world is continuously evolving, creating new opportunities for plugged-in companies to reach new audiences like never before. Today's publishers need to think beyond the fixed location of their website and fully integrate with the large hubs of user activity on the desktop, mobile phone, social networks, blogs, and web pages at large. Syndication and widgets power new opportunities to carry content beyond the walls of a single site and into some of the largest brands in the world yet some publishers still haven't gotten the message. I recorded a 1-hour video presentation earlier this week to better explain the syndication and widget landscape to web publishers. This summary document helped shape the Widget Summit program and new publisher opportunities.

    Widgets and Syndication presentation capture

    A widget in its simplest sense breaks apart a website into its essential components, broadcasts those components to anyone who will listen, and reassembles the content on a remote system while tapped into local resources. It's a bit like writing your website's front end in a remote location powered by local assembly methods, cached resources, and rich interactions. I compare syndication and widgets to television broadcasting and international shipping: we build our products to exact specifications to take advantage of new audiences and standardized transports.

    Reach larger audiences

    Widgets let publishers take their content to the audience instead of waiting for the audience to come to them. Throughout my presentation I used Twitter as an example. Twitter attracted approximately 2.3 million unique visitors in the U.S. in September according to Nielsen Online. That's a pretty strong audience but it's tiny compared to the repeat daily activities of Facebook, MySpace, Google, or everyone reaching Windows Vista. We package up and redistribute our content to reach these larger audiences spending time away from our site instead of waiting for a new visit into a fixed domain.

    In the presentation I broke syndication strategy into two major components: syndicate data using Atom and piece your data back together on major platforms of interest using widgets. I dive into a few example of major feed reading and widget platforms, and even spent some time on advanced topics such as contextual awareness.

    I am still experimenting with creating presentations for online video distribution but I hope you enjoy these multimedia conversations.

  3. Oct30

    Yahoo! Open Strategy launch

    Yahoo! Open Strategy sign

    On Tuesday Yahoo! launched its Open Strategy, exposing Yahoo! account data and social connections to third-party developers. Yahoo! Open Strategy is the third pillar of faith announced by CEO Jerry Yang last year during the company's rebirth. Y!OS is the new glue connecting the next versions of Yahoo!'s own properties and will eventually power more relevant advertising across the network. In this post I will provide an overview of the new Yahoo! services and its impact on both Yahoo! and third-party developers. Yahoo! Open Strategy is one of the keynote presentations at Widget Summit next week.

    The Yahoo! Open Strategy first and foremost unites Yahoo!'s own product fiefdoms into a common set of interchangeable components. The new platform ties together social features and rich content units across Yahoo! properties in much the same way as YUI abstracts a common set of JavaScript and CSS interactions across Yahoo!. The company announced plans to integrate the Y!OS platform into a new version of My Yahoo! and Yahoo! Mail over the next year.

    Yahoo!, like many portals, receives most of its user activity from mail and IM networks. These are the explicit social networks, tracking who we communicate with every day and at what frequency. Yahoo! Mail, Yahoo! Messenger, and Yahoo! Mail represent some of the largest front-doors on the Web across a very international audience. Yahoo! is building upon these established strong relationships to construct a social platform receiving new, relevant inputs every day. Y!OS is a partial answer to Yahoo!'s build vs. buy decision it faced in September 2006 when Yahoo! reportedly offered to buy Facebook for $1 billion (about $400 million at today's share price).

    A new Yahoo! Profile

    Yahoo! Profile

    The new Yahoo! profile pages collect more information on every Yahoo! user in an interface that is easy to discover and share. Yahoo! previously buried this data inside user account preferences and really didn't provide much motivation to keep profile data up-to-date. The new Yahoo! profile is at the center of the Yahoo! Social experience, motivating participating users to better describe themselves to connected friends and services.

    Exposing this profile data across Yahoo! applications ultimately leads to richer ad-mining for Yahoo! and its partners.

    Social APIs

    Yahoo! tracks explicit and implicit user connections through its Contacts platform and Social Directory. Messenger buddies, address book entries, and direct communications all influence the Yahoo! social platform. Yahoo! social features are similar to what publishers have come to expect inside a Facebook social graph or combined news feed but adds live user presence (online/offline) to the mix.

    Yahoo! Application Platform

    Yahoo! Application Platform small view sample

    The Yahoo! Application Platform (YAP) adds third-party content to Yahoo! properties through a full-page editing canvas and small widgets. The Yahoo! Application Platform is build on OpenSocial 0.8 JavaScript APIs combined with Yahoo!'s own markup language similar to a server-side include and FBML.

    The YAP widget view is restricted to static content for speed. Developers can't use JavaScript, PHP, or other languages within a Yahoo! widget and are not allowed to display any advertising or promotions. These heavy restrictions strip the widget down to its essentials for the sake of speed and scalability. The no-advertising and no-promotions clause may cause companies to rethink content monetization on the Yahoo! platform.

    Summary

    Cody Simms and Neal Sample

    The Yahoo! Open Strategy 1.0 release is just the beginning of Yahoo!'s rewiring. The platform really gets interesting once Yahoo! flips on My Yahoo! and Yahoo! Mail support, enabling 500 million worldwide users to access new content. Yahoo! already owns a compelling notification platform in Messenger and Mail, which should drive the virality of applications through invitations and updates that actually reach their intended recipient. Yahoo! has assembled a small team of ex-BEA middleware experts behind the scenes to drive new Java-based platform apps across the company and around the world. The Y!OS launch this week is a good start and I'm looking forward to Yahoo! delivering on its vision.

  4. Aug21

    Intel and Yahoo! announce Widget Channel for HDTV

    Flickr on Widget Channel

    The Internet is coming to your TV, reclaiming your split attention span from the other gadgets around the house. Intel announced its latest effort to power your living room yesterday with new media processors, reference designs, and software stacks that may eventually find their way into the cable boxes, Blu-ray players, and home media centers of 2010. Intel partnered with Yahoo! to deliver Internet-connected widgets, advertising, and content to potential partners with a software stack branded The Widget Channel. Yahoo! spent about two years customizing Yahoo! Widget Engine for high-definition televisions and hardware-accelerated graphics displays. Yahoo! will pitch its widget engine for televisions, display advertising integration, and customizable widget gallery to cable operators, television manufacturers, and other major consumer electronics companies as Yahoo! seeks a prominent role in what it calls the "Cinematic Internet."

    I visited the Intel Developer Forum in San Francisco yesterday for a first-hand look at the new prototype widgets platform. I was lucky enough to bump into Eric Kim, Intel's SVP and General Manager of the Digital Home group, and recorded a 8-minute overview of Widget Channel. I've embedded the walk-through below. High-resolution snapshots of individual Widget Channel widgets are available on my Flickr account.

    Intel Widget Channel demonstration
    1. Yahoo! Widgets on TV
    2. From reference design to reality
    3. Picking apart the pieces
    4. Summary

    Yahoo! Widgets on TV

    Widget developers may be already familiar with the Yahoo! Widget Engine, also known as Konfabulator. This desktop engine started out on the Mac, ported to Windows, and now runs inside the Linux-based Intel TV platform. The Widget Engine team is a part of Yahoo!'s Connected Life division which also includes Yahoo! Mobile -- powered by Blueprint widgets -- and DVR acquisition Meedio. Yahoo! has tied its data APIs to TiVo and Windows Media Center in the past, accessible as a full-screen application after a deep dive through the device's navigation options. The Widget Channel and its alpha-blended snippet dock complementing the main viewing experience of your TV is a radical departure from past Yahoo! partnerships in the space, an obvious result of designing an experience from the ground-up instead of bolting onto other vendor's solutions.

    Widget developers can build new widgets for Widget Channel using most of the same resource bundles and runtimes used on the desktop Konfabulator engine. XML manifest files define widget metadata, preferences, and screen UI. JavaScript powers on-screen interactions and dynamic data. Yahoo! Widget Engine includes a WebKit run-time, which will hopefully be ported by Yahoo! and Intel to support hardware accelerated CSS and other nice features on the new software stack.

    Widgets written for the new Yahoo! Widget Engine for TV must conform to four major UI modes: snippet content on the bottom dock, sidebar content, full-screen display, and background processing. Docked snippets are more than just minimized widgets: viewers can cycle through multiple snippets inside a single widget such as weather in various cities or a sports scores. Most sidebar displays mocked-up by Yahoo! used an accordion design pattern to collapse multiple content sections inside a small space. Full-screen experiences match the full-screen designs of the Web. The demo widget for Flickr uses their newly redesigned Flash slideshow display for a familiar look and feel from desktop to living room.

    I couldn't get a solid answer from Intel regarding how tightly Widget Channel was tied to Yahoo!'s Widget Engine. Intel wants to sell its new consumer electronics system-on-a-chip, the media processor CE 3100, far and wide with or without the Yahoo! engine. I expect the underlying platform contains a native widget layer and programming environment with tighter integration but more programming complexity than Yahoo!'s engine in much the same way NVIDIA Preface bolsters its platform offering with a Windows Sideshow gadgets run-time.

    From reference design to reality

    Gigabyte MD300 DVP rear

    Yesterday's announcement from Intel and Yahoo! is merely a reference design showing off what both companies hope is the future of Internet-enabled consumer electronics. The Yahoo! Widget Engine for TV still needs a lot of work and there are currently no shipping products implementing the hardware and software stack demonstrated yesterday. Cable companies, television manufacturers, and other consumer electronics companies will evaluate the stack over the next year for possible inclusion in products shipping next decade.

    Intel is trying to displace consumer electronics chipsets already in production from IBM and NVIDIA. Sony, Toshiba, and IBM worked together to create the Cell multiprocessor already powering the PlayStation 3 and built-in to the next generation of televisions. NVIDIA chipsets are inside cable boxes from Scientific Atlanta and others. The upcoming Java-based tru2way cable software platform is already under active development by consumer electronics companies and software vendors. Widget Channel could operate as an additional layer on top of tru2way, as mentioned in Comcast's press release yesterday. The word "Yahoo" does not appear in the Comcast press release and Comcast has only announced their intent to evaluate the new reference design against their own Java-based offerings in 2009.

    Picking apart the pieces

    Intel Widget Channel stack

    Widget Channel is a Linux-based operating system with platform software and middleware provided by channel partners. The Widget Engine is one of the available software options on the device. Carrier-specific back-end services including reporting, storage, security, and developer certificate verification reside within the carrier network with possible add-ons such as display advertising powered by Yahoo! or others. Each Widget Channel implementation can choose its own Widget Gallery service and white-listed widgets and possibly receive extra content from a compatible widget gallery offering served by Yahoo!.

    Yahoo! has a good opportunity to serve display advertisements, sell premium widget placements and certifications, and promote its own content within each Widget Channel deployment. It may be possible for Yahoo! and Google to program their own compatible widget and advertising layers on top of the base Intel platform to replace or compete with Yahoo!. Major features such as contextual widgets and advertising layers have yet to be developed for the platform, leaving new opportunities for other Internet companies to step in with their own swappable components inside the software stack.

    Summary

    Yahoo! Widget Gallery home screen

    The Intel Widget Channel provides a peek inside the connected future of our living rooms. Consumer electronics companies and large carriers from the cable and satellite industries want to participate in the premium content offerings available through Internet-connected electronics and new software stacks from chip vendors could help bootstrap new services. Intel wants to sell more chips, Yahoo! wants to serve more ads, and cable companies want to boost subscription revenues without major investments in new infrastructure.

    Intel admits interactive services on the television has been a popular goal over the last 10 years but without measured success. [T]he rate of adoption has so far been disappointing, studies show that consumers remain receptive to the concept. New levels of broadband penetration combined with high-definition viewing could change consumer adoption but we are still a few years out from real adoptable implementations. We'll have to wait and see what hardware and services are announced in 2009 before spending too much development time against a reference design.

  5. Jul01

    Announcing Widget Summit 2008

    Widget Summit logo

    I am hosting a my third annual Widget Summit conference November 3rd and 4th at Hotel Nikko in San Francisco. The two-day widget event will once again educate and connect a a widget ecosystem of publishers, toolmakers, developers, and service providers across a variety of platforms including desktop, mobile, web, and social networks. I enjoy taking a look beyond the hype with a sold-out audience interested in building better syndicated content experience through distributed widgets.

    The widget industry is constantly evolving as publishers extend their reach beyond their web address and into remote locations already bustling with activity. The popularity of a single site pales in comparison to the aggregate crowds gathered in front of their Windows Vista desktops, iPhones, or My Yahoo! homepages. In the past year we've seen new context added to our widget environments connecting us to the location, friend list, or shared application of our widget community wherever they may interact with our content. Today's smartest widgets enjoy a close bind with their parent platform's features, regularly poll their home base for relevant updates, and reach new audiences through targeted and integrated content interactions.

    At my first widget conference in 2006 we struggled with the name "widget" and this new distribution network most people interpreted as a Flash badge on MySpace. Last year iPhone web applications and the social canvas of Facebook was all the rage, with new opportunities in the enterprise slowly emerging through the rollout of Windows Vista and personal information dashboards powered by software as a service offerings from established consumer brands such as Google and Netvibes.

    A lot has changed in the widget space in the 8 months since the last Widget Summit. Widgets are going mainstream, with the startup valuations and press coverage to match. Somewhere among the fog of hype are useful opportunities to reach targeted audiences on their platform of choice. Let's take a look at some of the big changes we've seen since October 2007.

    • New collaborative technologies such as OpenSocial and its open-source reference container Apache Shindig are quickly creating new widget environments at companies that could not afford to create their own implementations from scratch. MySpace, Orkut, Hi5, LinkedIn, and Yahoo! have all committed to a standard set of widget APIs.
    • The Facebook platform is in the middle of its first big changes since its 2.0 release in May 2007. Shifting concepts of profile display, authoring, and member interaction will require new upgrades or fresh opportunities for completely new applications.
    • The iPhone continues to spark interest in mobile web app development based on single-browser environments. iPhone 2.0 will put smartphones in the hands of a worldwide audience for about the price of a ubiquitous iPod and hopefully expand mobile data opportunities.
    • Advertising networks have created separate product offerings specifically focused on widgets. DoubleClick syndicates and tracks widgets through its DART platform. AOL's Platform-A recently announced widget-specific advertising and sponsorship powered by TACODA's trail of cookie bounties.
    • The enterprise continues to adopt software as a service and widgets are no exception. Google, IBM, and Microsoft are extending their hosted software into large companies and bundling the latest widget technologies inside an integrated package.
    • Consumer electronics ship with widgets built-in. Your next car, GPS unit, television, or alarm clock may contain customized widget content.

    These are just a few of the large trends creating new opportunities for publishers extending the reach of their content through widgets. We'll cover all the major widget platforms and opportunities at this year's Widget Summit, providing the business sense and development basics to kick off your new widget initiatives in 2009.

    You may have noticed this blog grow quiet over the past few months as I rebuilt the conference software behind Widget Summit and aligned the many business details needed to create the best possible experience. In the next week I'll share some of the technical details behind my new sites and services.

    Registration for Widget Summit is now open with early bird pricing of $795 for the two-day conference in downtown San Francisco on November 3rd and 4th (the Monday and Tuesday before Web 2.0 Summit). I hope you can join us for what should be our best conference yet!

  6. Nov05

    Windows Vista Gadgets

    Microsoft's Windows Vista operating system includes support for widgets on every desktop. Windows widgets are permanently docked in a sidebar, providing up-to-date information and easy access to small tasks throughout the day. In this article I will walk you through the major components of a Windows Vista Sidebar gadget including major differentiating features, best practices, and tips for widget packaging and distribution.

    Note: Microsoft calls its widgets "gadgets" in an attempt to avoid more legal battles with Apple. I refer to Microsoft Gadgets for Windows Vista Sidebar as simply "widget" throughout the article to keep things simple.

    The short version

    Windows Vista Sidebar gadgets are mini-applications powered by familiar web technologies. The Sidebar has three main views and user interactions -- docked, flyout, and floating -- for rich widget interactions. Your widgets are downloaded to the user's desktop, unpacked, and executed in a local machine trusted state. With great power comes great responsibility, and you will want to take a few extra steps to make sure your widget is seen as a trusted part of the user's daily computing environment. Now on to the good stuff.

    Distribution and market share

    Windows Vista editions

    Windows Vista is the most recent edition of the Windows line of operating systems. Widgets are an included feature on every version of Windows Vista running on a computer with over 512 MB of RAM (Vista Capable).

    Microsoft released Windows Vista worldwide on January 30, 2007 and was immediately included as the default operating system pre-installed on sales of new PCs. Market share numbers are always a bit fuzzy, but web analytics firm Net Applications observed a 8% market share for Windows Vista in October 2007. Vista's current market share is significantly behind Windows XP's 79% and only 1.4% above Mac OS X but continuously climbing as individuals and businesses purchase new computers.

    Windows Vista Sidebar clock weatherEach new copy of Windows Vista displays an analog clock, photo slide show, and a miniature feed reader in Sidebar by default. Sidebar holds 5 widgets, leaving two spots open for your new content even if the user does not understand how to remove the defaults. Vista also ships with address book, calendar, CPU meter, currency convertor, notes, picture puzzle, stocks, and weather widgets pre-installed for easy customization. Users discover and install new widgets through Windows Live Gallery.

    Miniature applications

    Windows Vista widgets can take advantage of the full power of a desktop operating system. You know your widget will render like an Internet Explorer 7 webpage, playback media content in Windows Media Player, and have access to platform functions such as calendar, contacts, and feeds. Widgets are defined and described using XML and HTML. Widget content is positioned and styled using CSS. Widget application logic is powered by ActiveX, JScript (essentially JavaScript without the Sun trademark), and VBScript.

    Widget execution and privileges are very similar to HTML Applications (HTAs) on the Windows platform. Your widget is rendered by MSHTML, one of the main components of Internet Explorer 7. Your widget is a packaged set of resources living inside the user's applications directory and executes within a Local Machine Zone.

    Three widget views

    Windows Vista Gadgets docked flyout floating

    A Windows Vista Sidebar widget has three main data views: docked to the sidebar, docked to the sidebar with an adjacent data fly-out, and a free-floating window on the user's desktop. A successful widget should take advantage of all three use-cases to provide the best possible experience on the Vista platform.

    Docked

    Docked Windows Vista gadgetA docked widget sits in an always visible sidebar. Users might glance at information throughout the day (e.g. current weather or a stock price), execute a quick task (e.g. jot down a quick note or execute a search), or take a quick break (e.g. solve a sudoku or picture puzzle). A docked widget is 130 pixels wide and at least 60 pixels tall.

    Docked with flyout

    Windows Vista Sidebar stock price gadget with flyout

    A gadget can expand and provide relative, contextual information through the use of a flyout. A flyout is connected to your docked gadget but expands into the space adjoining the sidebar when a user takes action. You might display extended information in this space such as a detailed weather report, include additional context such as a stock trading chart (pictured above), or display a full media file such as a large photo or video. A widget flyout adds rich interaction directly inside the widget view without spawning a new browser window or other complex actions.

    Floating

    Windows Vista Sidebar weather widget floating

    A floating widget detaches from the Sidebar and instead floats on the user's desktop. Floating widgets can display more information than a desktop widget by expanding up to 400 pixels square (about a 3x increase over the sidebar's 130 pixels). A user can choose to always have your floating widget on top of all other application windows but will most likely access your floating widgets content as a heads-up-display by specifically engaging the Sidebar application through a click or keystroke.

    Image and text handlers

    The Windows Sidebar g namespace helps you create background images, place text, and resize images from a DOM scriptable interface. Image helpers provide quick and easy resizing of any image asset using Vista's built-in thumbnail tools. The GIMAGE protocol resizes and caches local images less then 256 pixels square in a much more efficient manner than a typical img element.

    Access system information

    Windows Vista connects Sidebar gadgets to other parts of the operating system through a special System JavaScript object. The System interface provides easy access to current machine status (e.g. CPU and memory utilization), address book contacts, e-mail messages, or even the Windows Shell. Developers can take advantage of VBScript or ActiveX for custom functionality.

    Packaging

    Windows Vista gadget warning message

    Windows Vista Sidebar gadgets are distributed as a zipped archive, Windows cabinet file, or a Windows Installer 4.0 file. Each format offers its own simplicity and trust levels. You'll need to make a few key install decisions based on your trust concerns, the features of your widget, and budget.

    ZIP archive

    The ZIP file format is a widely distributed compression format with compression and decompression tools present on all major operating systems. A widget publisher should simply place all widget assets in a single folder and compress its contents using their favorite ZIP compression tool. Your newly created archive should be renamed with a .gadget extension for easy recognition and handling by the Vista operating system. Vista will examine your package and decompress its content into the user's Sidebar gadget folder.

    Note: Windows Vista Sidebar gadgets should have a MIME type of application/x-windows-gadget and not application/zip. Setting the right MIME type on your server provides the appropriate desktop hooks to make sure your widget makes it beyond a download folder and into the Sidebar.

    Windows Cabinet

    Windows cabinet files allow publishers to digitally sign a Vista gadget for a more trusted install process. You are no longer an Unknown Publisher with a red warning shield possibly making your users think twice about installing your desktop gadget. Signed gadget publishers are mentioned by name on the install screen with a link back to their website for further information. Signed gadgets receive a yellow warning shield and an upgraded warning message of only "potentially" harming the user's computer.

    Windows digital signatures are more expensive than a free compression tool but do add some user comfort and trust during the install process. If you are a big company with thousands of downloads such as eBay or Netflix you might even already have Windows signature file assigned to your organization. If not you may want to evaluate total costs on a per-install basis and factor in a larger adoption rate for a signed gadget.

    Windows Installer

    Windows Installer can unpackage your cabinet file and execute a few other setup tasks to make sure the user's computer is properly configured for your gadget. If you need to make sure the user's registry settings allow ActiveX execution or accessing data from multiple domains you will need to use a Windows Installer to properly configure the machine for your gadget.

    Sideshow

    Windows Vista Sideshow Asus

    Windows Sideshow connects Vista PCs to peripheral device displays such as a digital picture frame, television remote controls, or your intelligent refrigerator. Do you not have a refrigerator that connects to Windows computers on the network for the latest weather updates and new recipes? Sideshow is a very early-stage concept that might have adoption rates somewhere between a MSN Direct refrigerator magnet and a Tablet PC but is worth a mention when discussing Vista gadgets.

    Vista Sidebar gadgets can be extended for use with Windows Sideshow. Many Sideshow devices are powered by the NVIDIA PREFACE platform so if you are really serious about creating widgets for a remote control or refrigerator you might program directly against the PREFACE features (formerly PortalPlayer).

    Summary

    Windows Vista Sidebar gadgets take advantage of the web browser, desktop scripting, rich graphics process, and multimedia capabilities of Microsoft's latest operating system. The always-on sidebar is an attractive marketing space for widget content and a quick way to provide up-to-date information to your Windows users. The Sidebar's prime real estate only supports about 5 widgets, so you'll have to execute well and earn your coveted spot on your target users' permanent screen.

    Sidebar gadgets are lightweight applications coded using Web technologies already familiar to most developers. You can quickly build a simple connected gadget inside a mini HTML page or Flash Player runtime but a full-featured integration will provide a deeper engagement and more gadget views over time by taking advantage of the full features of the Windows Vista gadget platform.

  7. Oct29

    Widget Basics

    The total number of widget platforms and deployment options intimidate many newcomers. Each platform offers a unique audience and features, but widget basics remain the same across Windows Vista, Nokia S60, Google, MySpace. and more. In this post I will outline the basic components of a widget including static assets, user preferences, processing remote data, and rendering your final widget.

    Create a default view

    Every widget has an at-rest state. Your widget might have a background image or color, static text, or other fixed pieces not dependent on external data updates. You will likely define areas of your widget that will later contain the result of dynamic data updates. This at-rest state, or default view, is the first step towards a complete widget and the first thing your users will see before retrieving their custom data.

    Apple Dashboard widget front background

    Apple's Dashboard weather widget has a slim background with a simple layout showing the current temperature and weather condition. Today's temperature is displayed on the right, with a degree sign built-in for data context. The current weather condition (sunny, cloudy, raining, etc) will appear in the center.

    Gather custom preferences

    Every widget platform supports user customizations collected using a familiar user interface and stored on the parent platform along with other user data. In some cases you might be able to tap into preference data already stored on the platform such as a user's location, age, or preferred number of headlines per widget.

    iGoogle weather preference

    iGoogle's weather widget stores both a country and a city as your weather location. A weather widget might use different data APIs by country or region, or adjust its wording based on a user's location (i.e. Postal Code vs. ZIP Code).

    Widget preference data is stored on the widget platform -- Windows Vista, iGoogle, etc. -- inside a user data store. Preferences can be structured as drop down lists, sliders, numbers, text, and much more depending on the data you would like to capture.

    Retrieve dynamic data

    Dynamic widgets receive regular data updates from a remote source and process the results. You will likely customize the data retrieved based on the user preferences defined above and create a targeted experience for each user. Data updates are often cached and processed by each widget platform to save development time and increase your widget's performance. The data formats below can be cached and processed by the parent widget platform to produce fast response times and allow same domain access to your data.

    Web feed
    RSS 2.0 or Atom Syndication Format 1.0. Your site might already produce these syndicated feeds popular for distributing the latest news headlines from your site to specialized feed readers. Widget platforms typically store a subset of all available feed elements (e.g. title, content, link, and author) which may or may not meet your needs.
    JSON
    JavaScript Object Notation, a lightweight data interchange format. JSON offers fast processing and manipulation of custom data. Your website may already produce JSON output to power asynchronous JavaScript requests that can be extended into your widgets. Most widget platforms will convert your JSON objects into their appropriate number, text, or list types for easy manipulation by your widget.
    XML
    XML is a popular data interchange format for custom-defined data sent between computers and their programs. XML snippets power Ajax (Asynchronous JavaScript and XML) functionality on many websites and can also provide your widgets with dynamic data updates.
    Plain text
    Plain text is the most lightweight data format and is swallowed whole by widget platforms. Plain text is a good data choice for small pieces of content (i.e. current temperature is 65) or complete HTML snippets you would like to insert directly into your widget. You could also process a list of comma-separated values or other forms of structured data as a plain text data source.

    Creating dynamic data in an appropriate syndication format is often the first step widget publishers need to take before kicking off a broader widget program. You will need to expose your data in a syndicated format before distributing your widget.

    Draw your widget

    You have defined your blank widget, collected preferences and customizations from the user, and retrieved your widget's dynamic data. You now need to place your processed data into the locations you defined in your initial view.

    Your widget code should construct the appropriate HTML or Flash markup describing your updated data. In the weather widget described above we need to update the temperature field with the current temperature and display a picture corresponding to current weather conditions if available. We have already assigned an identifier to our widget's temperature and weather condition areas, and update these elements with our latest data.

    Final Apple Dashboard weather widget

    Pictured above is an example of a final widget view. The current weather in San Francisco is 58 degrees and cloudy.

    The term "San Francisco" is a verified location based on the user's defined preferences (you were able to interpret the input and map it to a unique identifier compatible with your data provider). Our weather API returned two pieces of data: a condition of cloudy and temperature of 58. We displayed a pre-defined picture of the cloudy weather condition inside our widget's condition area and updated the temperature text to 58.

    Summary

    Every widget platform has a similar method of widget construction and processing. Available features, caching, proxies, and widget helpers vary by platform but the basic approach and mentality remains the same. You are creating a tiny application on the Web, mobile, or desktop that may respond to its environment and collect live updates from the Internet.

    A provided a simplified view of a very broad development area. I'll dive a bit deeper into each platform type and the capabilities of major widget platforms in future blog posts. This post expands on my opening slide from my recent 8-minute "high order bit" presentation at the Web 2.0 Summit.

  8. Oct26

    Microsoft opens widget marketplace for Vista and Windows Live

    Windows Live Gallery Marketplace

    Microsoft opened a new online marketplace last night to sell a new class of desktop and web applications directly to consumers. The new version of Windows Live Gallery extends the existing Windows Live Gold partnership program with premium content listings, partner storefronts, and the ability to charge Microsoft's users for each new widget. Microsoft's widget marketplace uses the same Microsoft Points currency system as Xbox Live Marketplace and Zune Marketplace. The new gallery site also includes the ability to rate reviews ("4 out of 5 people found this review helpful") and widget developers featured on the front page of the site.

    Customers can buy a new widget and customize before making a final purchase. A music company might license songs bloggers can include in their Windows Live Spaces page, or The Wall Street Journal might sell a premium content widget for Vista Sidebar users. Publishers can set their own price and tap into Microsoft's existing payment processing and currency-independent marketplace used by millions of people around the world.

    The Windows Live Gallery Marketplace is the latest attempt by Microsoft to monetize small transactions on its platform. Xbox Live has been extremely popular source of tiny games such as Tetris or Zuma, helping the company reach new audiences of game players and developers alike. The new Gallery Marketplace opens up Microsoft's platform as a paid distribution endpoint for content from around the web, which should shake things up a bit as new platforms consider new ways to help their developers monetize applications and content.

  9. Oct06

    Google releases stand-alone desktop widget engine

    iGoogle Desktop widgets

    Google Desktop widgets can now be embedded in your iGoogle personal start page. This new functionality adds OS-level functionality such as CPU utilization, currently playing tracks in iTunes, or a battery indicator inside a Web interface. Google Desktop 5.5 is now available in a widget-only version for Windows 2000, XP, and Vista to bridge the desktop and Web worlds.

    The decoupling of Google Desktop Sidebar puts its desktop widget platform in direct competition with Windows Vista Sidebar and Konfabulator. Google can use its widget platform as a beachhead onto the desktop and later encourage its users to enable more Google Desktop features such as search and personalization.

    (Disclosure: Google is a sponsor of my upcoming widget conference, Widget Summit.)

  10. Oct05

    Widget Summit schedule complete

    The Widget Summit schedule is now complete, and I am pretty happy with the results. My goal for the conference is to provide two days of intensive education about the current state of the widget industry and share best practices with the many new publishers entering the space. This year's conference spans two days, October 15-16, covering both the business and implementation of widgets. I will share some of my speaker notes before the conference, but first let's take a look at some of the overarching themes of Widget Summit.

    I've invited the key people behind the platforms to share their first-hand expert knowledge and answer detailed question. You'll hear from the creator of the Facebook Platform, Dave Fetterman, instead of a vision talk or summary from Mark Zuckerberg. I'm sure Mark might sell more tickets, but you can read the history of Facebook in your favorite business press.

    Mobile

    We'll have the heads of third party widget development for both Nokia S60 and Apple iPhone on stage talking about new ways developers can create rich applications for smartphones. Yes, Apple does have a small team dedicated to independent software developers on the iPhone.

    We'll also have University of Maryland professor Ben Bederson sharing his many years of experience designing for mobile displays and interfaces.

    Monetization

    Publishers are pretty familiar with measurement and monetization of traffic on their own websites, but widgets are still a source of confusion. Traditional web measurement tools such as Google Analytics have extended their reach into widgets. We've also seen new widget-specific entrants such as Clearspring and Gigya wrap widgets in a proprietary container for new forms of measurement. All three companies will present during the Widget Measurement panel at Widget Summit.

    Once you have measured your widget audience, how do you monetize? Traditional advertising solutions such as DoubleClick have extended their reach to power in-widget advertising. VP of Rich Media Ari Paparo will share the latest ways big companies are experimenting with widget advertising. We will also have some of the largest widget-specific advertising networks on stage, virtual currency site Peanut Labs and widget promotion network RockYou. The Widget Advertising panel will present widgets as a new revenue source for content syndication.

    Implementation

    It's not enough to simply talk about building a Facebook application or a Dashboard widget. Publishers want to know how much work is involved, the skills needed to create widget content for each platform, and the features necessary to make sure their investment in time and money is ultimately successful. We'll have sessions at Widget Summit that walk you through the steps needed to create an application on Facebook, a sidebar widget for Windows Vista, or a JavaScript widget for blog sidebars.

    If a widget book existed it would likely be out of date at the time of printing. The best way to learn about the latest technologies and implementations is to directly engage the creators of the widget platform and the people creating new widget content every day. They will help you avoid common mistakes, expose a few short cuts, and make sure you don't make some of the most common mistakes.

    Summary

    Widget Summit is just over a week away and should provide an in-depth education for anyone considering a widget strategy or deeper syndication involvement. The schedule is now complete, with some of the best available speakers in their subject areas sharing their expert knowledge on stage. Each speaker is directly involved in widgets at his or her company, and uniquely positioned to answer in-depth questions either on-stage or in the audience.

    Tickets are still available if you would like to join us for two days of widget education and networking.

Niall Kennedy Niall Kennedy is a web technologist in San Francisco, California in the United States. I am very interested in the world of... MORE »

Search this weblog:

Subscribe:

Recently Popular

Archives: Popular Categories

Sites: More from Niall