Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
afterstep_faq(1x)
This document is an ever growing set of questions, statements, ideas and complaints about AfterStep version 2.0
gitfaq(7)
Frequently asked questions about using Git
makefaq(1), makefaq.py(1)
creates a FAQ HTML page or text file
makepp_faq(1)
-- Frequently asked questions about makepp
mrtg-faq(1)
How to get help if you have problems with MRTG
svgalib.faq(7)
frequently asked questions about svgalib
urxvt(7), RXVT REFERENCE(7)
FAQ, command sequences and other background information
Alien::Base::FAQ(3)
Frequently asked questions
Alien::Base::ModuleBuild::FAQ(3)
Frequently Asked Questions about Alien::Base::ModuleBuild
Alien::Build::Manual::FAQ(3)
Frequently Asked Questions about Alien::Build
Alzabo::FAQ(3)
Frequently Asked Questions
AnyEvent::FAQ(3)
frequently asked questions
Apache::AuthCookie::FAQ(3)
Frequently Asked Questions about Apache::AuthCookie
Archive::Zip::FAQ(3)
Answers to a few frequently asked questions about Archive::Zip
Authen::PAM::FAQ(3)
Frequently-Asked Questions about Authen::PAM
CPAN::Reporter::FAQ(3)
Answers and tips for using CPAN::Reporter
CPANPLUS::FAQ(3)
CPANPLUS Frequently Asked Questions
Carton::Doc::FAQ(3)
Frequently Asked Questions
DBIx::Class::Manual::FAQ(3)
Frequently Asked Questions (in theory)
DBIx::Class::Migration::FAQ(3)
Answers to Frequently Asked Questions
Device::USB::FAQ(3)
Frequently Asked Questions for Device::USB
ExtUtils::MakeMaker::FAQ(3)
Frequently Asked Questions About MakeMaker
FAQ::OMatic::API(3)
a Perl API to manipulate FAQ-O-Matics
Form::Sensible::FAQ(3)
Answers to questions about how to use Form::Sensible
GD::Graph::FAQ(3)
Frequently asked questions
Gantry::Conf::FAQ(3)
Frequently Asked Questions regarding Gantry::Conf "Why should I use Gantry::Conf at all?" 4 Item "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?" 4 Item "How is Gantry::Conf helpful during development?" "Easy separation of development configs from production configs" 4 Item "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> <shared production> dbuser apache dbpass secret2 dbconn "dbi:Pg:dbname=production" </shared> <instance app1> ConfigureVia FlatFile Config::General /etc/apps/app1.conf use production </instance> <instance app1-dev> ConfigureVia FlatFile Config::General /etc/apps/app1.conf use dev </instance> By separating out our production and dev database information into shared blocks we can essentially switch between our production and dev environments by simply changing the instance we are using. If you were working on a script this would be a simple matter of running: $ script.pl --instance=app1-dev instead of: $ script.pl --instance=app1 "How is Gatnry::Conf helpful in production?" 4 Item "How is Gatnry::Conf helpful in production?" Gantry::Conf has several advantages in a production environment. First, it provides a single place for all config information, if you commit to it. Even if you don't commit to it for all apps, it still provides control to the installing admin over how and where conf information is stored. For instance, the admin could put the config information directly into /etc/gantry.conf, or into a separate file in /etc/gantry.d. She could even set up a secure web server where all boxes would go to get their conf. The short answer is, Gantry::Conf is flexible and production environments benefit from flexibility. "How do I pass my instance information into my application?" 4 Item "How do I pass my instance information into my application?" There are many possible ways to do this a few of which are: "Command line arguments" 4 Item "Command line arguments" If your application accepts arguments on the command line we suggest adding an --instance option to pass in the instance's name. "PerlSetVar" 4 Item "PerlSetVar" In a mod_perl environment you could use a PerlSetVar, possibly named GantryConfInstance, to pull in this value for your application. "ModPerl::ParamBuilder" 4 Item "ModPerl::ParamBuilder" Again in a mod_perl environment, another option would be to use ModPerl::ParamBuilder to pass the instance name. "Hard coded" 4 Item "Hard coded" We include this for the sake of completeness, but advise against it. You could always simply hard code your instance information into your application, but this will greatly reduce the flexibility you have. "How do I add a different provider for an existing ConfigVia method?" 4 Item "How do I add a different provider for an existing ConfigVia method?" Place your provider module in the Gantry::Conf::Provider::Method::* namespace. Make sure your public API matches the existing providers which use the same method. For instance the flat file providers all implement a config method which is called as a class method and receives a file name. "How do I add to the ConfigVia methods?" 4 Item "How do I add to the ConfigVia methods?" If none of the existing provider methods will do, you need to work in Gantry::Conf. In particular, you need to augment the dispatch hash with the name of your provisioning method and a sub name which will handle it. Then you need to implement the method you put in %dispatch
Gantry::Docs::FAQ(3), Header "Name" Gantry::Docs::FAQ(3)
Frequently asked questions and answers about gantry
Gungho::Manual::FAQ(3)
Gungho FAQ n .SH "Q. ""Why Did You Call It Gungho""?" .SH "Q. ``Why Did You Call It Gungho''?" Header "Q. Why Did You Call It Gungho?" It rhymes with Xango, which is its predecessor. n .SH "Q. ""I don't understand the notation of the config""" .SH "Q. ``I don't understand the notation of the config''" Header "Q. I don't understand the notation of the config" To make the notation concise, we use a notation like engine.module = POE. Each level is a key in the hash, so the previous example translates to a config like my $config = { engine => { module => "POE" } } Or, in YAML: engine: module: POE n .SH "Q. ""My requests are being served slow. What can I do?""" .SH "Q. ``My requests are being served slow. What can I do?''" Header "Q. My requests are being served slow. What can I do?" There are actually a number of things that may affect fetch speed
HTML::Mason::FAQ(3)
Frequently asked questions
HTML::Template::FAQ(3)
Frequently Asked Questions about HTML::Template
IO::Compress::FAQ(3)
-- Frequently Asked Questions about IO::Compress
Inline::FAQ(3), Inline-FAQ(3)
The Inline FAQ
Jifty::Manual::FAQ(3)
Frequently Answered Questions
Locale::libintlFAQ(3), Locale::TextDomain::FAQ(3)
Frequently asked questions for libintl-perl
Log::Log4perl::FAQ(3)
Frequently Asked Questions on Log::Log4perl
Mason::Manual::FAQ(3)
Frequently asked questions about Mason
Module::Install::FAQ(3)
Frequently Asked Questions for Module::Install
Mojolicious::Guides::FAQ(3)
Frequently Asked Questions
Moose::Manual::FAQ(3)
Frequently asked questions about Moose
Net::DNS::FAQ(3)
Frequently Asked Net::DNS Questions
Net::LDAP::FAQ(3)
Frequently Asked Questions about Net::LDAP
Net::libnetFAQ(3), libnetFAQ(3)
libnet Frequently Asked Questions
PAR::FAQ(3)
Frequently Asked Questions about PAR
PDL::FAQ(1)
Frequently asked questions about PDL
PSGI::FAQ(3)
Frequently Asked Questions and answers
Perlbal::FAQ(3)
Frequently Asked Questions about Perlbal
Rinci::FAQ(3)
Metadata for your functions/methods
SOAP::WSDL::Manual::FAQ(3)
Frequently Asked Questions (and answers)
Sah::FAQ(3)
Frequently asked questions
Template::FAQ(3)
Frequently Asked Questions about the Template Toolkit
Text::Xslate::Manual::FAQ(3)
Frequently asked questions and answers
Ubic::Manual::FAQ(3)
frequently asked questions about Ubic
WWW::Mechanize::FAQ(3)
Frequently Asked Questions about WWW::Mechanize
XBase::FAQ(3)
Frequently asked questions about the XBase.pm/DBD::XBase modules
XML::Compile::FAQ(3)
frequently asked questions
XML::Compile::SOAP::FAQ(3)
frequently asked questions
XML::Simple::FAQ(3)
Frequently Asked Questions about XML::Simple
XML::Smart::FAQ(3)
Frequently Asked Questions about XML::Smart
btool_faq(1)
Frequently-Asked Questions about btparse and Text::BibTeX
cpanfile-faq(3)
cpanfile FAQ
fish-faq(1)
fish-shell faq rst2man-indent-level 0 1 rstReportMargin \$1
perlfaq(1)
frequently asked questions about Perl
perlfaq1(1)
General Questions About Perl
perlfaq2(1)
Obtaining and Learning about Perl
perlfaq3(1)
Programming Tools
perlfaq4(1)
Data Manipulation
perlfaq5(1)
Files and Formats
perlfaq6(1)
Regular Expressions
perlfaq7(1)
General Perl Language Issues
perlfaq8(1)
System Interaction
perlfaq9(1)
Web, Email and Networking
perlunifaq(1)
Perl Unicode FAQ
pod::Prima::faq(3), Prima::faq(3)
Frequently asked questions about Prima
home | help