Tim Keefer > Gantry > Gantry::Conf::FAQ   Annotate this POD
New  10 Open  3 View/Report Bugs   Gantry::Conf::FAQ -
Frequently Asked Questions regarding Gantry::Conf  Why should I
use Gantry::Conf at all?  There are many reasons why we feel
Gantry::Conf is helpful both during development and after
deployment. The next two entries should hopefully answer this
question for you as they outline a few common scenarios
programmers and system administrators often face.  How is
Gantry::Conf helpful during development? Easy separation of
development configs from production configs  Often programmers
have a separate development environment from their production
environment. By using <shared> blocks and dev instances you can
avoid spending any serious time setting up your application in
the development environment. Take this configuration example:
<shared dev>       dbuser nobody      dbpass secret      dbconn
"dbi:Pg:dbname=dev"    <shared production>      dbuser apache
dbpass secret2      dbconn "dbi:Pg:dbnam