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

Re: The illusion of simplicity and low cost in data designand

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: xml-dev <xml-dev@lists.xml.org>
  • Date: Sun, 14 Aug 2022 15:37:07 +1000

Re:  The illusion of simplicity and low cost in data designand


On Sat, 13 Aug 2022, 8:26 am Tim Bray, <tbray@textuality.com> wrote:
I'm glad someone mentioned the old days of Mac OS, when files had a "resource fork" and a "data fork", the former containing anything you might want to know about the bits in the latter. In practice, most people said it was painful and awkward, but I never went to the mat with it myself so can't relay the details.

Having said that, all the data you get over HTTP comes with a Content-type, a reasonably-well-structured but very brief assertion of how the byte payload is meant to be interpreted. This, in practice, seems to work pretty well.  Suppose that back in the day, the resource fork had just had the equivalent of Content-type?

It is a shame Apple's Bento file format never took off. It combined the resource/data fork idea with an appendable archive. 

I don't see any new contender: ZIP is still ascendant, Open Packaging Conventions have a too-complex simplest-case, and the package manager world is utterly siloed for each computer language.

So until then, pragmatics have to rule over elegant Separation of Concerns. 

... On the other hand, it may be that where some existing successful technology clearly violates theoretical elegance and SOC, that theory may be wrong-headed or incomplete: it is a truth universally acknowledged that all systems that do work should not work.  So perhaps the idea that the best place for the metadata of a file is IN the file (e.g.  as magic number, as XML header, etc) not WITH the file, is not hacky but the most unified and best approach?   (Just as the metadata for a MIME header is with the data, not a separate stream.)

Regards
Rick




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