V
VisionSet
Client Server - client is MVC server holds objects of same type as are
contained in the M of clients MVC
For the sake of this thread lets assume this is a reasonable design for my
system.
Object arrives at client and is equivalent but obviously more upto date than
one already held by client.
Client wants to replace the old one with the new one.
Does it:
a/ copy all the observers out of the old one into the new one and replace
the object
b/ copy the data out of the new one into the old one
c/ replace the object and let some other observer mechanism sort refresh
whatever
d/ something else I haven't considered.
TIA
contained in the M of clients MVC
For the sake of this thread lets assume this is a reasonable design for my
system.
Object arrives at client and is equivalent but obviously more upto date than
one already held by client.
Client wants to replace the old one with the new one.
Does it:
a/ copy all the observers out of the old one into the new one and replace
the object
b/ copy the data out of the new one into the old one
c/ replace the object and let some other observer mechanism sort refresh
whatever
d/ something else I haven't considered.
TIA