[Catalyst-commits] r7337 - trunk/Catalyst-Manual/lib/Catalyst/Manual
edenc at dev.catalyst.perl.org
edenc at dev.catalyst.perl.org
Sun Dec 30 14:27:08 GMT 2007
Author: edenc
Date: 2007-12-30 14:27:08 +0000 (Sun, 30 Dec 2007)
New Revision: 7337
Modified:
trunk/Catalyst-Manual/lib/Catalyst/Manual/Intro.pod
Log:
fixed documentation referring to deprecated Catalyst::Base
Modified: trunk/Catalyst-Manual/lib/Catalyst/Manual/Intro.pod
===================================================================
--- trunk/Catalyst-Manual/lib/Catalyst/Manual/Intro.pod 2007-12-29 11:09:25 UTC (rev 7336)
+++ trunk/Catalyst-Manual/lib/Catalyst/Manual/Intro.pod 2007-12-30 14:27:08 UTC (rev 7337)
@@ -216,14 +216,15 @@
Catalyst doesn't enforce anything. See L<Catalyst::Manual::About> for
a general discussion of these issues.
-All components must inherit from L<Catalyst::Base>, which provides a
-simple class structure and some common class methods like C<config> and
-C<new> (constructor).
+Model, View and Controller components must inherit from L<Catalyst::Model>,
+L<Catalyst::View> and L<Catalyst::Model>, respectively. These, in turn, inherit
+from L<Catalyst::Component> which provides a simple class structure and some
+common class methods like C<config> and C<new> (constructor).
package MyApp::Controller::Catalog;
use strict;
- use base 'Catalyst::Base';
+ use base 'Catalyst::Controller';
__PACKAGE__->config( foo => 'bar' );
More information about the Catalyst-commits
mailing list