On Apr 18, 2007, at 10:22 AM, John Siracusa wrote:
> On 4/17/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
>> Though that can be handled using a strip helper alone too -- we'd
>> just need an unstrip() function that builds back in a db object and
>> metadata
>
> I don't think that'd be necessary. The meta and db attributes would
> re-materialize on demand. We could even serialize the db attribute if
> we first were sure to clear the DBI dbh it holds.
how?
I'm not understanding your full train of thought.
The only ways I saw this happening were:
a- Strip DB + Meta on serialize. On re-materialize build in new db
+ meta into the object
b- Strip DB + Meta on serialize. On re-materialize transfer object
contents to a new rdob.obj
>> and we'd need to loop each object for the right information to
>> strip or not.
>
> What's to loop? Just clearing meta and the dbh would make a nicely
> serializable object, as far as I can tell.
well the object meta is all over the place - i'm not sure what
functions you use to tell which xrdo_priv meta attributes are set .
in my approaches thus far, to strip i'm looping through the object
looking for __xrdo prefix
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object