Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A mini sized WAF that was revived like hell-knight via boson jump (see https://github.com/nephia/Nephia)
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
t
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile

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

Something went wrong with that request. Please try again.