From Linked Data Platform
Revision as of 20:27, 5 November 2012 by Bblfish
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.
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.
Represent container membership with hierarchical URIs
- Hierarchical URIs are good for containers because they enable relativizing.
Use fragments as entity identifiers
- Fragments are nice because they can be expressed as relative URIs on the document describing them.
Prefer standard datatypes
- See old Section 4.1.9 that was deleted from the FPWD
Properly use q values
- Not properly handling q values is a major problem in implementations of content negotiation.