Skip to content

skaji/Frinfon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9c01279 · Apr 26, 2017

History

12 Commits
Oct 19, 2015
Oct 19, 2015
Oct 19, 2015
Feb 4, 2016
Feb 4, 2016
Oct 18, 2015
Apr 26, 2017
Feb 4, 2016

Repository files navigation

Build Status

NAME

Frinfon - minimal sinatra

SYNOPSIS

# app.psgi
use Frinfon;

get '/' => sub ($c) {
    $c.render-text("hello world\n");
};

get '/:user' => sub ($c) {
    my $user = $c.captured<user>;
    $c.render-json: { message => "hello $user!" };
};

app;

# terminal
> crustup app.psgi

DESCRIPTION

Frinfon is a minimal sinatra, a well-known ruby web application framework. You may write a simple web application with Frinfon quickly.

More useful sinatra (or Kossy?) coming soon!

PROBLEMS

I thought perl6 did not have perl5's import method. It's wrong! perl6 has EXPORT subroutine!

AUTHOR

Shoichi Kaji [email protected]

COPYRIGHT AND LICENSE

Copyright 2015 Shoichi Kaji

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

About

minimal sinatra for perl6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%