#CakePHP-Redis-Datasource
Let's enjoy the KVS on CakePHP!
copy to /app dir.
and setting database.php file.
class ExampleModel extends RedisModel { public $useDbConfig = "{yourconfig}"; public function foo(){ $this->getDataSource()->set( 'key', 'val' ); } }
divide the interface ( list, hash, … ) don't access via `getdataSource function.