A mini sized WAF that was revived like hell-knight via boson jump (see https://github.com/nephia/Nephia)
Perl
Switch branches/tags
Nothing to show
Latest commit 59606d5 Sep 3, 2013 @ytnobody s/Voson/Nephia/gi
Permalink
Failed to load latest commit information.
bin s/Voson/Nephia/gi Sep 3, 2013
lib s/Voson/Nephia/gi Sep 3, 2013
t s/Voson/Nephia/gi Sep 3, 2013
.gitignore s/Voson/Nephia/gi Sep 3, 2013
.travis.yml fix for coveralls Jul 31, 2013
Build.PL s/Voson/Nephia/gi Sep 3, 2013
Changes s/Voson/Nephia/gi Sep 3, 2013
LICENSE init Jul 22, 2013
META.json s/Voson/Nephia/gi Sep 3, 2013
README.md s/Voson/Nephia/gi Sep 3, 2013
cpanfile add Class::Accessor::Lite as deps Aug 13, 2013

README.md

NAME

Nephia - A mini-sized WAF that aimed to substitute for Nephia

SYNOPSIS

use Nephia plugins => [...];
app {
    my $req  = req;         ### Request object
    my $id   = param('id'); ### query-param that named "id" 
    my $body = sprintf('ID is %s', $id);
    [200, [], $body];
};

DESCRIPTION

Nephia is microcore architecture WAF.

GETTING STARTED

Let's try to create your project.

nephia-setup YourApp::Web

Then, you may plackup on your project directory.

Please see Nephia::Setup::Plugin::Basic for detail.

BOOTSTRAP A MINIMALIST STRUCTURE

Use "--plugins Minimal" option to minimalistic setup.

nephia-setup --plugins Minimal YourApp::Mini

Please see Nephia::Setup::Plugin::Minimal for detail.

LOAD OPTIONS

Please see Nephia::Core.

DSL

app

app { ... };

Specify code-block of your webapp.

other two basic DSL

Please see Nephia::Plugin::Basic.

dispatcher DSL

Please see Nephia::Plugin::Dispatch.

EXPORTS

run

In app.psgi, run() method returns your webapp as coderef.

use YourApp::Web;
YourApp::Web->run;

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