OX is a Perl-based web framework powered by Bread::Board and PSGI.
SYNOPSIS
package MyApp;
use OX;
has template_root => (
is => 'ro',
isa => 'Str',
value => 'root',
);
has model => (
is => 'ro',
isa => 'MyApp::Model',
lifecycle => 'Singleton',
);
has tt => (
is => 'ro',
isa => 'Template',
dependencies => {
INCLUDE_PATH => 'template_root'
},
);
has root => (
is => 'ro',
isa => 'MyApp::Controller',
infer => 1,
);
router as {
route '/' => 'root.index';
route '/inc' => 'root.inc';
route '/dec' => 'root.dec';
route '/reset' => 'root.reset';
route '/set/:number' => 'root.set' => (
number => { isa => 'Int' },
);
};
Product's homepage
Requirements:
· Perl