Re: Conf Decisions

Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/[email protected]> Mon, 28 Feb 2005 20:06:09 +0100
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
[email protected] wrote:
> For the defined levels factory and workspace
> I would propose to extend the syntax with
> 
> [workspace/]/domain/section/..../property
> 
> Absence of the workspace_name will default to 'factory'.

I'd prefer to keep the idea that a workspace property is overrides the 
corresponding property from factory. In xml, the file location will do 
it; in db we need a field.
Retrieving a conf value by its path will always return the workspace 
value if it's there. I don't think we need to retrieve the factory value 
  alone, except in the web conf admin, but there we can use qries 
instead of conf api.
So, interesting but useless in my opinion.

> Finally, the form of @@TOKEN@@ is completely compatible with the raw 
> format. However it takes an *extra* regular expresion for every row.

No, the purpose is to replacce tokens in strings only and avoid the 
'raw' format, that's a bit hacky since it's plain php.

-- 
Jean-Christophe Michel
_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev