NAME

Pickles - simple web application framework

SYNOPSIS

% pickles-setup MyApp
% cd MyApp
% plackup MyApp.psgi

## etc/routes.pl
router {
    connect '/' => { controller => 'Root', action => 'index' };
};

## etc/config.pl

return +{};

## lib/MyApp/Context.pm
package MyApp::Context;

use strict;
use warnings;
use parent 'Pickles::Context';
use MyApp::Model::Test;

__PACKAGE__->load_plugins(qw(Encode));

## lib/MyApp/Controller/Root.pm
package MyApp::Controller::Root;
use strict;
use warnings;
use parent 'Pickles::Controller';

sub index {
    my( $self, $c ) = @_;
}

1;

__END__

## view/index.html
# Text::Xslate with TTerse syntax.
<html>
<head>
    <title>[% c.appname | html %]</title>
</head>
<body>
<h1>Hello [% c.appname | html %]!</h1>
</body>
</html>

DESCRIPTION

Pickles is a simple web application framework, which is based upon Plack.

AUTHOR

Tomohiro Ikebe <ikebe {at} livedoor.jp>

SEE ALSO

Plack, Sledge

LICENSE

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