[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 better"

  • To: "Costello, Roger L." <costello@m...>
  • Subject: Re: Better design: "flatter is better" or "nesting is better" ?
  • From: Peter Hunsberger <peter.hunsberger@g...>
  • Date: Wed, 5 Oct 2005 10:38:02 -0500
  • Cc: xml-dev@l...
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZDM6Qc182DJ0iQNOVshYagYfOIErDOrJv6M9/NSdG5bI02rA/7jvyqnFz1w60XyCXOFaYKdiCXo7gKC2dCgj0EJzFW+gRO/a34UKWI8qy1YxDEkUqfIgJfNI3mamZ9ANqwMsJjqowAyjkWwQez1Q6qb1klaVIVQJrEwOr4fEGME=
  • In-reply-to: <827BC324B431954A855DC4E39E71B0287B332E@I...>
  • References: <827BC324B431954A855DC4E39E71B0287B332E@I...>
  • Reply-to: Peter Hunsberger <peter.hunsberger@g...>

transient xml
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

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.