2014-10-22 15:18 GMT+02:00 Esteban A. Maringolo <emaringolo@gmail.com>:
Hi Mariano,
2014-10-22 9:53 GMT-03:00 Mariano Martinez Peck <marianopeck@gmail.com>:
Hi Esteban,
You may want to check some proxy implementations I did. You can check Ghost proxies in my PhD thesis: http://rmod.lille.inria.fr/archives/phd/PhD-2012-Martinez-Peck.pdf and here: https://hal.inria.fr/hal-00877757/PDF/main.pdf
I'll take a look into them, thank you.
One of the things I did was to be able to enable (could even be done dynamically) debugging capabilities to proxies..that is...proxies would understand theirself all necessary methods for inspecting/debugging/printing/exploring them without actually intercepting the message. You can read about that in the above links. As a quick prototype.... you way want to create a subclass of ProtoObject or directly add those messages to the Glorp proxy.
That's exactly what I did, and you can see added methods to AbstractProxy (Glorp) in the latest commits of Glorp at SmalltalkHub.
However, my mail had two intentions, one is a rant about why some tools depend on methods defined only in Object but not in ProtoObject (and hence, most Proxies). The other intention was to learn about the newcoming Proxies implementation, about which you helpfully provided two documents to read about.
Also...AFAIK, Camille Teruel was doing some stuff with Ghost Proxies, so he might have the latest version available somewhere. In anycase, my original code was in: http://ss3.gemstone.com/ss/Ghost but saw there is also: http://smalltalkhub.com/#!/~CAR/Ghost/ which may be newer.
So this is the implementation of the previously described thesis?
yes and the journal paper too. Luc
Thank you!
Esteban A. Maringolo