aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-MasonX-Interp-WithCallbacks/pkg-descr
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-05-25 16:47:41 +0800
committermat <mat@FreeBSD.org>2004-05-25 16:47:41 +0800
commitd0ece724af1419c09f46fe047310861c9ffb7db7 (patch)
tree24b3a3ab0fc2b91e366025c6d336db68e2b6370b /www/p5-MasonX-Interp-WithCallbacks/pkg-descr
parent482c0c0c01b4dc4439976a564dbc24bb6df5cd48 (diff)
downloadfreebsd-ports-gnome-d0ece724af1419c09f46fe047310861c9ffb7db7.tar.gz
freebsd-ports-gnome-d0ece724af1419c09f46fe047310861c9ffb7db7.tar.zst
freebsd-ports-gnome-d0ece724af1419c09f46fe047310861c9ffb7db7.zip
Add p5-MasonX-Interp-WithCallbacks 1.11, mason callback support via
Params::CallbackRequest. PR: ports/67023 Submitted by: Rod Taylor <ports@rbt.ca>
Diffstat (limited to 'www/p5-MasonX-Interp-WithCallbacks/pkg-descr')
-rw-r--r--www/p5-MasonX-Interp-WithCallbacks/pkg-descr16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/p5-MasonX-Interp-WithCallbacks/pkg-descr b/www/p5-MasonX-Interp-WithCallbacks/pkg-descr
new file mode 100644
index 000000000000..1afabb9256bd
--- /dev/null
+++ b/www/p5-MasonX-Interp-WithCallbacks/pkg-descr
@@ -0,0 +1,16 @@
+MasonX::Interp::WithCallbacks subclasses HTML::Mason::Interp in order to
+provide a Mason callback system built on Params::CallbackRequest. Callbacks
+may be either code references provided to the C<new()> constructor, or methods
+defined in subclasses of Params::Callback. Callbacks are triggered either for
+every request or by specially named keys in the Mason request arguments, and
+all callbacks are executed at the beginning of a request, just before Mason
+creates and executes the request component stack.
+
+This module brings support for a sort of plugin architecture based on
+Params::CallbackRequest to Mason. Mason then executes code before executing
+any components. This approach allows you to carry out logical processing of
+data submitted from a form, to affect the contents of the Mason request
+arguments (and thus the %ARGS hash in components), and even to redirect or
+abort the request before Mason handles it.
+
+WWW: http://search.cpan.org/dist/MasonX-Interp-WithCallbacks/