New Data_Registry Class

June 1, 2010 by: Xavier Perez

I have developed a new class to save any kind of data in a php program, and retrieve it in any other php script.

The Data_registry class is a singleton class, and all data can have persistence saved in the session files (DB, memcache also). It’s an great improvement over Zend_Registry class, duo to it’s better capabilities.

This can help in debugging, tracing code, retrieving errors after page crash (if the error is stored persistent, you can get it in any other page meanwhile you don’t close your browser).

The class can store any class, can create a new class and make it available in any other script, also can have persistence !!

Take a look at google code: http://code.google.com/p/data-registry/

Or try it in a simple demo: http://www.4amics.com/libraries/data_registry/Data_Registry_Examples.php

Leave a Reply