Deployment Guide

From Linked Data Platform
Revision as of 20:27, 5 November 2012 by Bblfish (Talk | contribs)

Jump to: navigation, search

This page collects various informative material, including best practices, design patterns and anti-patterns, related to LDP. It may or may not become a formal deliverable of the Working Group.

1 Use relative URIs

See ldp-ISSUE-29 (Relative URIs): Relative URIs are

  • crucial in creation of resources as the client cannot know what the name of the to be created resource is going to be
  • relative URIs are helpful on the server:
    • they allow editing of information on the file system to closely match the results from the web server. This makes it possible to debug without needing the server to be running
    • mappings from OO or SQL to RDF need not be encumbered with information about the name of the server, which may only be available at a much later point.

2 Represent container membership with hierarchical URIs

  • Hierarchical URIs are good for containers because they enable relativizing.

3 Use fragments as entity identifiers

  • Fragments are nice because they can be expressed as relative URIs on the document describing them.

4 Prefer standard datatypes

5 Properly use q values

  • Not properly handling q values is a major problem in implementations of content negotiation.