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=b8083c96bb54401161dac2ecdf0532fa5b51641f;hp=192d5f4b1bfbbb0a2c47b4adf71b30ec5441450e;hb=e8200f38d465b85ad84eb11718db1e61230ce73b;hpb=bbddff000787154dd9130f45634da8ef06529d86 diff --git a/lib/Catalyst/Manual/Internals.pod b/lib/Catalyst/Manual/Internals.pod index 192d5f4..b8083c9 100644 --- a/lib/Catalyst/Manual/Internals.pod +++ b/lib/Catalyst/Manual/Internals.pod @@ -20,13 +20,12 @@ 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 +39,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,8 +89,8 @@ 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.