The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::TinyMVC - A lightweight MVC framework for dynamic content

VERSION

Version 0.01

SYNOPSIS

    use App::TinyMVC;

    my $tinymvc = new App::TinyMVC (
      controller => 'books',
      action => 'list',
      args => [@args],
      context => {
        params => {...},
      }
    );

    $tinymvc->process;

FUNCTIONS

new

Create a new App::TinyMVC object.

process

Process requested action from a controller.

validate_args

Validate arguments.

log

Log information somewhere...

controller

Returns requested controller.

action

Returns requested action.

args

Returns arguments given by request.

sapo

Returns SAPO object.

stash

XXX

AUTHOR

Nuno Carvalho, <smash at cpan.org> David Oliveira, <doliveira at cpan.org>

BUGS

Please report any bugs or feature requests to bug-app-tinymvc at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-TinyMVC. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc App::TinyMVC

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2010 Nuno Carvalho, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.