Perinci::Web - Rinci/Riap-based web application framework
This document describes version 0.01 of Perinci::Web (from Perl distribution Perinci-Web), released on 2015-09-04.
Perinci::Web is a web application framework. It will let you define routes to your functions (accessed via Riap protocol), templating, assets, etc. The spirit is much like Perinci::CmdLine: to let you write as much core functionality in normal Perl functions equipped with metadata rich enough to make converting/using them in a web application to be as easy as possible.
It is not implemented yet.
Create an instance.
Generate a PSGI application. You can then deploy your web application using any PSGI web server.
The main difference is that Perinci::Web accesses your code through Riap protocol, not directly. This means that aside from local Perl code, Perinci::Web can also provide web application interface for code in remote hosts/languages.
Aside from this difference, there are several others: XXX
This is one of the reasons why the Riap (specifically, Riap::HTTP) protocol was created. You can easily provide API access to your functions using Perinci::Access::HTTP::Server.
Perinci, Rinci, Riap.
Perinci::CmdLine. This is a command-line application framework and not a web application framework, but Perinci::Web is created in the same spirit as this module.
Please visit the project's homepage at https://metacpan.org/release/Perinci-Web.
Source repository is at https://github.com/perlancar/perl-Perinci-Web.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Web
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perinci::Web, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci::Web
CPAN shell
perl -MCPAN -e shell install Perinci::Web
For more information on module installation, please visit the detailed CPAN module installation guide.