Hans Dieter Pearcey > Catalyst-Plugin-Static-TT > Catalyst::Plugin::Static::TT

Download:
Catalyst-Plugin-Static-TT-0.002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.002   Source  

NAME ^

Catalyst::Plugin::Static::TT - generate 'static' content with TT

VERSION ^

Version 0.002

SYNOPSIS ^

    use Catalyst qw/Static::TT Static::Simple/;

DESCRIPTION ^

Sometimes you have 'static' content that isn't really static. It stays the same for the entire lifetime of your application, or maybe it only changes depending on whether you're in your development or production environment.

You'd really like to generate this content only once and then avoid filling it out again for each request.

CONFIGURATION ^

All these options may be set in the MyApp->config->{static_tt}.

stash

stash for your templates

dirs

arrayref of directories to search for templates (default: 'static')

include_path

as TT's INCLUDE_PATH (default: MyApp->config->{root})

extensions

arrayref of extensions to process (default: 'tt', 'tt2')

tt_config

hashref of extra configuration for TT (default: empty)

catalyst_var

name of your Catalyst context variable (default: 'c')

INTERNAL METHODS ^

setup

Configures and then compiles all static-TT files.

AUTHOR ^

Hans Dieter Pearcey, <hdp at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-catalyst-plugin-static-tt at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Plugin-Static-TT. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Catalyst::Plugin::Static::TT

You can also look for information at:

This module is hosted on the public git repository at http://repo.or.cz/.

  git clone http://repo.or.cz/w/Catalyst-Plugin-Static-TT.git

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2006 Hans Dieter Pearcey, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: