[Catalyst-commits] r12232 - trunk/examples/CatalystAdvent/root/2009
jester at dev.catalyst.perl.org
jester at dev.catalyst.perl.org
Mon Dec 7 13:52:28 GMT 2009
Author: jester
Date: 2009-12-07 13:52:28 +0000 (Mon, 07 Dec 2009)
New Revision: 12232
Modified:
trunk/examples/CatalystAdvent/root/2009/6.pod
Log:
Light edits on Day 6 Advent
Modified: trunk/examples/CatalystAdvent/root/2009/6.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2009/6.pod 2009-12-07 11:38:13 UTC (rev 12231)
+++ trunk/examples/CatalystAdvent/root/2009/6.pod 2009-12-07 13:52:28 UTC (rev 12232)
@@ -11,18 +11,18 @@
=item *
-integrate and package a CGI script into your Catalyst application, including
-using the Catalyst Authentication framework.
+integrate and package a CGI script into your Catalyst application, so
+you can (for example) use the Catalyst Authentication framework.
=item *
-have Perl CGI script to be compiled on startup and cached, like with
-L<ModPerl::Registry>, in a FastCGI environment rather than Apache mod_perl.
+have a Perl CGI script compiled on startup and cached, as with
+L<ModPerl::Registry>, but in a FastCGI environment rather than with
+mod_perl under Apache.
=back
-L<Catalyst::Controller::WrapCGI> can even be useful for porting a simple
-mod_perl application to Catalyst.
+port a simple mod_perl application to Catalyst.
=head2 An Example
@@ -91,18 +91,17 @@
Start the server, and you will be taken to a functional message board.
-Non-Perl CGIs will also work, but of course will not be pre-compiled.
+Even non-Perl CGIs will work, but of course these will not be pre-compiled.
=head2 Porting mod_perl Apps
The CGI environment is a bit closer to mod_perl than the regular L<Catalyst>
-Controller environment, eg. you can print to C<STDOUT>.
+Controller environment, e.g. you can print to C<STDOUT>.
-First step would be to rewrite your handler sub to take C<$c> instead of C<$r>
-as a parameter and replace the Apache request methods with the equivalent
-L<Catalyst> framework methods.
+The first step would be to rewrite your handler sub to take C<$c>
+instead of C<$r> as a parameter, and replace the Apache request methods
+with the equivalent L<Catalyst> framework methods.
-
Replacing things like L<Apache::Session> with L<Catalyst::Plugin::Session> is
also fairly trivial.
@@ -121,10 +120,12 @@
=head2 Other Examples
-Justin Hunter (arcanez) has gotten the Movable Type blogging software working under
-Catalyst, available here: L<http://github.com/arcanez/mtcatalyst>.
+Justin Hunter (arcanez) has gotten the Movable Type blogging software
+running under Catalyst. It is available here:
+L<http://github.com/arcanez/mtcatalyst>.
-Hans Dieter Pearcey (confound) has gotten Bugzilla working on Catalyst:
+Hans Dieter Pearcey (confound) has gotten the Bugzilla bug-tracking
+project running under Catalyst. It is available here:
L<http://opensourcery.com/blog/hans-dieter-pearcey/bugzilla-catalyst>.
=head1 AUTHOR
More information about the Catalyst-commits
mailing list