From: Graham Knop Date: Thu, 12 Apr 2018 14:39:56 +0000 (+0200) Subject: update README.mkdn X-Git-Tag: v5.90118~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=9868e0a0023cc8b598d60f150ea367e0056a65f3 update README.mkdn --- diff --git a/README.mkdn b/README.mkdn index 203d418..6eec9ea 100644 --- a/README.mkdn +++ b/README.mkdn @@ -727,7 +727,7 @@ constraints. - \\@captures\_and\_args? - Optional array reference of Captures (i.e. `captures>) + Optional array reference of Captures (i.e. `CaptureArgs` or `$c->req->captures`) and arguments to the request. Usually used with [Catalyst::DispatchType::Chained](https://metacpan.org/pod/Catalyst::DispatchType::Chained) to interpolate all the parameters in the URI. @@ -1160,7 +1160,7 @@ component or component object. Example: my $config = MyApp->config_for('MyApp::Model::Foo'); -In this case $config is the hashref ` {a=`1, b=>2} >. +In this case $config is the hashref `{a=>1, b=>2}`. This is also handy for looking up configuration for a plugin, to make sure you follow existing [Catalyst](https://metacpan.org/pod/Catalyst) standards for where a plugin should put its configuration. @@ -1405,14 +1405,14 @@ only two default data handlers, for 'application/json' and an alternative to [CGI::Struct](https://metacpan.org/pod/CGI::Struct) or via [CGI::Struct::XS](https://metacpan.org/pod/CGI::Struct::XS) IF you've installed it. The 'application/json' data handler is used to parse incoming JSON into a Perl -data structure. It used either [JSON::MaybeXS](https://metacpan.org/pod/JSON::MaybeXS) or [JSON](https://metacpan.org/pod/JSON), depending on which -is installed. This allows you to fail back to [JSON:PP](JSON:PP), which is a Pure Perl -JSON decoder, and has the smallest dependency impact. +data structure. It uses [JSON::MaybeXS](https://metacpan.org/pod/JSON::MaybeXS). This allows you to fail back to +[JSON::PP](https://metacpan.org/pod/JSON::PP), which is a Pure Perl JSON decoder, and has the smallest dependency +impact. Because we don't wish to add more dependencies to [Catalyst](https://metacpan.org/pod/Catalyst), if you wish to -use this new feature we recommend installing [JSON](https://metacpan.org/pod/JSON) or [JSON::MaybeXS](https://metacpan.org/pod/JSON::MaybeXS) in -order to get the best performance. You should add either to your dependency -list (Makefile.PL, dist.ini, cpanfile, etc.) +use this new feature we recommend installing [Cpanel::JSON::XS](https://metacpan.org/pod/Cpanel::JSON::XS) in order to get +the best performance. You should add either to your dependency list +(Makefile.PL, dist.ini, cpanfile, etc.) ## $c->stack @@ -1426,7 +1426,7 @@ Returns the current timing statistics object. By default Catalyst uses [stats\_class](#c-stats_class). Even if [-Stats](#stats) is not enabled, the stats object is still -available. By enabling it with ` $c-`stats->enabled(1) >, it can be used to +available. By enabling it with `$c->stats->enabled(1)`, it can be used to profile explicitly, although MyApp.pm still won't profile nor output anything by itself. @@ -1816,7 +1816,7 @@ that parses that content type into something Perl can readily access. package MyApp::Web; use Catalyst; - use JSON::Maybe; + use JSON::MaybeXS; __PACKAGE__->config( data_handlers => { @@ -1828,7 +1828,7 @@ that parses that content type into something Perl can readily access. __PACKAGE__->setup; By default [Catalyst](https://metacpan.org/pod/Catalyst) comes with a generic JSON data handler similar to the -example given above, which uses [JSON::Maybe](https://metacpan.org/pod/JSON::Maybe) to provide either [JSON::PP](https://metacpan.org/pod/JSON::PP) +example given above, which uses [JSON::MaybeXS](https://metacpan.org/pod/JSON::MaybeXS) to provide either [JSON::PP](https://metacpan.org/pod/JSON::PP) (a pure Perl, dependency free JSON parser) or [Cpanel::JSON::XS](https://metacpan.org/pod/Cpanel::JSON::XS) if you have it installed (if you want the faster XS parser, add it to you project Makefile.PL or dist.ini, cpanfile, etc.) @@ -2131,19 +2131,19 @@ Caelum: Rafael Kitover chansen: Christian Hansen -Chase Venters `chase.venters@gmail.com` +Chase Venters chicks: Christopher Hicks -Chisel Wright `pause@herlpacker.co.uk` +Chisel Wright -Danijel Milicevic `me@danijel.de` +Danijel Milicevic davewood: David Schmidt David Kamholz -David Naughton, `naughton@umn.edu` +David Naughton David E. Wheeler @@ -2165,7 +2165,7 @@ gabb: Danijel Milicevic Gary Ashton Jones -Gavin Henry `ghenry@perl.me.uk` +Gavin Henry Geoff Richards @@ -2177,7 +2177,7 @@ ilmari: Dagfinn Ilmari Mannsåker jcamacho: Juan Camacho -jester: Jesse Sheidlower `jester@panix.com` +jester: Jesse Sheidlower jhannah: Jay Hannah @@ -2187,9 +2187,9 @@ Johan Lindstrom jon: Jon Schutz -Jonathan Rockway `` +Jonathan Rockway -Kieren Diment `kd@totaldatasolution.com` +Kieren Diment konobi: Scott McWhirter @@ -2225,7 +2225,9 @@ rafl: Florian Ragwitz random: Roland Lammel -Robert Sedlacek `` +revmischa: Mischa Spiegelmock + +Robert Sedlacek SpiceMan: Marcel Montes @@ -2239,17 +2241,17 @@ Ulf Edvinsson vanstyn: Henry Van Styn -Viljo Marrandi `vilts@yahoo.com` +Viljo Marrandi -Will Hawes `info@whawes.co.uk` +Will Hawes willert: Sebastian Willert wreis: Wallace Reis -Yuval Kogman, `nothingmuch@woobling.org` +Yuval Kogman -rainboxx: Matthias Dietrich, `perl@rainboxx.de` +rainboxx: Matthias Dietrich dd070: Dhaval Dhanani