Jean-Christophe Michel | 1 May 2003 22:53
Favicon

Re: Entity Facts

Le jeu 01/05/2003 à 22:06, Alex Black a écrit :
> > Are you sure it's not simply a list of TransactionContext rather than a
> > tree ?
> 
> Yes. It makes sense as a tree.

I trust you, but i don't see why a tree is necessary :-)

 
> > So we would have:
> >   Entity                  TransactionContext           Storage
> >   - php class             - handles query ?            ??
> >   with GetProperty()      - store db state ?
> >   SetProperty()           - maps db to object
> >                           and object to db
> 
> TransactionContext:
>     -Ensures unicity
>     -manages phantoms
>     -manages searching, sets of objects
>     -handles session id link and caching
>     -"passes through" queries
>     -performs OR mapping
> 
> Storage
>     -handles actual queries
>     -takes entity objects with a little additional metadata and stores them
> 

Ok. Let's agree on xml entity format and write a rfc...

--

-- 
Jean-Christophe Michel <jc.michel@...>
Symétrie

Gmane