[Seaside] Different Profiles for development and production

Brian Brown rbb at techgame.net
Fri Feb 29 05:27:26 UTC 2008


On Feb 25, 2008, at 11:19 AM, Ramon Leon wrote:
>>
>
> I kind of do the same thing, I keep all my config data on the file  
> system in
> text files and use my own config system rather than Seaside's.  I  
> don't like
> keeping config info in the image, it's too much of a hassle.  I keep  
> three
> profiles, dev, prod, test, with a file in the root that determines  
> which
> profile is used (easily toggled).  Inside the directory for a  
> profile, each
> setting is stored in a separate file where the filename is the  
> setting name
> and the file contents are the value.


... And I'm just the other way ;-)

I create configuration classes and then I zip up the folder with the  
images and send them to my designers... they know how to use the web  
interface to make changes that are needed for db access or resource  
pathing, and don't have to look for files.


- Brian



More information about the seaside mailing list