NAME

Dancer::Template::TemplateFlute - Template::Flute wrapper for Dancer

VERSION

Version 0.0023

DESCRIPTION

This class is an interface between Dancer's template engine abstraction layer and the Template::Flute module.

In order to use this engine, use the template setting:

template: template_flute

The default template extension is ".html".

ITERATORS

Iterators can be specified explicitly in the configuration file as below.

engines:
  template_flute:
    iterators:
      fruits:
        class: JSON
        file: fruits.json

FILTER OPTIONS

Filter options and classes can be specified in the configuration file as below.

engines:
  template_flute:
    filters:
      currency:
        options:
          int_curr_symbol: "$"
      image:
        class: "Flowers::Filters::Image"
  

METHODS

default_tmpl_ext

Returns default template extension.

render TEMPLATE TOKENS

Renders template TEMPLATE with values from TOKENS.

SEE ALSO

Dancer, Template::Flute

AUTHOR

Stefan Hornburg (Racke), <racke@linuxia.de>

BUGS

Please report any bugs or feature requests to bug-template-flute at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Flute.

SUPPORT

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

perldoc Template::Flute

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2011 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.