Technology Industry
Industry: Email Alert RSS FeedXML: The Web Is Just the Beginning - Technology Information
ENT, August 18, 1999 by David Chappell
How many different ways are there to represent stored data today? Off the top of my head, I can think of a whole bunch: relational tables, ISAM and VSAM files, ordinary flat files containing plain ASCII text and many more. Add to this the multiplicity of ways that data is represented when it's transferred between systems - such as HTML and the binary formats used to define packets for various protocols - and you have the root cause of many sleepless nights for applications integrators.
Most RecentTechnology Articles
All of these different ways of representing data were created to meet specific requirements, requirements that were usually driven by the need to make intelligent use of CPU cycles, disk space or network bandwidth. But does this need still exist? The answer is yes, at least in some circumstances. But in a world awash in cheap MIPS, gigabytes of storage and multimegabit networks, it has become much harder to justify the diverse data formats that exist today. And the hardware restrictions that motivated efficient but idiosyncratic data formats are rapidly eroding. Having one common way to describe all kinds of data, whether it's stored in a database, sent across a network or used in some other way, would be a step forward.
We're almost there. XML, the universal mechanism for describing data, has arrived. The first clear proof of this is in Web browsers, where XML support has become a critical feature. But I think people place too much emphasis on XML's use on the Web. It's true that data described using XML will make up a larger and larger percentage of the bytes transferred between Web servers and browsers. It's also true that bytes moved across the Web comprise an ever-larger proportion of data transfer in general. Yet innovative use of XML in data storage is every bit as important.
Consider, for example, the XML support in Oracle 8i's Internet File System (iFS). iFS essentially provides a file system on top of a database. Clients can view an Oracle 8i database as a file server, with data appearing as ordinary folders and files on a Windows desktop. Since XML documents are ordinary text, iFS can store and retrieve them like any other file. But iFS can also read an XML Document Type Definition (DTD) that defines what tags are allowed in a specific class of documents. iFS can then automatically convert XML documents into relational records stored in an Oracle database.
How the various kinds of information in a document are stored in tables is controlled by user-defined mapping between the XML DTD and the relational database. For example, an XML-defined order might include tags such as [LESS THAN]customer[GREATER THAN], [LESS THAN]item[GREATER THAN] and [LESS THAN]price[GREATER THAN]. Oracle's iFS could use these tags to copy the data in each order into a single record in a table, with the various values in the order - customer name, item, price and so on - stored in individual fields in that record. Alternatively, the text for several tags might be stored in a single field, or the entire order stored in its XML form as a single item in the database. However it's stored, the information can now be accessed using ordinary SQL queries. When a user retrieves one or more of these orders via iFS, the result will automatically be converted into its XML form for processing by other software.
Depending on how it's accessed, the same information can be viewed as relational data or as an XML document. XML as a lingua franca for information storage and exchange is a powerful idea, and technologies like this one lead the way.
We are approaching a day when a majority of new data formats, whatever their use, will be defined using XML. Whether the problem is to define the layout of information in a database, specify header formats for a new protocol or represent information exchanged between applications, some XML schema will be used to describe the data's format.
The next time you find yourself defining a new format for storing or transferring information, I encourage you to begin by asking yourself a simple question: can I use XML for this? More often than you may think, the answer will be yes. And choosing this soon-to-be-ubiquitous standard whenever possible puts you on the road to the right future. -David Chappell is principal of Chappell & Associates (Minneapolis), an education and consulting firm. Contact him at david@chappell-assoc.com.
CXO UnpluggedSmart Business interviews on BNET
Brought to you by CBS MoneyWatch.com
- Best- and Worst-Paid College Degrees
- 6 Things You Should Never Do on Twitter or Facebook
- How Much Sleep Do You Really Need?
- 6 Big Myths about Gas Mileage
- 5 Rules for Immediate Annuities
- Death in the Family: 12 Things to Do Now
- Dumbest Things You Do With Your Money
- 6 Online Networking Mistakes to Avoid
- 401(k) Mistakes to Avoid
- 5 Economic Scenarios to Keep You Up at Night
- The Real ‘Best Places to Retire’
- Best Credit Cards for You
- 12 Tough Questions to Ask Your Parents
- The Real ‘Best Colleges’
- Home Buyer Tax Credit: How to Cash In
- Why You Shouldn't Bash Cash
- 8 Phony 'Bargains' and Better Alternatives
- Danger: 3 Debit Card Scams to Avoid
- 6 Myths About Gas Mileage
- 29 Fees We Hate Most
- Quick and Easy Ways to Boost Returns
- Best Stocks to Buy Now
- Lower Your Taxes: 10 Moves to Make Now
- New Jobs: 8 Lessons from Real-Life Career Switchers
- The New Job Market: Who Wins and Who Loses?
- Health Care Reform's Public Option: Everything You Need to Know
- Volunteer Work When Unemployed: Should You Work for Free?
- Whose Recovery Is This?
- Long-Term-Care Insurance: 4 Biggest Risks to Avoid
Content provided in partnership with
Most Recent Technology Articles
Most Recent Technology Publications
Most Popular Technology Articles
- BizRate to monitor in-store customer satisfaction for Office Depot stores - Market Intelligence
- Speed control of separately excited DC motor
- Building cost comparison between conventional and formwork system: a case study of four-storey school buildings in Malaysia
- Political stability and economic growth in Asia
- Failed businesses in Japan: a study of how different companies have failed, and tips on how to succeed, in the Japanese market




