X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FInternals.pod;h=85de5cf6319e5211c2c66f3ab4e8daa6008998db;hp=0ad159bd79ac136dd27ec68c6006053407413323;hb=5336f54651dd781138086b9081b85b6839452a76;hpb=b1a08fe19fd4ce1cd7756727319d08156b1e563f diff --git a/lib/Catalyst/Manual/Internals.pod b/lib/Catalyst/Manual/Internals.pod index 0ad159b..85de5cf 100644 --- a/lib/Catalyst/Manual/Internals.pod +++ b/lib/Catalyst/Manual/Internals.pod @@ -20,13 +20,13 @@ Catalyst initializes itself in two stages: =item 1 When the Catalyst module is imported in the main application -module it stores any options. +module, it stores any options. =item 2 -WHen C<< __PACKAGE__->setup >> is called, it evaluates any -options stored (C<-Debug>, C<-Engine=XXX>), makes the application +When C<< __PACKAGE__->setup >> is called, it evaluates any +options stored (C<-Debug>), and makes the application inherit from L (if that hasn't already been done with an explicit C<< use base 'Catalyst'; >> or C<< extends 'Catalyst'; >>. Any specified plugins are then loaded, the application module is made to @@ -40,7 +40,7 @@ Catalyst automatically loads all components it finds in the C<$class::Controller>, C<$class::C>, C<$class::Model>, C<$class::M>, C<$class::View> and C<$class::V> namespaces (using C). As each is loaded, if it has a -L method then this method +L method then this method will be called, and passed that component's configuration. It then returns an instance of the component, which becomes the C<$self> when methods in that component are called later. @@ -90,17 +90,18 @@ extend Catalyst. These steps are normally overloaded from engine classes, and may also be extended by plugins. For more on extending Catalyst, see L. -The specialized engine classes populate the Catalyst request object with -information from the underlying layer (C or C) +The engine class populates the Catalyst request object with +information from the underlying layer (L) during the prepare phase, then push the generated response information down to the underlying layer during the finalize phase. -=head1 AUTHOR +=head1 AUTHORS -Sebastian Riedel, C +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT -This program is free software, you can redistribute it and/or modify it under +This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. +=cut