Dancer::Plugins - interesting plugins to add to Dancer's capabilities
Dancer aims to keep the core as small as possible, but there are a growing number of useful plugins to add helpful features.
This document provides a quick summary of some recommended plugins.
Provides easy database access via DBI, reading the DB connection details from your app's config file, and taking care of ensuring the connection is still valid and reconnecting if not (useful in persistent environments). Just calling the database keyword gives you a connected and working database handle.
database
Provides easy acces to DBIx::Class database virtualization.
Dancer Authentication, Security and Role-Based Access Control Framework.
Provides easy email-sending powered by Email::Send - simply call the email keyword. Email sending settings can be taken from your app's config.
email
Provides easy way to add Ajax route handlers.
Makes writing RESTful web services easy.
Automatically provides site maps (as a HTML page, or as an XML sitemap ready for Google) based on the routes your app defines.
Easy data validation powered by Oogly.
Provides different ways of normalizing parameters names
More plugins are appearing on CPAN all the time - just search for Dancer::Plugin to see what may have been released since this document was last updated!
Dancer::Plugin
To install Dancer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer
CPAN shell
perl -MCPAN -e shell install Dancer
For more information on module installation, please visit the detailed CPAN module installation guide.