Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A micro web framework that doesn't get in the way, or suck.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 inc
Octocat-spinner-32 lib
Octocat-spinner-32 script
Octocat-spinner-32 sweet Added various tests, Changed output method, Fixed debug method, Sweet…
Octocat-spinner-32 t
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 META.yml
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 ignore.txt
README
SweetPea - A web framework that doesn't get in the way, or suck.

SweetPea is a modern web application framework that follows the MVC (Model,
View, Controller) design pattern using useful concepts from Mojolicious, Catalyst
and other robust web frameworks. SweetPea has a short learning curve, is
light-weight, as scalable as you need it to be, and requires little configuration.

SYNOPSIS

use SweetPea;
sweet->routes({

    '/' => sub {
	shift->forward('/way');
    },
    
    '/way' => sub {
	shift->html('I am the way the truth and the light!');
    }
    
})->run;

FRAMEWORK INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

APPLICATION CREATION

Navigate to the directory where you will be build the application and run:

	... at the cli (command line interface)
	> sweetpea make --script

MODULE TESTING

	See http://www.cpantesters.org/distro/S/SweetPea.html for testing information.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc SweetPea
    -or-
    perldoc SweetPea.pm

You can also look for information at:

    RT, CPAN's request tracker
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=SweetPea

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/SweetPea

    CPAN Ratings
        http://cpanratings.perl.org/d/SweetPea

    Search CPAN
        http://search.cpan.org/dist/SweetPea/


COPYRIGHT AND LICENCE

Copyright (C) 2009 Al Newkirk

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

Something went wrong with that request. Please try again.