[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Better design: "flatter is better" or "nesting is better" ?

  • To: <xml-dev@l...>
  • Subject: Better design: "flatter is better" or "nesting is better" ?
  • From: "Ken North" <kennorth@s...>
  • Date: Wed, 5 Oct 2005 21:33:50 -0700

anne prince design
Anne Thomas Manes wrote:
>> Either the XML is persistent or it is transient. If the XML is persistent,
then the application works directly on the XML. If the XML is transient, then
the  XML is transformed into some other format (language objects, relational
database, etc.) that the application works with.

There are hybrid situations when the XML is persistent in its native format and
it's also mapped to columns in databases.

Disk space is cheap these days so it doesn't cost much to do both of these:

1. Shred (decompose) a document. Map it into tables and index accordingly to
provide performance or support rich queries (e.g., geospatial data, maps,
images, time series, audio).

2. Store the original document in a column. Even when your primary queries
execute over tables created by decomposing a document, you may need to retrieve
the original document from time to time (e.g., resolve a billing dispute using
an audit trail of an e-business document exchange).

Developers have been using CLOB, VARCHAR and other SQL column types for storing
complete documents. The SQL:2003 standard added a new column type for XML, which
Oracle and Microsoft have implemented.

======== Ken North ===========
www.WebServicesSummit.com
www.SQLSummit.com
www.GridSummit.com



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.