Revision history for Perl extension Catalyst::Plugin::ConfigLoader.\r
+
+0.14 Thu Sep 28 2006
+ - added a user manual
\r
0.13 Fri Aug 25 2006\r
- loading code factored out into Config::Any [rataxis@cpan.org]\r
Build.PL\r
Changes\r
lib/Catalyst/Plugin/ConfigLoader.pm\r
+lib/Catalyst/Plugin/ConfigLoader/Manual.pod\r
MANIFEST\r
t/01-use.t\r
t/10-live_auto.t\r
use NEXT;
use Data::Visitor::Callback;
-our $VERSION = '0.13';
+our $VERSION = '0.14';
=head1 NAME
=item * L<Catalyst>
+=item * L<Catalyst::Plugin::ConfigLoader::Manual>
+
=item * L<Config::Any>
=back
--- /dev/null
+=head1 NAME
+
+Catalyst::Plugin::ConfigLoader::Manual - Guide to using the ConfigLoader plugin
+
+=head1 BASIC USAGE
+
+ package MyApp;
+
+ use Catalyst qw( ConfigLoader ... );
+
+=head1 CONFIG FORMATS
+
+=head2 Config::General
+
+ name = TestApp
+ <Component Controller::Foo>
+ foo bar
+ </Component>
+ <Model Baz>
+ qux xyzzy
+ </Model>
+
+=head2 INI
+
+ name=TestApp
+
+ [Controller::Foo]
+ foo=bar
+
+ [Model::Baz]
+ qux=xyzzy
+
+=head2 JSON
+
+ {
+ "name": "TestApp",
+ "Controller::Foo": {
+ "foo": "bar"
+ },
+ "Model::Baz": {
+ "qux": "xyzzy"
+ }
+ }
+
+=head2 Perl
+
+ {
+ name => 'TestApp',
+ 'Controller::Foo' => {
+ foo => 'bar'
+ },
+ 'Model::Baz' => {
+ qux => 'xyzzy'
+ }
+ }
+
+=head2 XML
+
+ <config>
+ <name>TestApp</name>
+ <component name="Controller::Foo">
+ <foo>bar</foo>
+ </component>
+ <model name="Baz">
+ <qux>xyzzy</qux>
+ </model>
+ </config>
+
+=head2 YAML
+
+ ---
+ name: TestApp
+ Controller::Foo:
+ foo: bar
+ Model::Baz:
+ qux: xyzzy
+
+=cut