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

Re: The markup minimalist

  • From: "Simon St.Laurent" <simonstl@simonstl.com>
  • To: xml-dev@lists.xml.org
  • Date: Sun, 02 Nov 2014 08:19:34 -0500

Re:  The markup minimalist
On 11/01/2014 06:19 PM, Damian Morris wrote:
I disagree with most blanket rules, but this one especially. Anyone
who’s tried to reconstruct any more than the most simple data model out
of an Apple .plist format - a classic “flat” XML format - will no doubt
agree (or else will surely agree to being an XPath and XSLT junkie!).
I don't think Roger's rules - or anything like them - brought us the plist format.

My (vague not properly cited) understanding on the .plist format is that Apple neither knew much about markup nor cared, and didn't want to put the effort into actually creating formats of any kind. Plists are just a blank translation of a data structure they already had.

I suspect that Roger is assuming - and you make explicit - that the markup creator is _thinking_ about markup. Apple's .plist format seems to be an extreme case of using without thought.

Thanks,
Simon

This, I think, makes more sense:

*The Markup Minimalist Credo:*
*1. Use the minimal amount of markup necessary to effectively
communicate your data.*

Where the key words are

- “effectively” - don’t make more work for anyone, sender or receiver,
than you need to; and
- “communicate” - why make it easy for the sender but ridiculously hard
for the receiver? They’re both rather important parties in any
communication.

Perhaps it can be better summed up this way:

*The Markup Minimalist Credo:*
*1. Don’t blindly follow rules. Think about what you’re doing, and apply
some of your experience and intelligence.*

Cheers,

Damian






On 2 Nov 2014, at 12:32 am, Costello, Roger L. <costello@mitre.org
<mailto:costello@mitre.org>> wrote:

The Markup Minimalist Credo

1.Flatter is better. Add structure (markup) to XML only when
absolutely necessary.

2.Data exchange formats: make them flat.

3.When sending data to consumers, distribute the data in a flat format.

4.When consumers receive the flat XML they may add structure (markup)
to facilitate simpler and more efficient Schematron assertions and/or
simpler and more efficient application processing. Different consumers
will add different structure (markup), depending on their (local)
requirements.

Comments?

/Roger




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.