Click to Rate and Give Feedback
Also by this Author

Paul DiLascia

MSDN Magazine January 2006

...

Read more!

Many of you are no doubt in the process of upgrading to Visual Studio® 2005, so I thought now would be a good time to relate some of my own experiences with the new compiler. What took me so long? Hey, I'm a retro kind of guy! Better late than never!.

Paul DiLascia

MSDN Magazine June 2006

...

Read more!

Paul DiLascia

MSDN Magazine December 2005

...

Read more!

Paul DiLascia

MSDN Magazine August 2005

...

Read more!

Paul DiLascia

MSDN Magazine November 2005

...

Read more!

Popular Articles

Here we present techniques for programmatic and declarative data binding and display with Windows Presentation Foundation.

Josh Smith

MSDN Magazine July 2008

...

Read more!

We introduce you to the benefits of building composite applications with the Composite Application Guidance for WPF from Microsoft patterns & practices.

Glenn Block

MSDN Magazine September 2008

...

Read more!

C# allows developers to embed XML comments into their source files-a useful facility, especially when more than one programmer is working on the same code. The C# parser can expand these XML tags to provide additional information and export them to an external document for further processing. This article shows how to use XML comments and explains the relevant tags. The author demonstrates how to set up your project to export your XML comments into convenient documentation for the benefit of other developers. He also shows how to use comments ...

Read more!

One-time passwords offer solutions to dictionary attacks, phishing, interception, and lots of other security breaches. Here's how it all works.

Dan Griffin

MSDN Magazine May 2008

...

Read more!

Chris Tavares explains how the ASP.NET MVC Framework's Model View Controller pattern helps you build flexible, easily tested Web applications.

Chris Tavares

MSDN Magazine March 2008

...

Read more!

This article may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. To maintain the flow of the article, we've left these URLs in the text, but disabled the links.
MIND
Flux
Operate Your Home Appliances from the Web
Paul DiLascia
I
n the movie The Graduate, Dustin Hoffman�s would-be father-in-law offered one word of advice for total financial bliss: plastics. If you�re looking for the next new new new Internet thing, want to surf the latest Web technology wave, or start a dot-com and become a multimillionaire without getting hitched on TV, then I have one word for you: appliances.
      It may be too late already. A little-known Italian company called Ariston is now selling the first Web-wired washing machine, Margherita 2000. In case you�re wondering why you�d want to operate your washer via the Web, ponder this scenario, excerpted verbatim from Margherita2000.com:
I am in office. A new non-scheduled commitment: tomorrow morning I will go to Paris. Luckily I have already put into the washing machine my two favourites cashmere sweaters. If I start margherita right now, when tonight I go back home, I�ll be able to hang them out and for tomorrow morning they will be ready. I connect with www.margherita2000.com, select the cashmere program, spin at 400 rpm, 30� and anti-wrinkles function.

      Aside from the need for a better translation, there is a minor flaw in the Margherita conceptâ€"one that astute readers have no doubt already perceived. If you can remember to put your sweaters in the washer before going to work, why would you need the Web?
      In case you think I chose the weakest example to pick on, here�s scenario number two:

While I was in office, my son come back home from a school trip. He travelled for five days in Italy, he kissed five girls, five kilos of T-shirts and pants put into the washing machine. I select the washing program on margherita2000.com: cotton, 60�, spin at 1000 rpm, anti-stain function.

      Again, I ask: if the son can load the machine, why can�t he press the Start button? Has he become so befuddled from kissing five girls that he can�t operate the machine effectively?
      You laugh, but the folks at Ariston take their appliances seriously. As their site proclaims, "The worlds of domestic appliances and information & communications technology are finally converging...." (Inquiring minds may reasonably wonder: on what? And why finally?) These words portend a future where toasters, ovens, blenders, cappuccino makers, Jacuzzisâ€"and possibly even sex toysâ€"will all be wired, remotely operable from your handheld computer or cell phone. Programmers will compete to code the perfect spin cycle or play Santana melodies on touch-tone buttons. Third-party vendors will build ActiveX® controls that speak Appliance Control Language. Microsoft® will launch Windows® AS (Appliance Server), and MSDN™ Magazine will run its first Appliance Q&A column.
      It could happen. Where there�s a way, there�s a will.
      But wacky washers aside, it�s fair to wonder: is there no place for appliances on the Web? It depends. What�s an appliance? If you include any electronic measuring or control device, the possibilities are endless: gas pumps, ATMs, industrial robots, meters of all sortsâ€"even the Hubble space telescope. If these devices had Web servers built in, gas station owners could probe their pumps, banks could analyze ATMs (which they do now, using proprietary means), utilities could interrogate meters, and ordinary citizens could get time on Hubble. And yes, Maytag could call before your washer breaks, just like on TV.
      Many of these appliances already provide remote access using proprietary means. If they used the Web, reach would extend to any browser. The Web would become the main bus of a giant global computer with millions of devices. Want to know how many Crunch bars are in your vending machine? All you need is a Web server on a chip. Even as we speak, the Redmondtonians are dreaming of a Web server on Windows CE embedded in every gizmo under the sun. People may wonder: why use Windows for a device with no mouse, keyboard, or monitor? But heyâ€"if it works, why not?
      So take your pick: TCP toasters or GUI gas pumps. Whichever vision floats your boat, it spells big bucks for software.
      Of course, there is a dark side. Unscrupulous marketeers will drop cookies in your washer that report usage and cleanliness habits so they can deliver more Tide as your supply runs out; hackers will hijack the world�s laundry, turning undies pink, and reroute Monica Lewinsky�s AgitatorCam to Times Square; Milosevic will seize factories, causing Chrysler and Ford to make Yugos; Saddam Hussein will put diesel in cars that take ethanol; ATMs will dispense free cash; your neighbor will steal your electricity; and Hubble will aim at the White House bedroom. But look at it this way: life will be more exciting!

Paul DiLascia is the author of Windows++: Writing Reusable Windows Code in C++ (Addison-Wesley, 1992) and a freelance consultant and writer-at-large. He can be reached at askpd@pobox.com or http://www.dilascia.com.

From the May 2000 issue of MSDN Magazine.


Page view tracker