Hacker News new | ask | show | jobs
by ptn 5417 days ago
My very first webapp (now lost) used a similar idea. I wrote a web text editor in plain CGI with Python to allow users to create and edit an unlimited number of files. What the user saw as files in the UI were directories in my FS that contained one file for every revision, with the filename encoding the date and time of the edit; also, there was a symlink called "current" that pointed to the last revision, so I didn't need to parse the filenames to find out which version to show.

That was when I learned that Linux's FS is reliable, secure and just all-around awesome.