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:

Or try it in a simple demo:

Leave a Reply

You must be logged in to post a comment.