<?xml version="1.0"?>
<?xml-stylesheet href="/transform" type="text/xsl"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:bibo="http://purl.org/ontology/bibo/" xmlns:bs="http://purl.org/ontology/bibo/status/" xmlns:ci="https://vocab.methodandstructure.com/content-inventory#" xmlns:dct="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" lang="en" prefix="bibo: http://purl.org/ontology/bibo/ bs: http://purl.org/ontology/bibo/status/ ci: https://vocab.methodandstructure.com/content-inventory# dct: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# xhv: http://www.w3.org/1999/xhtml/vocab# xsd: http://www.w3.org/2001/XMLSchema#" vocab="http://www.w3.org/1999/xhtml/vocab#" xml:lang="en">
  <head>
    <title property="dct:title">Distinguishing Resources from Files</title>
    <base href="https://doriantaylor.com/policy/distinguishing-resources-from-files"/>
    <link href="../document-stats#EJZseyJVo6-ZVJ04qiugbI" rev="ci:document"/>
    <link href="../elsewhere" rel="alternate bookmark" title="Elsewhere"/>
    <link href="../this-site" rel="alternate index" title="This Site"/>
    <link href="http://purl.org/ontology/bibo/status/published" rel="bibo:status"/>
    <link href="" rel="ci:canonical" title="Distinguishing Resources from Files"/>
    <link href="../lexicon/#EzqXIsriaILFcWjXdS7FbI" rel="dct:audience" title="Software Developer"/>
    <link href="../person/dorian-taylor#me" rel="dct:creator" title="Dorian Taylor"/>
    <link href="the-uri-naming-conundrum" rel="dct:references next" title="The URI Naming Conundrum"/>
    <link href="uri-path-and-query-parameter-semantics" rel="dct:references prev" title="URI Path and Query Parameter Semantics"/>
    <link href="uris-resources-and-representations" rel="dct:references up" title="URIs, Resources and Representations"/>
    <link href="../lexicon/#EnewYu-MeZVXNc97q_-jAI" rel="dct:subject" title="Web Development"/>
    <link href="../person/dorian-taylor" rel="meta" title="Who I Am"/>
    <link about="../" href="../3f36c30c-6096-454a-8a22-c062100ae41f" rel="alternate" type="application/atom+xml"/>
    <link about="../" href="../f07f5044-01bc-472d-9079-9b07771b731c" rel="alternate" type="application/atom+xml"/>
    <link about="../" href="../this-site" rel="alternate"/>
    <link about="../" href="../elsewhere" rel="alternate"/>
    <link about="../" href="../e341ca62-0387-4cea-b69a-cdabc7656871" rel="alternate" type="application/atom+xml"/>
    <link about="../verso/" href="../3f36c30c-6096-454a-8a22-c062100ae41f" rel="alternate" type="application/atom+xml"/>
    <link about="../verso/" href="../this-site" rel="alternate"/>
    <link about="../verso/" href="../elsewhere" rel="alternate"/>
    <meta content="distinguishing-resources-from-files" datatype="xsd:token" property="ci:canonical-slug"/>
    <meta content="Web resources are much richer objects than files, and this fact is rarely taken full advantage of." name="description" property="dct:abstract"/>
    <meta content="2008-06-17T08:07:31+00:00" datatype="xsd:dateTime" property="dct:created"/>
    <meta content="distinguishing-resources-from-files" property="dct:identifier"/>
    <meta content="2008-06-17T17:08:35+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2008-07-18T18:59:52+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2008-07-18T19:23:41+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2008-08-23T08:27:28+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2008-09-01T04:29:32+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2008-10-09T02:02:01+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2009-03-04T00:43:00+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2022-05-31T04:18:52+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta content="2022-05-31T15:10:50+00:00" datatype="xsd:dateTime" property="dct:modified"/>
    <meta about="../person/dorian-taylor#me" content="Dorian Taylor" name="author" property="foaf:name"/>
    <meta content="summary" name="twitter:card"/>
    <meta content="@doriantaylor" name="twitter:site"/>
    <meta content="Distinguishing Resources from Files" name="twitter:title"/>
    <meta content="Web resources are much richer objects than files, and this fact is rarely taken full advantage of." name="twitter:description"/>
    <object>
      <nav>
        <ul>
          <li>
            <a href="the-uri-naming-conundrum" rev="dct:references" typeof="bibo:Report">
              <span property="dct:title">The URI Naming Conundrum</span>
            </a>
          </li>
          <li>
            <a href="uri-path-and-query-parameter-semantics" rev="dct:references" typeof="bibo:Article">
              <span property="dct:title">URI Path and Query Parameter Semantics</span>
            </a>
          </li>
          <li>
            <a href="uris-resources-and-representations" rev="dct:references" typeof="bibo:Report">
              <span property="dct:title">URIs, Resources and Representations</span>
            </a>
          </li>
          <li>
            <a href="../document-stats#EJZseyJVo6-ZVJ04qiugbI" rev="ci:document" typeof="qb:Observation">
              <span>urn:uuid:259b1ec8-9568-4ebe-8655-274e2a8ae81b</span>
            </a>
          </li>
        </ul>
      </nav>
    </object>
  </head>
  <body about="" id="E5om3xT1-sCDzojBSqk4eI" typeof="bibo:Report">
    <table class="figure" id="Eo2CfkQTOjUMBxaKQ86zbJ">
      <caption>Comparison and Contrast of Files and Resources</caption>
      <thead>
        <tr>
          <th/>
          <th>Filenames (<a href="../lexicon/file" title="File" rel="dct:references">Files</a>)</th>
          <th>URIs (<a href="../lexicon/resource" title="Resource" rel="dct:references">Resources</a>)</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th>Syntax</th>
          <td colspan="2">Character string ultimately chosen by user</td>
        </tr>
        <tr>
          <th>Intent</th>
          <td>Identifies a literal entity as a stream of bits</td>
          <td>Identifies a logical entity, potentially referring to many alternate literal entities</td>
        </tr>
        <tr>
          <th>Scope</th>
          <td>Local</td>
          <td>Global</td>
        </tr>
        <tr>
          <th>Structure</th>
          <td>Rooted tree (with occasional exceptions like <a href="http://en.wikipedia.org/wiki/Hard_link" title="Hard link &#x2014; Wikipedia" rel="dct:references">hard</a> and <a href="http://en.wikipedia.org/wiki/Symbolic_link" title="Symbolic link &#x2014; Wikipedia" rel="dct:references">symbolic links</a>)</td>
          <td>Directed graph with neither hierarchical nor cyclical constraints</td>
        </tr>
      </tbody>
    </table>
    <p>files are literal, resources are abstract</p>
    <p>the type of a resource is orthogonal to the type of any one of its representations</p>
    <p>mention the notions of the document, the object and the collection</p>
    <p>mention that using the bare file system as a persistence mechanism sucks</p>
  </body>
</html>
