I’ve recently created a class that allows you to store database data into cached arrays. It’s particularly usefull in situations where you store categories, countries, language-data, etc. in the database.
I think it’s very easy to use and might speed up the development for anyone who uses the database to store lists of data.
Have a look a here:
[url]http://devshed.excudo.net/scripts/php/source/database+array+caching+class
It contains documentation and there’s even a zip-file which contains a little demonstration that you can download and run on your webserver.
Any comments are welcome
[I](btw, the requirements are:
– PHP5
– MySQL or PostgreSQL (although it is written in such a way that it would be easy to implement support for other databases))