BSD Ports

www/p5-Dancer2-Plugin-Deferred 0.008000 DragonFly

Dancer2 plugin to defer messages or data across redirections

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
perl5, www
Package size
9.7 KiB, 21.6 KiB installed

Description

This Dancer2 plugin 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. It is similar in design to Catalyst::Plugin::StatusMessage, but adapted for Dancer2.

It works by creating a unique message ID within the session that holds deferred data. The message ID is automatically added as a query parameter to redirection requests. It's sort of like a session within a session, but tied to a request rather than global to the browser. (It will even chain across multiple redirects.)

In the other systems

SystemPortVersion
DragonFlywww/p5-Dancer2-Plugin-Deferred0.008000
FreeBSDwww/p5-Dancer2-Plugin-Deferred0.008000
HardenedBSDwww/p5-Dancer2-Plugin-Deferred0.008000
GhostBSDwww/p5-Dancer2-Plugin-Deferred0.008000

Install

Binary package:

pkg install p5-Dancer2-Plugin-Deferred

From DPorts:

cd /usr/dports/www/p5-Dancer2-Plugin-Deferred && make install clean

Dependencies

Run dependencies 3