Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesSigns to Cairo


November 1995 / Special Report / OO Meets OS / Signs to Cairo

Cairo, Microsoft's object-oriented successor to Windows NT, will begin beta testing in early 1996 for release in 1997. Although Microsoft is not revealing the full details of Cairo yet, there are enough clues within current Microsoft OSes to yield a good idea of how it might work.

The OLE 2.0 embedding model that integrates the components of Microsoft Office already contains the seeds of a future object-oriented file store in its structured-storage technology. Word DOC files, Excel XLS files, and PowerPoint MPP files share a common internal docfile format. The screen "Is There a Docfile in the House? " shows the internal structure of a Word document that's embedded in a PowerPoint presentation. The internal stream struct ure of the combined file has taken on a tree structure, just like a disk directory, reflecting the embedding of its components.

If you open the document in PowerPoint and double-click on the embedded Word document, PowerPoint finds out what application owns it from the Windows Registry. The OLE engine then negotiates between PowerPoint and Word, and PowerPoint's toolbar morphs into Word's formatting toolbar so you can edit the Word document.

Now peek into the future. The top level will no longer be a separate application such as PowerPoint, but the Cairo desktop itself. The streams comprising the compound document will no longer be inside a DOS file allocation table (FAT) file system. Cairo's Object File System (OFS) makes the whole hard disk a single huge docfile that exposes its internal objects to the user.

The groundwork for a distributed object store is present, too, in the shape of Microsoft Exchange Server (MXS) and the OLE-automatable Jet 3 database engine. If yo u drop any structured-storage object (e.g., a Word file) into an Exchange folder, any custom properties you've defined become available as values to sort on or filter by. MSX is based on the ISO X.400 message transport and X.500 directory services, which, combined with Cairo's OFS, should be able to locate remote objects across a network. By the time Cairo is released, MXS might be absorbed into the OS.

In short, the migration from Windows to Cairo could be less drastic than expected, given that all your Office data files are already in a structured format that Cairo will understand. The much greater challenge for Microsoft is how to decompose monolithic applications such as Excel into collections of discrete lightweight objects. The OLE automation interface already requires that applications make some of their internal organs visible as objects, but that is not at all the same as delivering them as separate pieces. It could turn out that Microsoft will encounter stiff competition from Visual Basic cust om control/OLE custom control (VBX/OCX) vendors such as Sheridan and MicroHelp, who have a head start because their products are already in bits.


Is There a Docfile in the House?

screen_link (32 Kbytes)

The structured storage of Microsoft's docfile format represents a collection of objects just waiting to be set free. Word, Excel, and PowerPoint files all have the same internal structure, so embedding one in the other is easy.


Name's No Longer the Thing

screen_link (23 Kbytes)

Custom properties in the main Office applications point the way to an object-retrieval system in which filenames cease to be of importance.


Up to the Special Report section contentsGo to previous article: Object BabelGo to next article: And One for AllSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network