package Pickles; use strict; use warnings; our $VERSION = '0.10'; 1; __END__ =head1 NAME Pickles - simple web application framework =head1 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.