[dancer-users] dancer-users Digest, plugins

Yanick Champoux yanick at babyl.dyndns.org
Thu Aug 27 23:32:48 BST 2015

On 2015-08-26 03:37 PM, Rick Leir wrote:
>> > Mine is at
>> > https://github.com/PerlDancer/Dancer2/compare/master...yanick:plugins-yanick
>> >
>> > And Russell's is at
>> > https://github.com/PerlDancer/Dancer2/compare/master...veryrusty:playground/plugins

> What are the pro's and con's of these ways? (and what are the current problems?)

In a very tight nutshell: the main problem are plugins not being able to
use the other plugins (a plugin might want, for example, to be able to
build atop the database connection provided by the DBIC plugin). Another
goal of at least my work was to come up with a simpler plugin system,
because the current one makes me go cross-eyed. :-)

As for the pros and cons of my solution: it's simple, doesn't require a
lot of changes, seem to work, buuuut it's taking a fairly different
approach than the previous plugin system, code-wise.

This being said, it's been so long that most of my memory of the details
is gone. Let's see if I can juggle some recollections by rebasing that
work atop the current master branch...


More information about the dancer-users mailing list