-
-
ring.middleware.closure-templates
... Closure Templates with the data provided in :body.
This middleware takes a path to your Closure Templates and ... render the
template specified by :template.
## Usage
(use 'ring.middleware.closure-templates)
(defn app [req] {:body {:template "ns. ...
-
Plack-Middleware-OAuth
... called:
enable 'OAuth',
providers => { .... },
on_success => sub {
my ($self,$token) = @_;
# $self: Plack::Middleware::OAuth::Handler (isa Plack::Request) object
return $self->render( .... ); ...
-
Plack-Middleware-Log-Handler
... ;
};
this means...
$logger = Log::Handler->new(
file => { ... },
file => { ... },
sendmail => { ... },
);
# WHY ANOTHER Plack::Middleware::Log::Blabla
I don't like the module that to use just another module ...
-
Plack-Middleware-QRCode
... '/qrcode' => builder {
enable 'QRCode';
sub { };
};
}
provide default options:
use Plack::Middleware::QRCode;
builder {
mount '/qrcode' => builder {
enable 'QRCode' ,
render => { ...
-
Plack-Middleware-ExtDirect
... Plack
environment. It is packaged as a standard Plack middleware component
suitable for using with Plack::Builder.
Plack:: ... either module, unpack both RPC::ExtDirect and
Plack::Middleware::ExtDirect tarballs to the same directory and use ...
-
plack-middleware-recorder
...
stop_url => '/recorder/stop'; # optional
$app;
};
=head1 DESCRIPTION
This middleware records the stream of requests and responses that ... the output I receive from the server. This middleware allows me to set
up debugging statements in ...
-
Plack-Middleware-ComboLoader
... as Middleware, with static generation and processing.
# NAME
Plack::Middleware::ComboLoader - Handle combination loading and processing of on-disk resources. ... good. It's better to instead use a caching middleware or frontend.
If the item exists on disk, ...
-
Plack-Middleware-Scrutiny
Plack Middleware, Inline Debugger
Status: proof of concept.
# This uses AnyEvent, so go with twiggy
builder {
enable 'Scrutiny';
$app;
};
# Now pass ?_scrutinize=1 to your app, and you'll get an inline debugger
Screenshot: http:// ...
-
-
ring.middleware.etag
Middleware for utilising etags
# ring.middleware.etag
Simple etag middleware for Ring to utilise etags in web applications.
## Usage
TODO
## License
Copyright (C) 2011
Distributed under the Eclipse Public License, the same as Clojure.
-