set($key, serialize($object));
or you can even extend the class with that functionality…
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>
I don't know about PHP clients but such a feature should be easy to
implement on your side, after that every client will be suitable,
usable, etc :-)
--
Best Regards,
Konstantin Merenkov
I completely agree with Nicolas, but I'm convinced on the fact that
object serialization / deserialization shouldn't be a concern of a
client library. This feature will never be implemented in Predis.
As others already pointed out, if you need (de)serialization you can
easily handle it on top of any existing client library and inside the
logic of your application. With Predis you could even redefine
existing commands to handle everything at library level if you really
need this badly, but I don't encourage this kind of use.
--
Daniele Alessandri
http://clorophilla.net/
http://twitter.com/JoL1hAHN