nette/nette — pull request #678 by OndrejSlamecka (2012-06-08 09:31:48+00:00)
Title: Caching: Added RedisStorage

Here is RedisStorage code I've developed inspired by MemcachedStorage and FileStorage. I have used PHP extension https://github.com/nicolasff/phpredis

Work is still in progress and problems are mentioned in TODOs but tests passes. One problem not mentioned in code is creation of instance of Redis in constructor of RedisStorage. This should be injected but I kept it this way to be consistent with MemcachedStorage.

Please express your opinions about code or if possible add your own :-)