2017 © Pedro Peláez
 

lithium-library li3_memoize

Will aid in the caching of expensive helper/model instance methods.

image

blainesch/li3_memoize

Will aid in the caching of expensive helper/model instance methods.

  • Thursday, November 8, 2012
  • by BlaineSch
  • Repository
  • 2 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Helper/Model caching plugin for Lithium PHP

Will aid in the caching of expensive helper/model instance methods., (*1)

Build Status, (*2)

Installation

Composer

~~~ json { "require": { ... "blainesch/li3_memoize": "dev-master" ... } }, (*3)

~~~ bash
php composer.phar install

Submodule

~~~ bash git submodule add git://github.com/BlaineSch/li3_memoize.git libraries/li3_memoize, (*4)


### Clone Directly ~~~ bash git clone git://github.com/BlaineSch/li3_memoize.git libraries/li3_memoize

Usage

Load the plugin

Add the plugin to be loaded with Lithium's autoload magic, (*5)

In app/config/bootstrap/libraries.php add:, (*6)

~~~ php , (*7)


### Tell it which instance methods to cache ~~~ php <?php use li3_memoize\extensions\Memoize; Memoize::add(array( array( 'name' => 'app\extensions\helper\Prose', 'method' => array('init') ), array( 'name' => 'app\models\Users', 'method' => array('name') ), ));

The Versions

08/11 2012

dev-master

9999999-dev https://github.com/BlaineSch/li3_memoize

Will aid in the caching of expensive helper/model instance methods.

  Sources   Download

The BSD License

cache proxy lithium li3 speed memoize