SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Catalyst-View-TT rpm build for : OpenSuSE 13.X. For other distributions click perl-Catalyst-View-TT.

Name : perl-Catalyst-View-TT
Version : 0.44 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.1 Date : 2015-10-07 01:18:21
Group : Development/Libraries/Perl Source RPM : perl-Catalyst-View-TT-0.44-1.1.src.rpm
Size : 0.07 MB
Packager : (none)
Summary : Template View Class
Description :
This is the Catalyst view class for the Template. Your application should
defined a view class which is a subclass of this module. Throughout this
manual it will be assumed that your application is named _MyApp_ and you
are creating a TT view named _Web_; these names are placeholders and should
always be replaced with whatever name you\'ve chosen for your application
and your view. The easiest way to create a TT view class is through the
_myapp_create.pl_ script that is created along with the application:

$ script/myapp_create.pl view Web TT

This creates a _MyApp::View::Web.pm_ module in the _lib_ directory (again,
replacing \'MyApp\' with the name of your application) which looks something
like this:

package FooBar::View::Web;
use Moose;

extends \'Catalyst::View::TT\';

__PACKAGE__->config(DEBUG => \'all\');

Now you can modify your action handlers in the main application and/or
controllers to forward to your view class. You might choose to do this in
the end() method, for example, to automatically forward all actions to the
TT view class.



sub end : Private {
my( $self, $c ) = AATT_;
$c->forward( $c->view(\'Web\') );
}

But if you are using the standard auto-generated end action, you don\'t even
need to do this!


sub end : ActionClass(\'RenderView\') {} # no need to change this line


__PACKAGE__->config(
...
default_view => \'Web\',
);

This will Just Work. And it has the advantages that:

* *

If you want to use a different view for a given request, just set < <
$c->stash->{current_view}>>. (See the Catalyst manpage\'s \'$c->view\'
method for details.

* *

< < $c->res->redirect>> is handled by default. If you just forward to
\'View::Web\' in your \'end\' routine, you could break this by sending
additional content.

See the Catalyst::Action::RenderView manpage for more details.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_13.1/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(Catalyst::Helper::View::TT)
perl(Catalyst::Helper::View::TTSite)
perl(Catalyst::View::TT)
perl-Catalyst-View-TT

Requires :
perl(Template)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(Template::Timer)
perl(Data::Dump)
perl(Class::Accessor)
perl(Catalyst) => 5.7
perl(Path::Class)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
perl(MRO::Compat)
perl(:MODULE_COMPAT_5.18.1)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.18.1/Catalyst
/usr/lib/perl5/vendor_perl/5.18.1/Catalyst/Helper
/usr/lib/perl5/vendor_perl/5.18.1/Catalyst/Helper/View
/usr/lib/perl5/vendor_perl/5.18.1/Catalyst/Helper/View/TT.pm
/usr/lib/perl5/vendor_perl/5.18.1/Catalyst/Helper/View/TTSite.pm
/usr/lib/perl5/vendor_perl/5.18.1/Catalyst/View
/usr/lib/perl5/vendor_perl/5.18.1/Catalyst/View/TT.pm
/usr/lib/perl5/vendor_perl/5.18.1/i586-linux-thread-multi
/usr/share/doc/packages/perl-Catalyst-View-TT
/usr/share/doc/packages/perl-Catalyst-View-TT/Changes
/usr/share/doc/packages/perl-Catalyst-View-TT/README
/usr/share/man/man3/Catalyst::Helper::View::TT.3pm.gz
/usr/share/man/man3/Catalyst::Helper::View::TTSite.3pm.gz
/usr/share/man/man3/Catalyst::View::TT.3pm.gz

 
ICM