Changes between Version 11 and Version 12 of sqsync
- Timestamp:
- 11/30/2010 09:20:40 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
sqsync
v11 v12 73 73 ''Do not use lazy initialization.'' 74 74 75 Make use of the `#initialize` method in each class to set the initial values. Otherwise each getter will be recognized as changing the model due to instance variable setting and therefore will be replicated.75 Make use of the `#initialize` method in each model to set initial values. Failure to do so will result in each setter being recognized as changing the model and those changes will be replicated to other clients. 76 76 77 77 {{{ … … 92 92 ''Force method replication of `non-SqSync` objects with <replicate> pragma.'' 93 93 94 If you use other objects than in your domain model, youneed to tell `SqSync` explicitely which method call results in an object change and therefore needs to be replicated.94 If you use other objects apart from your domain models in your application, you will need to tell `SqSync` explicitely which method call results in an object change and therefore needs to be replicated. 95 95 96 96 {{{ … … 201 201 == Weak References == 202 202 203 To allow shared objects being garbage collected, clients only keepreferences to objects that are reachable from the ''root object''. You should never do this:203 To allow garbage collection of shared objects, clients need to refrain from keeping strong references to objects that are reachable from the ''root object''. You should never do this: 204 204 205 205 {{{