[haiku-development] Re: Separation of application configuration, data and cache

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 10 Nov 2009 20:30:21 +0100

"Christoph .J Thompson" <cjsthompson@xxxxxxxxx> wrote:
> I noticed in the commits that Axel was reorganizing the location of 
> config
> and data files which is a really good thing. This reminded me of an 
> effort
> ongoing in the Linux world to separate the configuration, data and 
> cache
> data of applications:
> 
> http://ploum.frimouvy.org/?207-modify-your-application-to-use-xdg-folders
> 
I haven't seen that yet, but it's surely an appreciated step. If 
application will follow this, porting them to Haiku properly will be 
easier, too.

> I thought I'd bring this to the attention of the Haiku developers as 
> it might be 
> also interresting for Haiku.
> 
> I know about find_directory(), but I don't know if there is already a
> "B_USER_CACHE". That might be useful for Ryan Leavengood's web browser
> amongst other things.

We have directories for settings, data, and cache already (cache for 
user only, the other two for both, the user and common).

Bye,
   Axel.


Other related posts: