[Dancer-users] Plugin::Database - suggestion to read username/password from a different file

Natal Ngétal hobbestigrou at erakis.im
Sun Sep 25 23:35:14 CEST 2011


2011/9/25 Nick Knutov <mail at knutov.com>:
> Well, but from other side app can use some external http api instead of
> mysql, config file will contain some api key in this case, and config file
> can contain some other passwords, from smtp server, for example. It's not
> possible to move all passwords in such files (and it is not good idea
> anyway).
I think it's a good idea, to seperate the main config file and the
username and password, and it's a best practice. Maybe it's possible
to make a generic module to do that.

> May be it's better to write more clear documentation about different
> environment' configs and use them as they should be used instead of
> implementing square wheel?
I'm not sure I understand all do you mean.

-- 
\0/ Hobbestigrou
site web: erakis.im


More information about the Dancer-users mailing list