On Thu, Mar 24, 2016 at 4:52 PM, Denis Kudriashov <[email protected]>
wrote:

>
> 2016-03-24 19:22 GMT+01:00 Mariano Martinez Peck <[email protected]>:
>
>> Good idea as well. Just as yet another useful example of this, I
>> recommend watching the proxies I defined for Marea as you will have
>> interesting proxies for classes and metaclasses. Basically, I defined quite
>> some methods in those proxies so that to avoid intercepting and faulting my
>> objects. See Marea code and watch for it's proxies! Let me know if you
>> found the methods I am talking about.
>
>
> And where is code? Of course I want to look
>

The code is in http://ss3.gemstone.com/ss/Marea

BTW..note that last time I tried Marea was in Pharo 1.4 so.. not sure if it
would load now. I have a one-click in either case that you can find here:
https://www.dropbox.com/sh/xp8jzyypmz0898j/AACRdHno6V7UfhaJ1ofTPPXva?dl=0

And what you are looking is in category 'Marea-Proxies'. See for
example MARClassProxy or MARMetaclassProxy as the examples were I added
messages to the proxies to avoid being intercepted. Those methods allowed
me the reduce the unncessary "swap in" when I had swapped out classes and
instances and suddently a simple #do: over behaviors swapped everything in.

In Marea you will find the IMPORTANT work for which I used Ghost approach.

Cheers,

-- 
Mariano
http://marianopeck.wordpress.com

Reply via email to