X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README;h=7ebe2a2f752759a4a14d2213a283d4f1289803a4;hb=f56990fa9c318716c04de16af8f9dc19412fc226;hp=5e9958b38a7f682a44f5fa64159d669b2fb750b7;hpb=4be6aea7831ff59f2e333b8fffae649a010d89ca;p=catagits%2FCatalyst-Runtime.git diff --git a/README b/README index 5e9958b..7ebe2a2 100644 --- a/README +++ b/README @@ -7,15 +7,15 @@ SYNOPSIS cd MyApp # add models, views, controllers - script/create.pl model Something - script/create.pl view Stuff - script/create.pl controller Yada + script/myapp_create.pl model Something + script/myapp_create.pl view Stuff + script/myapp_create.pl controller Yada # built in testserver - script/server.pl + script/myapp_server.pl # command line interface - script/test.pl /yada + script/myapp_test.pl /yada use Catalyst; @@ -30,10 +30,10 @@ SYNOPSIS sub index : Path('/index.html') { my ( $self, $c ) = @_; $c->res->output('Hello'); - $c->forward('_foo'); + $c->forward('foo'); } - sub product : Regex('/^product[_]*(\d*).html$/') { + sub product : Regex('^product[_]*(\d*).html$') { my ( $self, $c ) = @_; $c->stash->{template} = 'product.tt'; $c->stash->{product} = $c->req->snippets->[0]; @@ -42,9 +42,6 @@ SYNOPSIS See also Catalyst::Manual::Intro DESCRIPTION - Catalyst is based upon Maypole, which you should consider for smaller - projects. - The key concept of Catalyst is DRY (Don't Repeat Yourself). See Catalyst::Manual for more documentation. @@ -101,6 +98,25 @@ METHODS Your log class should implement the methods described in the "Catalyst::Log" man page. + $c->plugin( $name, $class, @args ) + Instant plugins for Catalyst. Classdata accessor/mutator will be + created, class loaded and instantiated. + + MyApp->plugin( 'prototype', 'HTML::Prototype' ); + + $c->prototype->define_javascript_functions; + +CASE SENSITIVITY + By default Catalyst is not case sensitive, so "MyApp::C::FOO::Bar" + becomes "/foo/bar". + + But you can activate case sensitivity with a config parameter. + + MyApp->config->{case_sensitive} = 1; + +LIMITATIONS + mod_perl2 support is considered experimental and may contain bugs. + SUPPORT IRC: @@ -111,6 +127,10 @@ SUPPORT http://lists.rawmode.org/mailman/listinfo/catalyst http://lists.rawmode.org/mailman/listinfo/catalyst-dev + Web: + + http://catalyst.perl.org + SEE ALSO Catalyst::Manual - The Catalyst Manual Catalyst::Engine - Core Engine @@ -123,10 +143,11 @@ AUTHOR Sebastian Riedel, "sri@oook.de" THANK YOU - Andrew Ford, Andrew Ruthven, Christian Hansen, Christopher Hicks, Dan - Sully, Danijel Milicevic, David Naughton, Gary Ashton Jones, Jesse - Sheidlower, Johan Lindstrom, Marcus Ramberg, Tatsuhiko Miyagawa and all - the others who've helped. + Andy Grundman, Andrew Ford, Andrew Ruthven, Autrijus Tang, Christian + Hansen, Christopher Hicks, Dan Sully, Danijel Milicevic, David Naughton, + Gary Ashton Jones, Geoff Richards, Jesse Sheidlower, Jody Belka, Johan + Lindstrom, Juan Camacho, Leon Brocard, Marcus Ramberg, Tatsuhiko + Miyagawa and all the others who've helped. LICENSE This library is free software . You can redistribute it and/or modify it