PHP Classes

XCache: Store and retrieve data from different cache types

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-08-08 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 207 All time: 7,338 This week: 1,439Up
Version License PHP version Categories  
xcache 2.1MIT/X Consortium ...5.3PHP 5, Cache
Description Author  

This package can store and retrieve data of any type from different cache types.

The base class can perform several types of operations with cached data like storing a given cache entry with a given key name for given amount of time, check if a cached entry exists, retrieve a cached data entry, increment a cache value, delete a cached entry, or delete all cache entries.

The class can also capture the current script output and store it in a cache entry if it is not yet cached.

The package comes with several sub-classes to support storing and retrieving cached data from different containers.

Currently it provides sub-classes to cache data in files, APC, memcached, MongoDB and a dummy container.

The base class can load a configuration script that defines options of the caching process.

Picture of Xavier Pérez
Name: Xavier Pérez <contact>
Classes: 7 packages by
Country: Spain Spain
Age: ???
All time rank: 140030 in Spain Spain
Week rank: 338 Up11 in Spain Spain Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagedrivers (6 files)
Accessible without login Plain text file demo.php Example Demo.php
Accessible without login Plain text file Doc. Readme
Plain text file XCache.php Class Main class
Plain text file xcacheconf.php Conf. XCche config file

  Files folder image Files  /  drivers  
File Role Description
  Plain text file XCache_apc.php Class APC driver
  Plain text file XCache_dummy.php Class Dummy driver
  Plain text file XCache_file.php Class File driver
  Plain text file XCache_memcache.php Class Memcache driver
  Plain text file XCache_mongodb.php Class MongoDB driver
  Plain text file XCache_xcache.php Class New driver

 Version Control Unique User Downloads Download Rankings  
 100%Total:207All time:7,338
 This week:0This week:1,439Up
 User Comments (1)  
This is a good class ;-)
1 year ago (José Filipe Lopes Santos)