debian man page for catalyst::plugin::cache::store

Query: catalyst::plugin::cache::store

OS: debian

Section: 3pm

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

Catalyst::Plugin::Cache::Store(3pm)			User Contributed Perl Documentation		       Catalyst::Plugin::Cache::Store(3pm)

NAME
Catalyst::Plugin::Cache::Store - how to write a Cache store plugin.
SYNOPSIS
package Catalyst::Plugin::Cache::Store::Frobnicator; sub setup_frobnicator_cache_backend { my ( $app, $name, $config ) = @_; .... $app->register_cache_backend( $name => $cache_object ); }
DESCRIPTION
In order to write a cache store plugin, all you need is to implement a method following the naming convention: setup_<<lower case store name>>_cache_backend { } For example "setup_fastmmap_cache_backend" for Catalyst::Plugin::Cache::Store::FastMmap. and call "register_cache_backend" from within that. The method will get the backend name and configuration as it's first and second arguments. All invokation of the setup methods will be automatic, based on the configuration. However, the plugin must be loaded by the user. Note that store plugins are only necessary if some configuration defaults that are catalyst specific need to be provided. For most cases simply using a cache class instead of a plugin is sufficient. perl v5.14.2 2012-03-13 Catalyst::Plugin::Cache::Store(3pm)
Related Man Pages
catalyst::authentication::store::minimal(3pm) - debian
catalyst::plugin::cache(3pm) - debian
catalyst::plugin::cache::store::fastmmap(3pm) - debian
catalyst::plugin::log::dispatch(3pm) - debian
catalyst::plugin::session::store::file(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Introduction
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?