On Oct 16, 9:05 pm, LockeVN <[EMAIL PROTECTED]> wrote:
> At the end, we found thathttp://bleu.west.spy.net/~dustin/projects/memcached/ > Java ClientAPI can work, it can read the value set by PHP. I want to > make all programs work all together, talk memcached as common > language. But what is the problem with all above clientAPI? Are there > any trick? Well, we don't have common object serialization for all clients. You pretty much have to standardize on what your objects look like in the cache before you can expect this to work. There's been talk of using JSON for this, but nobody's actually put effort into doing it, AFAIK. It'd be an easy enough plugin in my (spy) client, but would be a bit limited in use. Most thing I end up caching can't be easily represented in JSON (unless there's some kind of magical introspective ORM out there). YAML is another possibility that might be a bit easier. Either way, it's a bit of a process. First we have to herd some cats to converge towards a common format. Then we have to try to get everyone else to play along. Then we have to make sure it's optional so the native formats still work fine as they're probably more generally useful.
