Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] Better design: "flatter is better" or "nesting is

From: "Rick Jelliffe" <rjelliffe@-------.---.-->
To: "XML Developers List" <xml-dev@-----.---.--->
Date: 10/2/2005 4:43:00 AM
Hi all: I am back on deck as of next week and well.


Costello, Roger L. said:

> Hypothesis - How to Design XML Documents
>
> I am supremely compelled by the argument that the future is much too
> uncertain to bother attempting to anticipate or design for.  Thus I put
> this down as the first part of this hypothesis:
>
>     Part 1: Design your XML documents so that they are well-suited for
> processing by your applications *today*.
>
> In other words, how your data is going to be processed tells you how to
> design your XML.
>
> A large percentage (majority?) of applications today operate on the
> data only after it is placed into a (relational) database.  A smaller
> percentage (minority?) of applications operate directly on the data in
> an XML document.  So, as an 80-20 rule I make the second part of this
> hypothesis:
>
>     Part 2: Design your XML to be flat, with direct mappings from XML
> to (relational) database tables.
>
> I am also supremely compelled by the argument to keep the markup (tags)
> to a minimum.  So here's the third part of this hypothesis:
>
>     Part 3: Eliminate nonessential markup (tags).  Only use tags that
> are actually used by your applications *today*.
>
> To recap - when designing XML:
>                          - be practical;
>                          - be simple;
>                          - don't use unnecessary tags;
>                          - design your XML to work well with your
> applications *today*;
>                          - most likely, "flatter is better".
>
> Comments?  /Roger


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent