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


peter hunsberger
It was persistent while you were working on it. Then you disposed of it.
If you don't like the word "persistent", then come up with a different term. Perhaps "active"? Whatever...

Your XML won't care, but both you and your application probably should because the data model impacts performance and efficiency. Our core question here is focused on proper modeling of the XML structures -- whether they should be normalized or not.

If the XML is transient, then it probably ought to be normalized, because it offers the best optimization for transformation.

If the XML is persistent, then application requirements ought to dictate the need for normalization. If the XML will be operated on by only one application, then the structure probably ought to be optimized for that specific application. If the XML will be operated on by more than one application, then the structure probably ought to be normalized.

Anne

On 10/4/05, Peter Hunsberger <peter.hunsberger@g...> wrote:
On 10/4/05, Anne Thomas Manes <atmanes@g...> wrote:
> Perhaps "storage" is the wrong word, because it implies persistence to some
> type of data store, but the basic concept is valid. Either the XML is
> persistent or it is transient. If the XML is persistent, then the
> application works directly on the XML. If the XML is transient, then the XML
> is transformed into some other format (language objects, relational
> database, etc.) that the application works with.

I had a chunk of XML I was working with hanging around for the last 24
hours or so.  It's gone now.  Was it persistent or transient?

Where's the dividing line and why would I (or my XML) care?

--
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.