Login   Register  
PHP Classes
elePHPant
Icontem

XCache: Store and retrieve data from different cache types

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Xavier Pérez
Name: Xavier Pérez <e-mail contact>
Packages: 5 Browse all classes by Xavier Pérez Browse all classes by
Country: Spain Spain - PHP jobs in Spain
Age: ???
All time rank: 182038 in Spain Spain
Week rank: 1316 Up34 in Spain Spain Up


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Xavier Pérez  >  XCache  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: XCache
Base name: xcache
Description: Store and retrieve data from different cache types
Version: 2.1
PHP version: 5.3
License: MIT/X Consortium License
All time users: 191 users
All time rank: 7109
Week users: 0 users
Week rank: 1803 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Demo Demo online
GIT GIT repository

  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 readme.md Doc. Readme
Plain text file XCache.php Class Main class
Plain text file xcacheconf.php Conf. XCche config file

  Files  /  Files folder image 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

Download Download all files: xcache.tar.gz xcache.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.