BlackBox
BlackBox copied to clipboard
[Experimental] Versatile storage library
Might worth to look at this: https://github.com/elfet/purephp
It seems like the method names we are looking for are something like `encode` and `decode`. `reverseTransform` feels weird.
In some backends (for example file) every data is saved upon modification. Isn't it enough to do this in `__destruct`?
Would be able to support more types of filesystems, like S3 and Dropbox...
So this: https://groups.google.com/forum/#!topic/thephpleague/Hdw17QcfvRo https://github.com/adammbalogh/key-value-store
Redis only stores strings, so for example storing `null` means we will get `''` (empty string) when we retrieve the value later. That's why the build is failing on master...
As I adapted the implementation with the storage interface, I also tried to add more tests and specify a few edge cases. This is just started, nothing very extensive for...
As discussed shortly with Chris, we suggested that we work in 1 repo until things are a bit stabilized, it will be easier. Then we should split adapters in separate...
There are some assertions used as I can see, would be good to replace them with an existing assertion library, like beberlei/assert.
Not sure about this, but can also be a god idea to implement: http://www.iron.io/cache @assertchris how would you pop an item from this one? #12