Dancer2 is the new generation lightweight web-framework for Perl.
You can install it from the CPAN:
$ cpan install Dancer2
An application can be as simple as this simple hello world script:
use Dancer2;
get '/' => sub {
"Hello World"
};
dance;
You can run it with
$ perl app.pl
Now point your browser to http://localhost:3000 and voilà!
- Dancer's Website
- Most recent release on CPAN
- Builds status on Travis
- Our Mailing List
- Follow us on Twitter
- Find us on irc.per.org #dancer
- The Advent Calendar
- Contribution/Git Guide
Name | Type | Link |
---|---|---|
Dancer2::Session::Cookie | Session | CPAN |
Dancer2::Plugin::Syntax::GetPost | Syntactic sugar | CPAN |
Dancer2::Plugin::BrowserDetect | CPAN | |
Dancer2::Plugin::RoutePodCoverage | Test | CPAN |
Dancer2::Plugin::Auth::Tiny | Auth | CPAN |
Dancer2::Plugin::Queue::MongoDB | Queue | CPAN |
Dancer2::Plugin::Paginator | Pagination | CPAN |
Dancer2::Plugin::Deferred | Flash Message | CPAN |
Dancer2::Plugin::Adapter | Class Wrapper | CPAN |
Dancer2::Plugin::DBIC | Database | CPAN |
Dancer2::Plugin::REST | API | CPAN |
Dancer2::Plugin::Emailesque | CPAN | |
Dancer2::Plugin::Cache::CHI | Cache | CPAN |
Dancer2::Plugin::Queue | Queue | CPAN |
Dancer2::Plugin::Database | Database | CPAN |
Dancer2::Plugin::Feed | Feed | CPAN |
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.