perl-Catalyst-ControllerRole-At-0.005-alt1.noarch.rpm


Advertisement

Description

perl-Catalyst-ControllerRole-At - Alternative syntax for describing Catalyst routes

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Catalyst-ControllerRole-At
Package version 0.005
Package release alt1
Package architecture noarch
Package type rpm
Installed size 60.63 KB
Download size 60.63 KB
Official Mirror ftp.altlinux.org
The way the Catalyst manpage uses method attributes to annote a subroutine with meta
information used to map that action to an incoming request has sometimes been difficult
for newcomers to the framework.  Partly this is due to how the system evolved and was
augmented, with more care towards backwards compatibility (for example with the Maypole manpage, its
architectural anscestor) than with designing a forward system that is easy to grasp.
Additionally aspects of the system such as chained dispatch are very useful in the
hands of an expert but the interface leaves a lot to be desired.  For example it is
possible to craft actions that mix chaining syntax with 'classic' syntax in ways that
are confusing.  And having more than one way to do the same thing without clear and
obvious benefits is confusing to newcomers.
Lastly, the core the Catalyst::Controller manpage syntax has confusing defaults that are not readily guessed.
For example do you know the difference (if any) between Args and Args()?  Or the difference
between Path, Path(''), and Path()?  In many cases defaults are applied that were not
intended and things that you might think are the same turn out to have different effects.  All
this conspires to worsen the learning curve.
This role defines an alternative syntax that we hope is easier to understand and for the most
part eliminates defaults and guessed intentions.  It only defines two method attributes, "At()"
and "Via()", which have no defaults and one of which is always required.  It also smooths
over differences between 'classic' route matching using :Local and :Path and the newer
syntax based on Chaining by providing a single approach that bridges between the two
styles.  One can mix and match the two without being required to learn a new syntax or to
rearchitect the system.
The "At()" syntax more closely resembles the type of URL you are trying to match, which should
make code creation and maintainance easier by reducing the mental mismatch that happens with
the core syntax.
Ultimately ...

Alternatives

Package Version Architecture Repository
perl-Catalyst-ControllerRole-At - - -

Requires

Name Value
/usr/share/perl5 -
perl(Moose/Role.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Catalyst/ControllerRole/At.pm) = 0.005
perl-Catalyst-ControllerRole-At = 0.005-alt1

Download

Type URL
Binary Package perl-Catalyst-ControllerRole-At-0.005-alt1.noarch.rpm
Source Package perl-Catalyst-ControllerRole-At-0.005-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Catalyst-ControllerRole-At rpm package:
    # sudo apt-get install perl-Catalyst-ControllerRole-At

Files

Path
/usr/share/doc/perl-Catalyst-ControllerRole-At-0.005/Changes
/usr/share/doc/perl-Catalyst-ControllerRole-At-0.005/LICENSE
/usr/share/doc/perl-Catalyst-ControllerRole-At-0.005/README
/usr/share/doc/perl-Catalyst-ControllerRole-At-0.005/README.mkdn
/usr/share/perl5/Catalyst/
/usr/share/perl5/Catalyst/ControllerRole/At.pm

See Also

Package Description
perl-Catalyst-ControllerRole-CatchErrors-0.05-alt1.noarch.rpm custom error handling in your controller
perl-Catalyst-Engine-Apache-1.16-alt1_21.noarch.rpm Catalyst Apache Engines
perl-Catalyst-Engine-Embeddable-0.000003-alt1.noarch.rpm Use a Catalyst application as an object
perl-Catalyst-Engine-PSGI-0.13-alt2_10.noarch.rpm PSGI engine for Catalyst
perl-Catalyst-Engine-XMPP2-0.4-alt1.noarch.rpm AnyEvent::XMPP::Connection Catalyst Engine
perl-Catalyst-Enzyme-0.11-alt1.noarch.rpm CRUD framework for Catalyst
perl-Catalyst-Helper-Controller-Scaffold-0.04-alt1.noarch.rpm perl module Catalyst-Helper-Controller-Scaffold
perl-Catalyst-Helper-Controller-Scaffold-HTML-Template-0.04-alt1.noarch.rpm Helper for Scaffolding using HTML::Template
perl-Catalyst-Helper-Controller-Scaffold-Mason-0.03-alt1.noarch.rpm perl module Catalyst-Helper-Controller-Scaffold-Mason
perl-Catalyst-Helper-DBIC-DeploymentHandler-0.001-alt1.noarch.rpm Create a script/myapp_dbicdh.pl to help manage your DBIC deployments
perl-Catalyst-Helper-Doc-0.04-alt1.noarch.rpm documentation page generator
perl-Catalyst-Helper-Dojo-0.02000-alt1.noarch.rpm Helper to generate Dojo JavaScript / AJAX library
perl-Catalyst-Helper-FastCGI-ExternalServer-0.05-alt1_26.noarch.rpm FastCGI daemon start/stop script for using FastCgiExternalServer
perl-Catalyst-Helper-Graphics-0.1-alt1.noarch.rpm perl module Catalyst-Helper-Graphics
perl-Catalyst-Helper-HTML-FormHandler-Scripts-0.001-alt1.noarch.rpm Create a script/myapp_hfh.pl to help with forms
Advertisement
Advertisement