|
[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...>, <xml-dev@l...>
- Subject: RE: Better design: "flatter is better" or "nesting is better" ?
- From: "Chiusano Joseph" <chiusano_joseph@b...>
- Date: Mon, 3 Oct 2005 17:38:12 -0400
- Thread-index: AcXIKqrKd/rATYPRTk60rn8/kqfQDQANGXgWAAC4LsA=
- Thread-topic: Better design: "flatter is better" or "nesting is better" ?
Title: Re: Better design: "flatter is better" or "nesting is better" ?
<Quote>
4. Joe: you make an interesting point
about XML documents that are transformed into another XML vocabulary.
Would such documents fall under the second category (XML as a transport
format)?
</Quote>
Yes, but
only if the definition of transport format were slightly updated to reflect the
fact that it is not *required* that an XML document be stored. I would recommend
changing the (2) role description as follows:
<From>
Upon arrival at its destination the data is moved into
a storage medium
</From>
<To>
Upon arrival at its destination the data may be
moved into a storage medium
</To>
Joe
Joseph Chiusano
Booz Allen Hamilton
700 13th St. NW
Washington, DC 20005
O: 202-508-6514 <= new office number as of 09/19/05
C: 202-251-0731
Visit us online@ http://www.boozallen.com/
Hi Folks,
Excellent discussion!
A lot of important issues have been raised.
I would like to focus on one issue, and then come back to the other
issues.
The issue is this: what are the roles of an XML
document?
As I have been doing with my previous
messages, I will make a hypothesis and then invite your critique.
Hypothesis: The Role of an XML Document is either as a Storage Medium
or as a Transport Format
An XML document may take one of these
roles:
(1) The XML document is a storage
medium. Applications operate directly on the XML document.
(2) The XML document is a (transient) transport
format. Upon arrival at its destination the data is moved into a storage
medium (such as a relational database). Applications do not operate on
the XML document. Applications operate on the data in the storage
medium.
Questions:
1. I believe that these two roles represent
the two ends of the spectrum for all possible uses of XML. (Of course,
mixed forms are possible) Is there another role that is not
captured? (i.e., a third dimension?)
2. Peter: I think that XML documents containing presentation-specific
data falls under the first category (XML as a storage medium). Do you
agree?
3. Doug: you make an interesting point about not knowing who will be the
consumer of an XML document. I suppose in those cases the XML designer
simply makes a best-guess on the role of the XML document. What do you
think?
4. Joe: you make an interesting point about XML documents that are
transformed into another XML vocabulary. Would such documents fall under
the second category (XML as a transport format)?
5. Ken: you mentioned the case of XML being stuffed into a relational
database as a whole document (i.e., not shredded into tables), and
applications operating directly on the XML documents in the database.
How does this fit into the above categories, or does it?
Comments?
/Roger

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
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.
|
|