Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Peter Hunsberger <peter.hunsberger@-----.--->
To: "Costello, Roger L." <costello@-----.--->
Date: 10/5/2005 3:38:00 PM
On 10/5/05, Costello, Roger L. <costello@m...> wrote:
> Hi Folks,
>
> [Thanks Len, you beat me to the mark.]
>
> Peter, you make a good point, an XML document that is purely transient or
> purely persistent is likely the exception; the common cases are XML
> documents that are a mix of transience and persistence.
>
> However, what I was trying to do was to explore the "space" of possibilities
> for XML usage.  To put it into semi-mathematical terms, I want to define the
> "axes/dimensions" of XML usage.
>
> To summarize everyone's comments it appears that there are three
> "dimensions" to the usage of XML:
>
> 1. Persistent XML: the XML document is persistent.  Applications operate
> directly on the XML document.
>
> 2. Transient XML: upon arrival at its destination the data may be
> transformed into some other format (language objects, relational database,
> etc) that applications work with.
>
> 3. Application XML: the XML document is the application.
> Question:

Umm, isn't that only two dimensions?  Aren't persistent and transient
just points on a single temporal axis? (Which brings me back to my
question of when does a document change from being persistent to
transient or vice versa?)  I think at best you can have a single axis
that measure the length of time for which the document exists.  Still
not sure that this helps any, but lets continue...
>
> Does the usage (role) of an XML document influence its design?
>
> For example, are transient XML documents typically flat, whereas persistent
> XML documents typically nested?
>
> Peter, I am still struggling how to put into the above "space" your ideas on
> XML-and-UI.  Your assertion is that the usage of XML is not a 3-dimensional
> space, but a 4-dimensional space?

It is?

> Can you characterize the fourth
> dimension?

Hmm, I'm not sure I'd really try to confine XML design patterns (least
of all usage) to any N dimensions.  But continuing to play along, from
this discussion we could have axis of:

1) Document duration;

2) Degree of human involvement;

3) Degree of automated manipulation;

You have to separate the last two measures since they aren't mutually
exclusive, but to the extent you can determine you have more human
involvement with the XML then I'd suggest the more likely you want
some highly structured data format.  If it's all automated
manipulation then denormalize as appropriate for the given application
domain.

Having made those decisions, we might get some rules on the type of
persistence mechanisms to use depending on the first measure, but I
can't really see anything other than a trivial influence on the XML
data model. I'd assert the other two measures are going to dominate
the design decisions.

--
Peter Hunsberger


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