CMS based upon a file system and not a database

http://scripting.com/2013/10/15/frontierGitHub

I wouldn't want to write something new. So, what, then? SQLite, LevelDB, Kyoto Cabinet? None of the above -- I'd use the file system.

My rough design was something fairly obvious: tables are folders. Objects are files. And each table gets one special file for scalars. (I'd want to use JSON for the scalars file, probably, but JSON doesn't have a date type. Not sure what I'd do.)

Machines are easily fast enough these days (especially with SSD drives). A few more benefits:

  • GitHub! As you've found. (Or Mercurial, Subversion, etc.)
  • No need to save the database or save a copy.
  • No database size limit.
  • Corruption is less likely.

A weird -- but possibly interesting -- side effect is that you could treat any folder on your hard drive as an object database.

#database - #blogging - #cms

From JR's : articles
139 words - 845 chars
created on - #
source - versions

Related articles
Automattic buys WooThemes - May 2015 - May 19, 2015
Stop using e-mail as a collaboration and knowledge management tool - Oct 29, 2013
Links to read - April 2016 - Apr 05, 2016
Small businesses that don't have their own websites - Apr 21, 2015
My views on printing digital text to paper - Jan 12, 2014
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Mar 28, 2024 - 6:53 p.m. EDT