Re: Design pattern to sync objects
- From: Kai Schwebke <realfreejack75@xxxxxxxx>
- Date: Wed, 28 Mar 2007 05:10:43 +0200
Bryan schrieb:
Any patterns to keep two objects based on the same data in sync?
A common pattern for this problem is "observer" (e.g.
http://en.wikipedia.org/wiki/Observer_pattern).
In your case however, aSmallPerson cannot
subscribe to a not (yet) existing Person object.
So lazy loading as suggested by Thomas may be a more
practical solution here.
Kai
.
- References:
- Design pattern to sync objects
- From: Bryan
- Design pattern to sync objects
- Prev by Date: Re: Design pattern to sync objects
- Next by Date: Re: Design pattern to sync objects
- Previous by thread: Re: Design pattern to sync objects
- Next by thread: Re: Design pattern to sync objects
- Index(es):