Open Source Software

PIMF micro framework

PIMF (Php Is My Framework) is a micro framework for PHP that emphasises minimalism and simplicity. It is based on proven design patterns and a fast object relational mapping mechanism, and is designed to be easily updated without having to rewrite your projects. Fork it on GutHub or check out the homepage!


PHP Classes

Cache DBA
By Gjero Krsteski

PHP Programming Innovation award nominee
March 2011
Number 4
The php-dba-cache uses the database (dbm-style) abstraction layer to cache your objects, strings, integers or arrays. Even instances of SimpleXMLElement can be put to the cache. You dont have to matter about the size of the cache-file. It depends on the free space of your disk. The behaviour of various aspects for the caching depends on the implementation of yor installed dba-type database. I have tested it with several database-handlers like db4, flatfile, cdb, cdb_make, gdbm. The cdb & cdb_make family is the fastest, but you have to create you own garbage-collection-cleaner or you can delete it manually. Take a look at the tests to better understand how to use the cache. See php-dba-cache repository on GitHub.


By using active-record pattern without an identity map, you can easily run into problems because you may have more than one object that references the same domain entity. The identity map solves this problem by acting as a registry for all loaded domain instances. By using an identity map you can be confident that your domain entity is shared throughout your application for the duration of the request. Take a look at the repository on GitHub to better understand how to use the php-identity-map. This package can store and retrieve objects in persistent storage containers avoiding to have multiple instances of the same object in memory. It can use a mapper class to store objects of a class in a container like for instance a database table. It can also retrieve the objects from the container assuring that only one instance of the same object is retrieved into memory.


The Zend_Cache_Backend_Dba is an additional component for the zend framework. It uses the database (dbm-style) abstraction layer for backend caching. Suported dba-drivers are db4 and flatfile as default. More about requirements, installation an samples you can find here on


The php-captcha-generator creates a security-captcha-image with the PHP’s GD library for your web form. Is easy to use, just check it out. If you have the GD library you will also be able to create and manipulate images. The format of images you are able to manipulate depend on the version of GD you install, and any other libraries GD might need to access those image formats. See php-captcha-generator repository on GitHub.

Powered by Wordpress • Abonniere den RSS Feed