[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 3 XML Design Principles

  • To: "'XML Developers List'" <xml-dev@l...>
  • Subject: Re: 3 XML Design Principles
  • From: Norman Walsh <ndw@n...>
  • Date: Thu, 03 Feb 2005 15:21:18 -0500
  • In-reply-to: <200501291720.j0THK3517843@s...>
  • References: <200501291720.j0THK3517843@s...>
  • User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

ndw design
/ "Roger L. Costello" <costello@m...> was heard to say:
[...]
| XML Design Principle #3
|
| Minimize the amount of nesting you use.
|
| Nested data is tightly coupled and uses implicit relationships, both of
| which are bad.
|
| Flat data is good data!
|
| Flat data is loosely coupled and promotes the use of explicit relationships,
| both of which are good.
|
| Comments?  /Roger

Off the top of my head?

All generalizations are dangerous, even this one.
                            --Alexandre Dumas

Simplification good!  Oversimplification bad!
                            --Larry Wall

With sufficient markup, the important relationships in your data can
be perserved across transformations. Need to write an application that
can move a 100 pickers around in 1000 lots? Tease the lots and the
pickers apart, using pointers to preserve their locations, and shuffle
at will. Need to produce a table showing all the lots and which
pickers are in them? Shuffle it all together into a tabular structure.
I don't think any of your suggestions qualify as design rules
in the general case.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@n...> | A man may by custom fortify himself
http://nwalsh.com/            | against pain, shame, and suchlike
                              | accidents; but as to death, we can
                              | experience it but once, and are all
                              | apprentices when we come to it.--
                              | Montaigne

PGP signature


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.