Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Catalyst::Plugin::Cache::Store 0.10

    Download button

    No screenshots available
    Downloads: 342  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Yuval Kogman | More programs
    Perl Artistic License / FREE
    October 5th, 2007, 10:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Catalyst::Plugin::Cache::Store description

    A tutorial about how to write a Cache store plugin.

    Catalyst::Plugin::Cache::Store is a tutorial about 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 );
    }

    In order to write a cache store plugin, all you need is to implement a method following the naming convention:

    setup__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.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    cache store | Catalyst plugin | Perl module | Catalyst | cache | store

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM