Login   Register  
PHP Classes
elePHPant
Icontem

Cache DBA: Store cache data from flat file databases

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

  Author Author  
Picture of Gjero Krsteski
Name: Gjero Krsteski <e-mail contact>
Packages: 3 Browse all classes by Gjero Krsteski Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 34
All time rank: 1886122 in Germany Germany
Week rank: 985 Up48 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This class can store and retrieve cache data from flat file databases.

It takes a given object and stores its serialized information as a string of data in flat file database using the DBA extension.

The class can also retrieve and unserialize the previously stored object from the cache database file if the cache file exists and it did not expire.

It can also delete existing cache entries explicitly. A separate class exists to automatically delete all expired cache database entries.

  Classes of Gjero Krsteski  >  Cache DBA  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Cache DBA
Base name: cache-dba
Description: Store cache data from flat file databases
Version: 1.1
PHP version: 5.0
License: BSD License
All time users: 369 users
All time rank: 5980
Week users: 1 user
Week rank: 1884 Up
 
  Groups   Screenshots Screenshots   Freshmeat project  
  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 Databases Database management, accessing and searching View top rated classes
Group folder image Cache Classes for managing cached pages View top rated classes

  Files folder image Screenshots  
PHP DBA Cache Monitor is an adaptive web-interface to provide a comprehensive, easy to use and of course good looking GUI. It not only gives access to statistical parameters of DBA Cache, it also makes it easier to administer web-servers running DBA by providing comfortable features for optimizing the cache and deleting entries from the cache.
File Role Description
Accessible without login Image file php-cache-dba-monitor.jpg Screen PHP DBA Cache Monitor is an adaptive web-interface to provide a comprehensive, easy to use and of course good looking GUI. It not only gives access to statistical parameters of DBA Cache, it also makes it easier to administer web-servers running DBA by providing comfortable features for optimizing the cache and deleting entries from the cache.


  Innovation Award  
PHP Programming Innovation award nominee
March 2011
Number 4
Caching is a technique often used to save time generating only certain content once, store it somewhere and then retrieve it from storage next time it is necessary, so you do not waste time regenerating every time it is needed.

Caching methods often use individual files, databases or memcached containers to store cached content.

This class uses a slightly different type of container to store cached data: a flat file database. This way it can store many cache entries in a single file, making it fast to lookup the existence of a cache entry, while preserving the benefits of storing cached content in a local files.

Manuel Lemos

  Freshmeat project  
Project record: php-dba-cache
Popularity score: 13.3
Vitality score: 34.08

  User ratings  
Not yet rated by the users

  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
github.com/gjerokrsteski/php-dba-cache github.com/gjerokrsteski/php-dba-cache

  Files folder image Files  
File Role Description
Files folder imageapp (5 files)
Files folder imagesrc (4 files)
Files folder imagetests (4 files, 1 directory)
Plain text file .editorconfig Data Auxiliary data
Plain text file .scrutinizer.yml Data Auxiliary data
Plain text file .travis.yml Data Auxiliary data
Plain text file bootstrap.php Class Class source
Plain text file composer.json Data Auxiliary data
Plain text file make-million.php Class Class source
Plain text file phpunit.xml Data Auxiliary data
Plain text file README.markdown Data Auxiliary data

  Files  /  Files folder image app  
File Role Description
  Plain text file .htaccess Data Auxiliary data
  Plain text file bootstrap-responsive.min.css Data Auxiliary data
  Plain text file bootstrap.min.css Data Auxiliary data
  Plain text file config.php Class Class source
  Plain text file index.php Class Class source

  Files  /  Files folder image src  
File Role Description
  Plain text file Cache.php Class Class source
  Plain text file Capsule.php Class Class source
  Plain text file Pack.php Class Class source
  Plain text file Sweep.php Class Class source

  Files  /  Files folder image tests  
File Role Description
Files folder imageHandlers (8 files)
  Plain text file CacheDefaultTest.php Test Unit test script
  Plain text file DummyFixtures.php Class Class source
  Plain text file PackTest.php Class Class source
  Plain text file SweepTest.php Class Class source

  Files  /  tests  /  Files folder image Handlers  
File Role Description
  Plain text file CdbReadTest.php Class Class source
  Plain text file CdbWriteTest.php Class Class source
  Plain text file Db4Test.php Class Class source
  Plain text file FlatfileTest.php Class Class source
  Plain text file GdbmTest.php Class Class source
  Plain text file InifileTest.php Class Class source
  Plain text file QdbmTest.php Class Class source
  Plain text file TestCase.php Class Class source

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