XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] The illusion of simplicity and low cost in data designand computing



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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS