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

RE: Better design: "flatter is better" or "nesting is bette


schema design and nesting
One may not know the source.  One may not know the target.   Or one may be in a
contractual situation (aka, the meta-environment constraints) that dictate that the
system only sends or receives in the context of the 'schema current on delivery
of system'.  That proves to be just a negotiation ploy though, since in principle
and in fact, it is very easy to add fields to relational system (the dominant ones
today) **as long as there are no semantic implications** (aka, running code).
 
The contract language serves to retard attempts to push the schema to
extremes that result in massive redesign and redeployment.  The closer one
gets to 'COTS' and the further one gets from "demos, prototypes and one
offs", the more one wants to be conservative.   It isn't to be a Luddite, but
to ensure that the system will actually get deployed with running, certified
and well-understood components.
 
It is generally true that flatter is better, IMO, and that when designing for large or
general markets, stay close to existing widely deployed technologies if you want
to get the standard deployed in real world systems within the buy cycle for that
market.  This is simple state transition common sense: if the next state is
dependent on the last state with absolute known probabilities (first order
markov), you can predict the future and know the past with certainty. 
Unfortunately, one seldom finds systems of that type in a dynamic environment.
Past one or two transitions, and it all becomes prophecy or intention.
 
Beggaring implementation technologies through schema design is a bad idea. 
That is too often the result of future-proofing.
 
len

From: Chiusano Joseph [mailto:chiusano_joseph@b...]
</Quote>
Part 2: Design your XML to be flat, with direct mappings from XML to (relational) database tables.
</Quote>
 
Sometimes one is also using XML without any notion of a specific database type or database design - for example, for a data exchange in which XML is used as an intermediary exchange format to bridge between XML vocabularies. In such cases, all one knows is the "source" vocabulary and the "target" vocabulary, not any storage mechanism on either end. So in that case, it's a choice involving other factors (such as design preference).
 

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.