| 1 |
<p align="center"> |
| 2 |
<a href="https://perldancer.org/"> |
| 3 |
<img src="https://crome-plated.com/images/dancer-logo.png" alt="Perl Dancer logo"> |
| 4 |
</a> |
| 5 |
</p> |
| 6 |
|
| 7 |
<p align="center"> |
| 8 |
Dancer2 is a lightweight yet powerful web application framework |
| 9 |
written in Perl. |
| 10 |
<br> |
| 11 |
<a href="https://metacpan.org/pod/Dancer2%3A%3AManual%3A%3ATutorial">Tutorial</a> |
| 12 |
· |
| 13 |
<a href="https://metacpan.org/pod/Dancer2%3A%3AManual">Manual</a> |
| 14 |
· |
| 15 |
<a href="https://github.com/PerlDancer/Dancer2/discussions">Discussion Forums</a> |
| 16 |
· |
| 17 |
<a href="https://github.com/PerlDancer/Dancer2/wiki">Public Wiki</a> |
| 18 |
· |
| 19 |
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users">Mailing List</a> |
| 20 |
</p><br> |
| 21 |
|
| 22 |
Dancer2 is the evolution of [Dancer](https://metacpan.org/pod/Dancer) |
| 23 |
and is based on on [Moo](https://metacpan.org/pod/Moo), a lightweight |
| 24 |
object framework for Perl. |
| 25 |
|
| 26 |
Dancer2 can optionally use XS modules for speed, but at its core remains |
| 27 |
fatpackable (via [App::FatPacker](https://metacpan.org/pod/App%3A%3AFatPacker)), allowing |
| 28 |
you to easily deploy Dancer2 applications in environments that do not support custom |
| 29 |
installations of CPAN modules. |
| 30 |
|
| 31 |
Dancer2 is easy and fun: |
| 32 |
|
| 33 |
use Dancer2; |
| 34 |
get '/' => sub { "Hello World" }; |
| 35 |
dance; |
| 36 |
|
| 37 |
## Documentation Index |
| 38 |
|
| 39 |
You have questions. We have answers. |
| 40 |
|
| 41 |
- Dancer2 Tutorial |
| 42 |
|
| 43 |
Want to learn by example? The [Dancer2 tutorial](https://metacpan.org/pod/Dancer2%3A%3AManual%3A%3ATutorial) |
| 44 |
will take you from installation to a working application. |
| 45 |
|
| 46 |
- Quick Start |
| 47 |
|
| 48 |
Want to get going faster? [Quick Start](https://metacpan.org/dist/Dancer2/view/lib/Dancer2/Manual/QuickStart.pod) will help |
| 49 |
you install Dancer2 and bootstrap a new application quickly. |
| 50 |
|
| 51 |
- Manual |
| 52 |
|
| 53 |
Want to gain understanding of Dancer2 so you can use it best? The |
| 54 |
[Dancer2::Manual](https://metacpan.org/pod/Dancer2%3A%3AManual) is a |
| 55 |
comprehensive guide to the framework. |
| 56 |
|
| 57 |
- Keyword Guide |
| 58 |
|
| 59 |
Looking for a list of all the keywords? The [DSL guide](https://metacpan.org/pod/Dancer2%3A%3AManual%3A%3AKeywords) |
| 60 |
documents the entire Dancer2 DSL. |
| 61 |
|
| 62 |
- Configuration |
| 63 |
|
| 64 |
Need to fine tune your application? The [configuration guide](https://metacpan.org/pod/Dancer2%3A%3AConfig) |
| 65 |
is a complete reference to all configuration options. |
| 66 |
|
| 67 |
- Deployment |
| 68 |
|
| 69 |
Ready to get your application off the ground? [Deploying Dancer2 Applications](https://metacpan.org/pod/Dancer2%3A%3AManual%3A%3ADeployment) |
| 70 |
helps you deploy your application to a real-world host. |
| 71 |
|
| 72 |
- Cookbook |
| 73 |
|
| 74 |
How do I...? Our [cookbook](https://metacpan.org/dist/Dancer2/view/lib/Dancer2/Manual/Cookbook.pod) |
| 75 |
comes with various recipes in many tasty flavors! |
| 76 |
|
| 77 |
- Plugins |
| 78 |
|
| 79 |
Looking for add-on functionality for your application? The [plugin guide](https://metacpan.org/pod/Dancer2%3A%3APlugins) |
| 80 |
contains our curated list of recommended plugins. |
| 81 |
|
| 82 |
For information on how to author a plugin, see [the plugin author's guide](https://metacpan.org/pod/Dancer2%3A%3APlugin#Writing-the-plugin). |
| 83 |
|
| 84 |
- Dancer2 Migration Guide |
| 85 |
|
| 86 |
Starting from Dancer 1? Jump over to [the migration guide](https://metacpan.org/pod/Dancer2%3A%3AManual%3A%3AMigration) |
| 87 |
to learn how to make the smoothest transition to Dancer2. |
| 88 |
|
| 89 |
### Other Documentation |
| 90 |
|
| 91 |
- Core and Community Policy, and Standards of Conduct |
| 92 |
|
| 93 |
The [Dancer core and community policy, and standards of conduct](https://metacpan.org/pod/Dancer2%3A%3APolicy) defines |
| 94 |
what constitutes acceptable behavior in our community, what behavior is considered |
| 95 |
abusive and unacceptable, and what steps will be taken to remediate inappropriate |
| 96 |
and abusive behavior. By participating in any public forum for Dancer or its |
| 97 |
community, you are agreeing to the terms of this policy. |
| 98 |
|
| 99 |
- GitHub Wiki |
| 100 |
|
| 101 |
Our [wiki](https://github.com/PerlDancer/Dancer2/wiki) has community-contributed |
| 102 |
documentation, as well as other information that doesn't quite fit within |
| 103 |
this manual. |
| 104 |
|
| 105 |
- Contributing |
| 106 |
|
| 107 |
The [contribution guidelines](https://github.com/PerlDancer/Dancer2/blob/main/CONTRIBUTING.md) describe |
| 108 |
how to set up your development environment to contribute to the development of Dancer2, |
| 109 |
Dancer2's Git workflow, submission guidelines, and various coding standards. |
| 110 |
|
| 111 |
- Deprecation Policy |
| 112 |
|
| 113 |
The [deprecation policy](https://metacpan.org/pod/Dancer2%3A%3ADeprecationPolicy) defines the process for removing old, |
| 114 |
broken, unused, or outdated code from the Dancer2 codebase. This policy is critical |
| 115 |
for guiding and shaping future development of Dancer2. |
| 116 |
|
| 117 |
# Security Reports |
| 118 |
|
| 119 |
If you need to report a security vulnerability in Dancer2, send all pertinent |
| 120 |
information to [[email protected]](mailto:[email protected]), or report it |
| 121 |
via the GitHub security tool. These reports will be addressed in the earliest possible |
| 122 |
timeframe. |
| 123 |
|
| 124 |
# Support |
| 125 |
|
| 126 |
You are welcome to join our mailing list. |
| 127 |
For subscription information, mail address and archives see |
| 128 |
[http://lists.preshweb.co.uk/mailman/listinfo/dancer-users](http://lists.preshweb.co.uk/mailman/listinfo/dancer-users). |
| 129 |
|
| 130 |
We are also on IRC: #dancer on irc.perl.org. |
| 131 |
|
| 132 |
# Authors |
| 133 |
|
| 134 |
## Dancer Core Team |
| 135 |
|
| 136 |
Alberto Simões |
| 137 |
Alexis Sukrieh |
| 138 |
D Ruth Holloway (GeekRuthie) |
| 139 |
Damien Krotkine |
| 140 |
David Precious |
| 141 |
Franck Cuny |
| 142 |
Jason A. Crome |
| 143 |
Mickey Nasriachi |
| 144 |
Peter Mottram (SysPete) |
| 145 |
Russell Jenkins |
| 146 |
Sawyer X |
| 147 |
Stefan Hornburg (Racke) |
| 148 |
Yanick Champoux |
| 149 |
|
| 150 |
## Core Team Emeritus |
| 151 |
|
| 152 |
David Golden |
| 153 |
Steven Humphrey |
| 154 |
|
| 155 |
## Contributors |
| 156 |
|
| 157 |
A. Sinan Unur |
| 158 |
Abdullah Diab |
| 159 |
Achyut Kumar Panda |
| 160 |
Ahmad M. Zawawi |
| 161 |
Alex Beamish |
| 162 |
Alexander Karelas |
| 163 |
Alexander Pankoff |
| 164 |
Alexandr Ciornii |
| 165 |
Andrew Beverley |
| 166 |
Andrew Grangaard |
| 167 |
Andrew Inishev |
| 168 |
Andrew Solomon |
| 169 |
Andy Jack |
| 170 |
Ashvini V |
| 171 |
B10m |
| 172 |
Bas Bloemsaat |
| 173 |
baynes |
| 174 |
Ben Hutton |
| 175 |
Ben Kaufman |
| 176 |
biafra |
| 177 |
Blabos de Blebe |
| 178 |
Breno G. de Oliveira |
| 179 |
cdmalon |
| 180 |
Celogeek |
| 181 |
Cesare Gargano |
| 182 |
Charlie Gonzalez |
| 183 |
chenchen000 |
| 184 |
Chi Trinh |
| 185 |
Christian Walde |
| 186 |
Christopher White |
| 187 |
cloveistaken |
| 188 |
Colin Kuskie |
| 189 |
cym0n |
| 190 |
Dale Gallagher |
| 191 |
Dan Book (Grinnz) |
| 192 |
Daniel Böhmer |
| 193 |
Daniel Muey |
| 194 |
Daniel Perrett |
| 195 |
Dave Jacoby |
| 196 |
Dave Webb |
| 197 |
David (sbts) |
| 198 |
David Steinbrunner |
| 199 |
David Zurborg |
| 200 |
Davs |
| 201 |
Deirdre Moran |
| 202 |
Dennis Lichtenthäler |
| 203 |
Dinis Rebolo |
| 204 |
dtcyganov |
| 205 |
Elliot Holden |
| 206 |
Emil Perhinschi |
| 207 |
Erik Smit |
| 208 |
Fayland Lam |
| 209 |
ferki |
| 210 |
Gabor Szabo |
| 211 |
GeekRuthie |
| 212 |
geistteufel |
| 213 |
Gideon D'souza |
| 214 |
Gil Magno |
| 215 |
Glenn Fowler |
| 216 |
Graham Knop |
| 217 |
Gregor Herrmann |
| 218 |
Grzegorz Rożniecki |
| 219 |
Hobbestigrou |
| 220 |
Hunter McMillen |
| 221 |
ice-lenor |
| 222 |
Ivan Bessarabov |
| 223 |
Ivan Kruglov |
| 224 |
JaHIY |
| 225 |
Jakob Voss |
| 226 |
James Aitken |
| 227 |
James Raspass |
| 228 |
James McCoy |
| 229 |
Jason Lewis |
| 230 |
Javier Rojas |
| 231 |
Jean Stebens |
| 232 |
Jens Rehsack |
| 233 |
Joel Berger |
| 234 |
Johannes Piehler |
| 235 |
Jonathan Cast |
| 236 |
Jonathan Scott Duff |
| 237 |
Joseph Frazer |
| 238 |
Julien Fiegehenn (simbabque) |
| 239 |
Julio Fraire |
| 240 |
Kaitlyn Parkhurst (SYMKAT) |
| 241 |
kbeyazli |
| 242 |
Keith Broughton |
| 243 |
lbeesley |
| 244 |
Lennart Hengstmengel |
| 245 |
Ludovic Tolhurst-Cleaver |
| 246 |
Mario Zieschang |
| 247 |
Mark A. Stratman |
| 248 |
Marketa Wachtlova |
| 249 |
Masaaki Saito |
| 250 |
Mateu X Hunter |
| 251 |
Matt Phillips |
| 252 |
Matt S Trout |
| 253 |
mauke |
| 254 |
Maurice |
| 255 |
MaxPerl |
| 256 |
Ma_Sys.ma |
| 257 |
Menno Blom |
| 258 |
Michael Kröll |
| 259 |
Michał Wojciechowski |
| 260 |
Mike Katasonov |
| 261 |
Mohammad S Anwar |
| 262 |
mokko |
| 263 |
Nick Tonkin |
| 264 |
Nigel Gregoire |
| 265 |
Nikita K |
| 266 |
Nova Patch |
| 267 |
Nuno Carvalho |
| 268 |
Olaf Alders |
| 269 |
Olivier Mengué |
| 270 |
Omar M. Othman |
| 271 |
pants |
| 272 |
Patrick Zimmermann |
| 273 |
Pau Amma |
| 274 |
Paul Clements |
| 275 |
Paul Cochrane |
| 276 |
Paul Williams |
| 277 |
Pedro Bruno |
| 278 |
Pedro Melo |
| 279 |
Philippe Bricout |
| 280 |
Ricardo Signes |
| 281 |
Rick Yakubowski |
| 282 |
Ruben Amortegui |
| 283 |
Sakshee Vijay (sakshee3) |
| 284 |
Sam Kington |
| 285 |
Samit Badle |
| 286 |
Sebastien Deseille (sdeseille) |
| 287 |
Sergiy Borodych |
| 288 |
Shlomi Fish |
| 289 |
Slava Goltser |
| 290 |
Snigdha |
| 291 |
Steve Bertrand |
| 292 |
Steve Dondley |
| 293 |
Steven Humphrey |
| 294 |
Tatsuhiko Miyagawa |
| 295 |
Timothy Alexis Vass |
| 296 |
Tina Müller |
| 297 |
Tom Hukins |
| 298 |
Upasana Shukla |
| 299 |
Utkarsh Gupta |
| 300 |
Vernon Lyon |
| 301 |
Victor Adam |
| 302 |
Vince Willems |
| 303 |
Vincent Bachelier |
| 304 |
xenu |
| 305 |
Yves Orton |
| 306 |
|
| 307 |
# Author |
| 308 |
|
| 309 |
Dancer Core Developers |
| 310 |
|
| 311 |
# Copyright and License |
| 312 |
|
| 313 |
This software is copyright (c) 2024 by Alexis Sukrieh. |
| 314 |
|
| 315 |
This is free software; you can redistribute it and/or modify it under |
| 316 |
the same terms as the Perl 5 programming language system itself. |