Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2016-05-07 (1 year ago)  | | Not enough user ratings | | Total: 202 | | All time: 7,971 This week: 702 |
|
Description | | Author |
This class can store array values in PHP cache file scripts.
It can take a array value and an optional file name and store the array in a PHP cache script.
The generated script can load the original array value using a require statement. | |
 |
|
Innovation award
 Nominee: 1x |
|
Details
ArrayCache
Stupid simple class capable of creating php files that return arrays.
This is a very basic class that just saves arrays in a file that return said array. I created this class primarily because I'm exceedingly lazy, and I wanted to go through as minimum of an effort as possible to save and retrieve config values.
Ultimately, I think that if you need a way to store data that will not be written very often, that's lightning fast to access, who's data can be version controlled, you don't want the extra overhead of having a db connection, and/or you don't want to json_decode or unserialize your data to stick it into an array, then this class may be for you.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.