User Tools

Site Tools


caching:ex2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
caching:ex2 [2008/10/07 14:08]
bdefrain
caching:ex2 [2021/02/05 13:51] (current)
Line 1: Line 1:
-====== Caching: Constant cache ======+[[caching:intro|Intro]] 
 +[[caching:ex1|Ex1]] 
 +[[caching:ex2|Ex2]] 
 +[[caching:ex3|Ex3]] 
 +[[caching:ex4|Ex4]]====== Caching: Constant cache ======
  
 ===== Using inter-type declarations ===== ===== Using inter-type declarations =====
Line 19: Line 23:
 Imagine that a ''Group'' is [[wp>Serialization|serialized]] to some storage medium. If we use inter-type declarations to introduce a new field for the ''Group'' class, then this field will be included in the serialized data of a ''Group'' (so the schema changes). This is undesirable. Imagine that a ''Group'' is [[wp>Serialization|serialized]] to some storage medium. If we use inter-type declarations to introduce a new field for the ''Group'' class, then this field will be included in the serialized data of a ''Group'' (so the schema changes). This is undesirable.
  
-Therefore, write a new version of the above aspect that does not change the fields of the ''Group'' class.+To avoid this, write a new version of the above aspect that does not change the fields of the ''Group'' class.
  
 <note tip> <note tip>
caching/ex2.txt · Last modified: 2021/02/05 13:51 (external edit)