SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : perl-Catalyst-View-TT
Version : 0.460.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 150600.1.1 Date : 2024-07-30 23:33:38
Group : Unspecified Source RPM : perl-Catalyst-View-TT-0.460.0-150600.1.1.src.rpm
Size : 0.09 MB
Packager : https://www_suse_com/
Summary : Template View Class
Description :
This is the Catalyst view class for the Template Toolkit. 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 Catalyst\'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 Catalyst::Action::RenderView for more details.

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

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Catalyst-View-TT-0.460.0-150600.1.1.noarch.rpm
     

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

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Catalyst) >= 5.700.0
perl(Class::Accessor)
perl(Data::Dump)
perl(MRO::Compat)
perl(Path::Class)
perl(Template)
perl(Template::Timer)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/Helper
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/Helper/View
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/Helper/View/TT.pm
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/Helper/View/TTSite.pm
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/View
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/View/TT.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-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/licenses/perl-Catalyst-View-TT
/usr/share/licenses/perl-Catalyst-View-TT/LICENSE
/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