debian man page for dancer::plugin::ajax

Query: dancer::plugin::ajax

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Dancer::Plugin::Ajax(3pm)				User Contributed Perl Documentation				 Dancer::Plugin::Ajax(3pm)

NAME
Dancer::Plugin::Ajax - a plugin for adding Ajax route handlers
SYNOPSIS
package MyWebApp; use Dancer; use Dancer::Plugin::Ajax; ajax '/check_for_update' => sub { # ... some Ajax code }; dance;
DESCRIPTION
The "ajax" keyword which is exported by this plugin allow you to define a route handler optimized for Ajax queries. The route handler code will be compiled to behave like the following: o Pass if the request header X-Requested-With doesnt equal XMLHttpRequest o Disable the layout o The action built is a POST request.
AUTHOR
This module has been written by Alexis Sukrieh <sukria@sukria.net> perl v5.14.2 2012-03-31 Dancer::Plugin::Ajax(3pm)
Related Man Pages
dancer::engine(3pm) - debian
dancer::plugins(3pm) - debian
dancer::session::yaml(3pm) - debian
dancer::template::templatetoolkit(3pm) - debian
dancer::timer(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Introduction
Weird 'find' results
New UNIX and Linux History Sections