If you've used Basecamp there is a documents manager page you can also find a demo here. I liked the feature of creating versions when same file gets uploaded twice,[optionally user specifies to create the file as new version]. How do you think the files are maintained in the DATABASE
as records and in DISK
as files. From my inspection it seems the files are saved like below
Structure
[user_folder]
[project_name]
[file_name]
[V1/V2/V3]
for example taking below consideration
Example
user name is "mak"
project name "izord" and
file name is "base.html"
it has 2 versions here is directory structure
[mak]
[izord]
[base]
[V1]
base.html
[V2]
base.html
i might be wrong in my assumptions, but that's why i am here to get it corrected.
Question
- How do you think i can organize files on disk in this situation
- Do you have any premade, already developed table structure for saving file details?
- How does one sort files from table based on alphabets like the one in demo video. Are they maintaining sort of another table?