[Seaside] Importing halo's from Monticello

Avi Bryant avi.bryant at gmail.com
Fri Jun 3 15:05:09 CEST 2005


On 6/3/05, Avi Bryant <avi.bryant at gmail.com> wrote:

> One way to do this in Squeak, however, would be to use John Pierce's
> InstanceEncoder:
> 
> http://map1.squeakfoundation.org/sm/package/e9e852e1-27d9-412c-8efe-212891832d07

One thing I notice about the InstanceEncoder is that it doesn't cache
the objects after decoding them.  This could be done in a literal
inside the method - something like this:

myObject
 |cache|
 cache := #(nil).
 ^ cache first ifNil: [cache at: 1 put: '..............' reconsituteObject]

Avi


More information about the Seaside mailing list