X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FIntro.pod;h=560274d47fbf7486db847b7c0e9e540bf7e9552a;hb=6f4e1683d466d0123cc7507b29a55b474ddca594;hp=c78366fe5be180b422f355830f28ce3e30418cb1;hpb=4a6895ce26f166f3b58aee8c691fce662f835865;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index c78366f..560274d 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -71,6 +71,8 @@ Use L or L. The best part is that Catalyst implements all this flexibility in a very simple way. +=over 4 + =item * B Components interoperate very smoothly. For example, Catalyst automatically makes a L object available in every component. Via the context, you can access the request object, share data between components, and control the flow of your application. Building a Catalyst application feels a lot like snapping together toy building blocks, and everything just works. @@ -91,6 +93,8 @@ Catalyst comes with a builtin, lightweight http server and test framework, makin Catalyst provides helper scripts to quickly generate running starter code for components and unit tests. +=back + =head2 Quickstart Here's how to install Catalyst and get a simple application up and running, using the helper scripts described above. @@ -101,13 +105,13 @@ Here's how to install Catalyst and get a simple application up and running, usin =head3 Setup - $ perl /path/to/catalyst My::App + $ catalyst.pl My::App $ cd My-App - $ perl bin/create controller My::Controller + $ script/create.pl controller My::Controller =head3 Run - $ perl bin/server + $ script/server.pl Now visit these locations with your favorite browser or user agent to see Catalyst in action: @@ -552,23 +556,26 @@ Catalyst has a built in http server for testing! (Later, you can easily use a mo Start your application on the command line... - perl -I/home/joeuser/myapp/lib -MCatalyst::Test=MyApp -e1 3000 - -or - - perl bin/server + script/server.pl ...then visit http://localhost:3000/ in a browser to view the output. You can also do it all from the command line: - perl -I/home/joeuser/myapp/lib -MCatalyst::Test=MyApp -e1 http://localhost/ + script/test.pl http://localhost/ -or +Have fun! - perl bin/test http://localhost/ +=head1 SUPPORT -Have fun! +IRC: + + Join #catalyst on irc.perl.org. + +Mailing-Lists: + + http://lists.rawmode.org/mailman/listinfo/catalyst + http://lists.rawmode.org/mailman/listinfo/catalyst-dev =head1 AUTHOR