Dancer2
Dancer2 copied to clipboard
Perl Dancer Next Generation (rewrite of Perl Dancer)
This is a simple patch to `Dancer2::Core::Route` I'd like to have considered. It would be useful to me in the development of a plugin for attaching additional information associated with...
I'm doing some validation in the before request hook, and would like any exception that occurs in validation to be caught normally (utilize send_error) by route exception hook. I can't...
This is a rebased branch of #590. :) It's only for review against the original PR. Please do not merge it.
Hello folks, at perlmonks I saw a question about the undocumented .dancer file. In brief: 1. it is really used? I read "It might help move away from the bin/lib...
Draft implementation to allow fully qualified namespaces for all engines, as discussed some time ago in #1323. Draft PR before I go write more tests / documentation to ensure this...
I've started three pages on Dancer2's GitHub wiki. They mostly serve as stubs for now and have limited content. Feedback and contributions to these pages are appreciated. [Dancer2 history](https://github.com/PerlDancer/Dancer2/wiki/Dancer2-History) to...
Especially https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Tutorial.pod#Putting-it-all-together is bad and confuses new users. - just in a discussion with an unlucky person who followed that part. So: * Use dancer2 gen to properly create the...
It could be useful to return a data structure from a route handler and have it automatically serialized to JSON/XML or rendered in a template depending on `Accept:` header supplied...
The PR makes consistency better in cases of: - with the 'base' method, now both return URI objects - in various cases of '/' at end The issue was that...
Named routes
[This related to GH #33.] You can now give names to the routes: ``` get NAME, PATH, sub {...}; ``` Or the lesser-known one: ``` get NAME, PATH, OPTIONS_HASHREF, sub...