On Sat, Nov 14, 2009 at 11:07 AM, Fabien Potencier
<[email protected]> wrote:

> I understand your concern, but what is different from the way we
> configure passwords in databases.yml or properties.ini?

No big difference except that the factories.yml is a big, complex and
important file. I'd love having a mailer.yml file containing just the
definition of mailer configuration variables that could then be
referenced in the factories.yml file (maybe with the already existing
%SF_MAILER_SMPT_USERNAME% kind of syntax, I don't know).

But the problem is exactly the same for the databases.yml file, except
that you got a pretty configure:database command line task to rebuild
it easily if you want to override the one provided in your repo.

The use properties.ini file suggested by Eric is interesting ; this
very simple file could store just local named configuration
parameters, and those could then be referenced anywhere else in the
project with the %FOO% syntax. I wonder how hard this would be to
implement, and more than that the BC issues it could involve :/

++

-- 
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
Mobile: +33 660 92 08 67

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to