Shipped full featured Plack clone for Perl6 named `Crust`
Hi, i'm tokuhirom, one of the core developer of Plack.
During the past few weeks, I've been hack the Perl6. This is to celebrate the Christmas in the best mood.
I'm a minimalist, and I love a software built on clean and well tested parts. I mean tokuhirom loves CPAN. To write the practical web applications in Perl6, it has released some of the library.
- HTTP::Server::Tiny - IO::Socket::Async based full-featured HTTP/1.1 PSGI ready web application server(Port of Starlet).
- HTTP::Parser - Port of HTTP::Parser::XS(In pure Perl6, only ported HTTP request parser, for now).
- Getopt::Tiny - Port of Getopt::Long
- HTTP::MultiPartParser - multipart/form-data parser.
Finally, by using these software, we have succeeded in transplanting the Plack. It's named Crust.
https://github.com/tokuhirom/p6-Crust/
I, and documentation issue(you know, my English is not good)t contains following modules.
- Crust::App::File
- Crust::Handler::HTTP::Easy
- Crust::Handler::HTTP::Server::Tiny
- Crust::Headers
- Crust::MIME
- Crust::Middleware::AccessLog
- Crust::Request
- Crust::Request::Upload
- Crust::Response
You can install it by panda.
panda install Crust.
And there is a crustup
command. You can run your P6SGI application by following comamnd:
crustup -e '-> $env { 200, [], ["ok"] }'
crustup app.psgi
We need your contribution for this project. There are some missing parts.
Thanks,