storage

From IndieWeb
Jump to: navigation, search


storage in the context of the indieweb usually refers to how you are storing your data, specifically in what kind of storage format(s).

Where you store your data is typically a question of web hosting.

Contents

Flat files

Main article: file-storage

Many indieweb projects are storing their data in flat files on the file system for reasons of simplicity and robustness.

See also the databases-antipattern for reasons why flat files for storage are growing in popularity compared to databases.

These flat files typically are either:

And contain either:

  • one post per flat file
  • time sharded: a set of posts per fixed time period per flat file

Some IndieWeb Community members using flat files for storage with their projects (see: file-storage for more)

HTML plus microformats

Markdown plus extensions

  • Aaron Parecki on aaronparecki.com uses p3k (one file per post, YAML extensions for meta info)
  • Bear on bear.im uses Hakkan with one file per post (time sharded by year+day-of-year), key:value header for metadata and a json blob for connected resources
  • User:Bret.io Yaml headers (aka front-matter) with github flavored markdown mixed with liquid template include tags for post attachment metadata. Yuuuuuck! This is what jekyll sets you up with. It has its ups and downs, but its a mix of 3 weird languages which really bothers me.
  • ...

Databases

In addition to popular projects like WordPress, a few indieweb projects store their data in databases, typically with custom one-off database schemas that requires special programming to translate into other formats.

See individual database pages for usage:

See Also

Retrieved from "http://indieweb.org/storage"
Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox