Yukki::Web - the Yukki web server
version 0.991_004
This class handles the work of dispatching incoming requests to the various controllers.
This is the Path::Router that will determine where incoming requests are sent. It is automatically set to a Yukki::Web::Router instance.
my @plugins = $app->all_plugins; my @format_helpers = $app->format_helper_plugins; my @formatters = $app->format_plugins;
This attribute stores all the loaded plugins.
Helper method used by "controller" and "view".
my $controller = $app->controller($name);
Returns an instance of the named Yukki::Web::Controller.
my $view = $app->view($name);
Returns an instance of the named Yukki::Web::View.
my $response = $app->dispatch($env);
This is a PSGI application in a method call. Given a PSGI environment, maps that to the appropriate controller and fires it. Whether successful or failure, it returns a PSGI response.
enable $app->session_middleware;
Returns the setup for the PSGI session middleware.
my $link = $app->munch_label("This is a label");
Turns some label into a link slug using the standard means for doing so.
A convenience accessor that returns plugins as a list.
plugins
Returns all the format helper plugins as a list.
Returns all the formatter plugins as a list.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2017 by Qubling Software LLC.
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 Yukki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yukki
CPAN shell
perl -MCPAN -e shell install Yukki
For more information on module installation, please visit the detailed CPAN module installation guide.