Howdy,

I have been looking back through the archives, and I am just starting to
wrestle with the concept of Memento. It takes me about a month to catch up
to the rest of the folks on the list =)

I have looked at several sites describing the concept, but I am not
completely sure about it.  I searched Sean's Blog, but strangely did not
find any results?  I think the concept basically is intended to expose an
object's instance data without breaking any rules of encapsulation. 

My Example:

If I had person.obj (apologize for the extension, just trying to make it
more generic) which was composed of address.obj, and some instance vars such
as firstname and last name etc I would then have personMemeto.obj that would
take in a person.obj, and return the instance vars in some 'flattened'
format to be use for persistence, etc.?  

If this is the case, I am running into the same issues I had with
serialization, how do you return instance vars composed of other objects, or
multiple objects?  

Any thought would be appreciated.

Thanks,

Justin
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to