Hi there !
I recently discovered Zend Framework (nothing compared to Yii really, but I am obliged to use it at work) and come across interesting ideas.
In ZendF they are using a stage in the application processus (developement, production…) and the config file can be different from those stages.
[production]
sql.host = blabla1
…
[developement]
sql.host = test
…
Which is very practical in reality. Actually I am setting up an apache env variable to check witch stage is defined and load a specific config file from that.
What do you think?
Cheers,
Another Yii fan