Page 1 of 1

Folder as a file concept

Posted: Sun Nov 02, 2014 2:37 pm
by max
Hey guys,

I've come to the point in Ghost where I have to decide for how to structure my system files. Current example: mouse cursors. So, theres an image file, and a configuration file. I like the way that OS X structures .app's, so I did something similar:

Code: Select all

/default.cursor
  cursor.cfg
  default.image
The config file contains things like the hitpoint of the cursor, and the name of the cursor image. So the cursor itself is actually just a folder.
What do you think about this? How do you do this? Also, as I don't have too much experience with filesystems yet, does the increasing number of files when using such structures have performance impacts?

Greets,
Max

Re: Folder as a file concept

Posted: Tue Nov 04, 2014 2:19 pm
by Roman
Maybe you should use .bundle extension? A zoo of folder extensions can mislead a user.