This is extensively covered in other documentation; see in particular
L<Catalyst::Plugin::Authentication> and the Authentication chapter
-of the Tutorial at L<Catalyst::Manual::Tutorial::Authorization>.
+of the Tutorial at L<Catalyst::Manual::Tutorial::06_Authorization>.
=head2 Pass-through login (and other actions)
=head3 Using XML::Feed
-A more robust solution is to use XML::Feed, as was done in the Catalyst
+A more robust solution is to use L<XML::Feed>, as was done in the Catalyst
Advent Calendar. Assuming we have a C<view> action that populates
'entries' with some DBIx::Class iterator, the code would look something
like this:
create a database table and load some sample data. We will use
SQLite (L<http://www.sqlite.org>), a popular database that is
lightweight and easy to use. Be sure to get at least version 3. Open
+create a database table and load some sample data. We will use
+L<SQLite|http://www.sqlite.org>, a popular database that is
+lightweight and easy to use. Be sure to get at least version 3. Open
C<myapp01.sql> in your editor and enter:
--
[% c.log.debug("This is a test log message") %]
-As with many other logging facilities, you a method is defined for
+As with many other logging facilities, a method is defined for
each of the following "logging levels" (in increasing order of
severity/importance):
=head1 APPENDIX 2: USING POSTGRESQL AND MYSQL
The main database used in this tutorial is the very simple yet powerful
-SQLite. This section provides information that can be used to "convert"
-the tutorial to use PostgreSQL and MySQL. However, note that part of
+L<SQLite|http://www.sqlite.org>. This section provides information
+that can be used to "convert" the tutorial to use
+L<PostgreSQL|http://www.postgresql.org> and
+L<MySQL|http://dev.mysql.com>. However, note that part of
the beauty of the MVC architecture is that very little database-specific
code is spread throughout the system (at least when MVC is "done
right"). Consequently, converting from one database to another is
=head2 MySQL
-B<NOTE:> This section is out of data with the rest of the tutorial.
+B<NOTE:> This section is out of date with the rest of the tutorial.
Consider using SQLite or PostgreSQL since they are current.
Use the following steps to adapt the tutorial to MySQL. Thanks to Jim