[sync] Implementing new functions

Chuck Hagenbuch chuck at horde.org
Thu Feb 12 12:19:05 PST 2004


Quoting Anthony Mills <amills at gascard.net>:

> What is the quickest way to store a key and it's value?  Something like:
>
> put($k, $v);
> if (get($k) == $v) {
>     echo 'True';
> }
>
> It is the 'put' and 'get' function I am interested in writting, and they
> need to be persistent.
> I'm going to look at using DataTree and History.
> Does anyone know of a cleaner/better way?

It depends a lot on what you're storing, exactly, but DataTree is the most
generalized way.

-chuck

--
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."


More information about the sync mailing list