Tutorial problem with cache

Lukas Renggli renggli at iam.unibe.ch
Tue Apr 18 18:48:59 MEST 2006


> MAPersonModel>>description
>
>     ^super description copy;
>           addAll: self class customDescription;
>           yourself.
>
> copy sould prevent to change the description stored in the cache.  
> Is it
> correct ?

Yes, but you need to remove the colon after the copy ;-)

> This makes me ask you another question. When a description (class  
> side)
> is changed, how the cache of the builder is refreshed ? I have no idea

Any source-code modification within the system flushes the cache, see  
MADescriptionBuilder>>flush.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch




More information about the SmallWiki mailing list