Satoshi Azuma > Nephia-Plugin-View-Xslate-0.01 > Nephia::Plugin::View::Xslate

Download:
Nephia-Plugin-View-Xslate-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Nephia::Plugin::View::Xslate - A plugin for Nephia that provides template mechanism

SYNOPSIS ^

    use Nephia plugins => [
        'View::Xslate' => +{
            syntax => 'Kolon',
            path   => [ qw/ view / ],
        },
    ];
    
    app {
        [200, [], render('index.html', { name => 'myapp' })];
    };

DESCRIPTION ^

Nephia::Plugin::View::Xslate provides render DSL for rendering template.

DSL ^

render $template_file [, $hashref];

Returns rendered content.

LICENSE ^

Copyright (C) ytnobody.

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

AUTHOR ^

ytnobody <ytnobody@gmail.com>

syntax highlighting: