=head3 Install
-Installation of Catalyst can be a time-consuming and frustrating
-effort, due to its large number of dependencies. The easiest way
-to get up and running is to use Matt Trout's C<cat-install>
-script, from L<http://www.shadowcatsystems.co.uk/static/cat-install>,
-and then install L<Catalyst::Devel>.
+Installation of Catalyst can be a time-consuming effort, due to its
+large number of dependencies. Although most of the frustrations
+associated with this are now ironed out and a simple C<cpan
+Catalyst::Devel> or C<cpan Catalyst::Runtime> are now usually
+straightforward, if you still have problems, you can use use Matt
+Trout's C<cat-install> script, from
+L<http://www.shadowcatsystems.co.uk/static/cat-install>, and then
+install L<Catalyst::Devel>.
# perl cat-install
# perl -MCPAN -e 'install Catalyst::Devel'
$ cd MyApp
$ script/myapp_create.pl controller Library::Login
+=head4 Frank Speiser's Amazon EC2 Catalyst SDK
+
+There are currently two flavors of publicly available Amazon Machine
+Images (AMI) that include all the elements you'd need to begin
+developing in a fully functional Catalyst environment within
+minutes. See
+L<Catalyst::Manual::Installation|Catalyst::Manual::Installation> for
+more details.
+
+
=head3 Run
$ script/myapp_server.pl
=head1 CATALYST INSTALLATION
-If approach in the wrong manner, it can be a daunting tasks to get
-Catalyst initially installed. Although a compelling strength of
-Catalyst is that it makes use of many of the modules in the
-vast repository that is CPAN, this can complicate the installation
-process. However, there are a growing number of methods
-that can dramatically ease this undertaking. Of these, the following
-are likely to be applicable to the largest number of potential new
-users:
+While the rough edges of catalyst installation have been a problem in
+the past, this is now mostly solved. Nonetheless, installing Catalyst
+can be a little time consuming. Although a compelling strength of
+Catalyst is that it makes use of many of the modules in the vast
+repository that is CPAN, this can complicate the installation process.
+However, there are a growing number of methods that can dramatically
+ease this undertaking. Of these, the following are likely to be
+applicable to the largest number of potential new users:
=over 4
already been installed, complete with database engines and a full
complement of Catalyst plugins.
+=item *
+
+Frank Speiser's Amazon EC2 Catalyst SDK
+
+There are currently two flavors of publicly available Amazon Machine
+Images (AMI) that include all the elements you'd need to begin
+developing in a fully functional Catalyst environment within minutes.
+See L<Catalyst::Manual::Installation|Catalyst::Manual::Installation>
+for more details.
+
=back
For additional information and recommendations on Catalyst installation,
components and provide access to Catalyst and plugin functionality.
B<TIP>: You may see the C<$c-E<gt>model('DB::Book')> used above
-written as C<$c-E<gt>model('DB')-E<gt>resultset('Book)>. The two
+written as C<$c-E<gt>model('DB')-E<gt>resultset('Book')>. The two
are equivalent.
B<Note:> Catalyst actions are regular Perl methods, but they make use
L<http://www.template-toolkit.org>). Other popular view technologies
include Mason (L<http://www.masonhq.com> and
L<http://www.masonbook.com>) and L<HTML::Template>
-(L<http://html- template.sourceforge.net>).
+(L<http://html-template.sourceforge.net>).
=head2 Create a Catalyst View Using C<TTSite>
C<__PACKAGE__> is equivalent to C<TT>.
There are a variety of options you can use, such as 'undef', 'all',
-'service', 'context', 'parser', 'provider', and 'service'. See
+'service', 'context', 'parser' and 'provider'. See
L<Template::Constants> for more information (remove the C<DEBUG_>
portion of the name shown in the TT docs and convert to lower case
for use inside Catalyst).
because we enabled DBIC_TRACE.
-You now the beginnings of a simple but workable web application.
+You now have the beginnings of a simple but workable web application.
Continue on to future sections and we will develop the application
more fully.