Added CDBI helper and added some documentation
Sebastian Riedel [Tue, 1 Mar 2005 18:36:50 +0000 (18:36 +0000)]
Changes
bin/catalyst
lib/Catalyst.pm
lib/Catalyst/Helper.pm

diff --git a/Changes b/Changes
index c142284..febeaee 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 This file documents the revision history for Perl extension Catalyst.
 
+4.01  Tue Mar 01 10:00:00 2005
+        - improved documentation
+
 4.00  Sun Feb 27 22:00:00 2005
         - more verbose debug messages, especially for forward()
         - implemented prefixed prvate actions, icluding built in
index cc083d7..c5b1855 100755 (executable)
@@ -34,10 +34,20 @@ catalyst [options] application-name
     catalyst My::App
     catalyst MyApp
 
+ See also:
+    perldoc Catalyst::Manual
+    perldoc Catalyst::Manual::Intro
+
 =head1 DESCRIPTION
 
 Bootstrap a Catalyst application.
 
+=head1 SEE ALSO
+
+L<Catalyst>, L<Catalyst::Manual>, L<Catalyst::Manual::Intro>,
+L<Catalyst::Test>, L<Catalyst::Request>, L<Catalyst::Response>,
+L<Catalyst::Engine>
+
 =head1 AUTHOR
 
 Sebastian Riedel Sebastian Riedel, C<sri@oook.de>
index 88254bc..5883f09 100644 (file)
@@ -7,7 +7,7 @@ use Catalyst::Log;
 
 __PACKAGE__->mk_classdata($_) for qw/_config log/;
 
-our $VERSION = '4.00';
+our $VERSION = '4.01';
 our @ISA;
 
 =head1 NAME
index 3db98d0..cc14c94 100644 (file)
@@ -192,6 +192,10 @@ server [options]
    -help    display this help and exits
    -port    port (defaults to 3000)
 
+ See also:
+   perldoc Catalyst::Manual
+   perldoc Catalyst::Manual::Intro
+
 =head1 DESCRIPTION
 
 Run a Catalyst Testserver for this application.
@@ -256,6 +260,10 @@ test [options] uri
    test http://localhost/some_action
    test /some_action
 
+ See also:
+   perldoc Catalyst::Manual
+   perldoc Catalyst::Manual::Intro
+
 =head1 DESCRIPTION
 
 Run a Catalyst action from the comand line.
@@ -308,15 +316,23 @@ create - Create a new Catalyst Component
 
 =head1 SYNOPSIS
 
-create [options] model|view|controller name
+create [options] model|view|controller name [helper] [options]
 
  Options:
    -help    display this help and exits
 
  Examples:
    create controller My::Controller
-   create model My::Model
    create view My::View
+   create view MyView TT
+   create view TT TT
+   create model My::Model
+   create model SomeDB CDBI dbi:SQLite:/tmp/my.db
+   create model AnotherDB CDBI dbi:Pg:dbname=foo root 4321
+
+ See also:
+   perldoc Catalyst::Manual
+   perldoc Catalyst::Manual::Intro
 
 =head1 DESCRIPTION