Name : perl-MVC-Neaf
| |
Version : 0.2901
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-08-02 07:38:33
|
Group : Unspecified
| Source RPM : perl-MVC-Neaf-0.2901-lp154.1.1.src.rpm
|
Size : 0.40 MB
| |
Packager : https://www_suse_com/
| |
Summary : Not Even A (Web Application) Framework
|
Description :
Neaf \'[ni:f]\' stands for Not Even A Framework.
The *Model* is assumed to be just a regular Perl module, no restrictions are imposed on it.
The *View* is an object with one method, \'render\', receiving a hashref and returning rendered content as string plus optional content-type header.
The *Controller* is a prefix tree of subroutines called _handlers_. Each such handler receives a MVC::Neaf::Request object containing _all_ it needs to know about the outside world, and returns a simple \'\\%hashref\' which is forwarded to View.
Alternatively, it can die. \'die 404\' is a valid way to return a customizable \"404 Not Found\" page.
Please see the \'example\' directory in this distribution that demonstrates the features of Neaf.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.4/noarch |