The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.12 - 2014-04-07

  • ENHANCEMENTS
    • GH#518: Bump jQuery to 1.10.2 (Grzegorz Rożniecki).
    • GH#535: Support OPTIONS and PATCH requests in Server::Standalone. (Russell Jenkins)
    • GH#553: Dancer2 CLI: specify directory to write app skeleton (Jean Stebens)
    • GH#543: Additional HTTP Methods for Ajax plugin (Jean Stebens).
  • DOCUMENTATION
    • RT#91428: POD encoding set to UTF-8 in main .pm (Gregor Herrmann).
    • GH#517: Miscellaneous documentation fixes (Cesare Gargano).
    • GH#518: "Getting started" demo page fixes (Grzegorz Rożniecki).
    • GH#522: s/PerlHandler/PerlResponseHandler/ in Apache2 sample configuration (Grzegorz Rożniecki)
    • GH#521: Remove duplicated POD and clean up list details (Shlomi Fish)
    • GH#526: Cleanup POD formating and code snippets in manual. (Grzegorz Rożniecki)
  • BUG FIXES
    • GH#528,529: Force PSGI server in dispatch scripts for CGI or fcgi deployments (Erik Smit, Alberto Simões)
    • GH#550,GH#551: Update all headers in Handler::File (Sawyer X, Stefan @racke Hornburg)
    • GH#540: Fix hook execution when default scalar was used in hook code. (baynes, Russell Jenkins)
    • GH#552: Rework test suite to use Plack::Test (Sawyer X, Stefan @racke Hornburg)
    • GH#560: Return value of hooks do not alter response content. (Jean Stebens)

Documentation

Configure Dancer2 to suit your needs
Example-driven quick-start to the Dancer2 web framework
A gentle introduction to Dancer2
Recommended Dancer2 plugins
An example to get you dancing
Dancer2 command line interface

Modules

Lightweight yet powerful web application framework
Dancer2 cli application
create new Dancer2 application
Core libraries for Dancer2 2.0
encapsulation of Dancer2 packages
handles everything proper to a request's context.
A cookie representing class
Dancer2's Domain Specific Language (DSL)
Class for dispatching request to the appropriate route handler
Class representing fatal errors
Instantiate components by type and name
helper for rendering HTTP status codes for Dancer2
Manipulate hooks with Dancer2
Class to ease manipulation of MIME types
Interface for accessing incoming requests
Class representing file upload requests
Response object for Dancer2
Config role for Dancer2 core objects
Role for engines
Role for Handlers
Role for handling headers
Role for hookable objects
Role for logger engines
Role for Serializer engines
Role for Server classes
Role for session factories
Role for file-based session factories
Role to provide commonly used responses
Role for template engines
Dancer2's route handler
Top-layer class to start a dancer app
Dummy class for passing the PSGI app to a PSGI server
Basic standalone HTTP server for Dancer2
class to represent any session object
class to handle common helpers for time manipulations
Moo types for Dancer2 core.
File utility helpers
Class for handling the AutoPage feature
class for handling file content rendering
Capture dancer logs
a place to store captured Dancer2 logs
Console logger
Test::More diag() logging engine for Dancer2
file-based logging engine for Dancer2
Test::More note() logging engine for Dancer2
Blackhole-like silent logging engine for Dancer2
Extending Dancer2's DSL with plugins
a plugin for adding Ajax route handlers
Serializer for handling Dumper data
Serializer for handling JSON data
Serializer for handling YAML data
in-memory session backend for Dancer2
YAML-file-based session backend for Dancer2
Dancer2 own implementation of Template::Tiny
Pure Perl 5 template engine for Dancer2
Template toolkit engine for Dancer2
Template::Tiny engine for Dancer2
Useful routines for testing Dancer2 apps