Dancer2::Plugins(3)

πŸ’– NAME πŸ’–

okay so this is the manual page for Dancer2::Plugins(3) β€” a User Contributed Perl Documentation page, and the official name is Dancer2::Plugins - Recommended Dancer2 plugins. bestie, it's literally a lil curated list of plugin recs, and it's lowkey iconic πŸŽ€


🌸 VERSION 🌸

version 1.1.2 ✨


πŸ’¬ DESCRIPTION πŸ’¬

so Dancer2 aims to keep the core as small as possible, but there are a growing number of useful plugins to add helpful features. no cap, the ecosystem really said "we'll handle that" πŸ’…

This document provides a quick summary of some recommended plugins. think of it like a group chat rec list, but for Perl modules 🫢

🧩 Plugins 🧩

  • Dancer2::Plugin::Adapter β€” wraps any simple class as a service for Dancer2.
  • Dancer2::Plugin::Ajax β€” gives you an easy way to add Ajax route handlers.
  • Dancer2::Plugin::Auth::Tiny β€” provides an extremely simple way of requiring that a user be logged in before allowing access to certain routes.
  • Dancer2::Plugin::BrowserDetect β€” gives you an easy way to have info of the browser β€” there's a keyword within your Dancer application.
  • Dancer2::Plugin::Cache::CHI β€” provides caching for generated pages and/or arbitrary data. It uses CHI, so it's backend-agnostic β€” caching can be done in memory, to files, using Memcache, in a database, or any other method for which there is a CHI::Driver module.
  • Dancer2::Plugin::Database β€” 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. It also provides some helpful keywords to make inserting/updating data as simple as it should be.
  • Dancer2::Plugin::DBIC β€” provides easy access to DBIx::Class database virtualization.
  • Dancer2::Plugin::Deferred β€” provides a method for deferring a one-time message across a redirect. It is similar to flash messages, but without the race conditions that can result from multiple tabs in a browser or from AJAX requests.
  • Dancer2::Plugin::Emailesque β€” provides easy email-sending powered by Email::Send β€” simply call the email keyword. Email sending settings can be taken from your app's config.
  • Dancer2::Plugin::Feed β€” provides an easy way to generate RSS or Atom feed.
  • Dancer2::Plugin::Paginator β€” it's a Dancer2 plugin for Paginator::Lite.
  • Dancer2::Plugin::Queue β€” provides a generic interface to a message queue.
  • Dancer2::Plugin::Queue::MongoDB β€” a Dancer2::Plugin::Queue using MongoDBx::Queue.
  • Dancer2::Plugin::REST β€” makes writing RESTful web services easy.
  • Dancer2::Plugin::RoutePodCoverage β€” a plugin to verify pod coverage in our app routes.
  • Dancer2::Plugin::Syntax::GetPost β€” provides very simple syntactic sugar to define a handler for GET and POST requests.

πŸͺ Session Engines πŸͺ

  • Dancer2::Session::Cookie β€” a session factory for Dancer2 that stores session state within a browser cookie.

More plugins are appearing on CPAN all the time β€” just search for Dancer2::Plugin to see what may have been released since this document was last updated! πŸ‘€βœ¨


🫢 AUTHOR 🫢

Dancer Core Developers β€” periodt πŸ’œ


This software is copyright (c) 2024 by Alexis Sukrieh.

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


okay that's the whole page, bestie 🫢 β€” footer vibes: source/version perl v5.42.0, dated 2024-12-12. bye! πŸ’…πŸ¦‹

πŸ“¦ where this page comes from