Catalyst-Manual
view release on metacpan or search on metacpan
lib/Catalyst/Manual/Tutorial/01_Intro.pod view on Meta::CPAN
Catalyst v5.90002
=item *
Catalyst::Devel v1.34
=item *
DBIx::Class v0.08195
=item *
Catalyst::Model::DBIC::Schema v0.54
=item *
Template Toolkit v2.22
=item *
HTML::FormFu -- v0.09004
=item *
B<NOTE:> You can check the versions you have installed with the
following command (note the slash before the space):
perl -M<_mod_name_>\ 999
or:
perl -M<_mod_name_> -e 'print "$<_mod_name_>::VERSION\n"'
For example:
perl -MCatalyst::Devel\ 999
or:
perl -MCatalyst::Devel -e 'print "$Catalyst::Devel::VERSION\n";'
=item *
This tutorial will show URLs in the format of C<http://localhost:3000>,
but if you are running your web browser from outside the Tutorial
Virtual Machine, you will want to substitute the IP address of your VM
for the C<localhost> in the URLs (again, you can get the IP address for
eth0 from the C<ifconfig> command). For example, if your VM has an
IP address of 192.168.0.12, you will want to use a base URL of
C<http://192.168.0.12:3000>. Note that the development server
defaults to port 3000 (you can change with the "-p" option on the
command line).
B<Please Note:> Depending on the web browser you are using, you might
need to hit C<Shift+Reload> or C<Ctrl+Reload> to pull a fresh page when
testing your application at various points (see
L<https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache> for a
comprehensive list of options for each browser).
Also, the C<-k> B<keepalive option> to the development server can be
necessary with some browsers (B<especially Internet Explorer>).
=back
=head1 DATABASES
This tutorial will primarily focus on SQLite because of its simplicity
of installation and use; however, modifications in the script required
to support MySQL and PostgreSQL will be presented in the Appendix.
B<Note:> One of the advantages of using tools like Catalyst and DBIC is
that applications become much more database independent. As such, you
will notice that only the C<.sql> files used to initialize the database
change between database systems: most of the code generally remains the
same.
You can jump to the next chapter of the tutorial here:
L<Catalyst Basics|Catalyst::Manual::Tutorial::02_CatalystBasics>
=head1 AUTHOR
Kennedy Clark, C<hkclark@gmail.com>
Feel free to contact the author for any errors or suggestions, but the
best way to report issues is via the CPAN RT Bug system at
L<https://rt.cpan.org/Public/Dist/Display.html?Name=Catalyst-Manual>.
Copyright 2006-2011, Kennedy Clark, under the
Creative Commons Attribution Share-Alike License Version 3.0
(L<https://creativecommons.org/licenses/by-sa/3.0/us/>).
( run in 1.032 second using v1.01-cache-2.11-cpan-39bf76dae61 )