Group
Extension

Matches 1

Catalyst-View-Text-MicroTemplate-PerRequest ( J/JJ/JJNAPIORK/Catalyst-View-Text-MicroTemplate-PerRequest-0.005.tar.gz, JJNAPIORK, 2016; MetaCPAN )
Catalyst-View-Text-MicroTemplate-PerRequest/lib/Catalyst/View/Text/MicroTemplate/PerRequest.pm ( view source; MetaCPAN )
icroTemplate::_PerRequest';
}

1;

=head1 NAME

Catalyst::View::Text::MicroTemplate::PerRequest - JSON View that owns its data 

=head1 SYNOPSIS

    MyApp->inject_components(
      'View::HTML' => { 
;
    }

    sub endpoint :Chained(midpoint) Args(0) {
      my ($self, $c) = @_;
      $c->view('JSON')->created({
        a => 1,
        b => 2,
        c => 3,
      });
    }

    # template $HOM
tyle view that produces JSON is L<Catalyst::View::JSON::PerRequest>.
In fact this was written so that I could have a view that did HTML with an identical
interface as that JSON view, to make it easier

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.