Debian Codegraph @

lib/Dancer2/Manual/Plugins.pod

raw
1 package Dancer2::Plugins;
2 # ABSTRACT: A curated list of recommended Dancer2 plugins
3
4 __END__
5
6 =pod
7
8 =encoding UTF-8
9
10 =head1 NAME
11
12 Dancer2::Plugins - A curated list of recommended Dancer2 plugins
13
14 =head1 VERSION
15
16 version 2.2.2
17
18 =head1 DESCRIPTION
19
20 Dancer2 aims to keep the core as small as possible, but there are a growing
21 number of useful plugins to add helpful features.
22
23 This document provides a quick summary of some recommended plugins.
24
25 =head2 Plugins
26
27 =over 4
28
29 =item L<Dancer2::Plugin::Adapter>
30
31 Wrap any simple class as a service for Dancer2.
32
33 =item L<Dancer2::Plugin::Ajax>
34
35 Provides easy way to add Ajax route handlers.
36
37 =item L<Dancer2::Plugin::Auth::Tiny>
38
39 Provides an extremely simple way of requiring that a user be logged in
40 before allowing access to certain routes.
41
42 =item L<Dancer2::Plugin::BrowserDetect>
43
44 Provides an easy to have info of the browser. keyword within your
45 Dancer application.
46
47 =item L<Dancer2::Plugin::Cache::CHI>
48
49 Provides caching for generated pages and/or arbitrary data. Uses L<CHI>, so
50 is backend-agnostic - caching can be done in memory, to files, using
51 Memcache, in a database, or any other method for which there is a
52 L<CHI::Driver> module.
53
54 =item L<Dancer2::Plugin::Database>
55
56 Provides easy database access via DBI, reading the DB connection details
57 from your app's config file, and taking care of ensuring the connection is
58 still valid and reconnecting if not (useful in persistent environments).
59 Just calling the C<database> keyword gives you a connected and working
60 database handle. It also provides some helpful keywords to make
61 inserting/updating data as simple as it should be.
62
63 =item L<Dancer2::Plugin::DBIC>
64
65 Provides easy access to DBIx::Class database virtualization.
66
67 =item L<Dancer2::Plugin::Deferred>
68
69 Provides a method for deferring a one-time message across a redirect. It is
70 similar to "flash" messages, but without the race conditions that can result
71 from multiple tabs in a browser or from AJAX requests.
72
73 =item L<Dancer2::Plugin::Emailesque>
74
75 Provides easy email-sending powered by Email::Send - simply call the
76 C<email> keyword. Email sending settings can be taken from your app's
77 config.
78
79 =item L<Dancer2::Plugin::Feed>
80
81 Provides an easy way to generate RSS or Atom feed.
82
83 =item L<Dancer2::Plugin::Paginator>
84
85 Dancer2 plugin for Paginator::Lite.
86
87 =item L<Dancer2::Plugin::Queue>
88
89 Provides a generic interface to a message queue.
90
91 =item L<Dancer2::Plugin::Queue::MongoDB>
92
93 A L<Dancer2::Plugin::Queue> using L<MongoDBx::Queue>.
94
95 =item L<Dancer2::Plugin::REST>
96
97 Makes writing RESTful web services easy.
98
99 =item L<Dancer2::Plugin::RoutePodCoverage>
100
101 Plugin to verify pod coverage in our app routes.
102
103 =item L<Dancer2::Plugin::Syntax::GetPost>
104
105 Provides very simple syntactic sugar to define a handler for GET and POST
106 requests.
107
108 =back
109
110 =head2 Session Engines
111
112 =over 4
113
114 =item L<Dancer2::Session::Cookie>
115
116 A session factory for Dancer2 that stores session state within a browser
117 cookie.
118
119 =back
120
121 More plugins are appearing on CPAN all the time - just search for
122 C<Dancer2::Plugin> to see what may have been released since this document
123 was last updated!
124
125 =head1 AUTHOR
126
127 Dancer Core Developers
128
129 =head1 COPYRIGHT AND LICENSE
130
131 This software is copyright (c) 2026 by Alexis Sukrieh.
132
133 This is free software; you can redistribute it and/or modify it under
134 the same terms as the Perl 5 programming language system itself.
135
136 =cut