- Abstract proxy classes uses Ghost name instead of Proxy: there are GHObjectGhost and GHClassGhost.
- GHProxyHandler renamed to GHGhostBehaviour. Concrete ghosts should implement #ghostBehaviour instead of #proxyHandler.
Why did you rename these classes?I find the new names obscure and they do not provide a clue of what is the purpose of the class. Old names were clear and easily understandable.
GHInterceptionDelegatorGHProxyTrapGHAbstractProxy
GHObjectGhost
And I guess you would call it GHObjectProxy or GHAbstractProxy. Lets look at wikipedia:
A proxy, in its most general form, is a class functioning as an interface to something else. The proxy could interface to anything: a network connection, a large object in memory, a file, or some other resource that is expensive or impossible to duplicate. In short, a proxy is a wrapper or agent object that is being called by the client to access the real serving object behind the scenes
Ghost is framework to implement unnatural smalltalk objects like proxies and prototypes.,
- New kind of proxies:
- GHObjectVirus. It is special kind of GHClassProxy. It infects real object to intercept it messages. From meta level infected object looks like healthy object which means that meta messages are executed by infected object itself. As class virus looks like real victim
Same remark here. The name is fun but it does not give any clue on the purpose of the class. Why not use GHMessageInterceptor?
Sorry to bother you but names are really important.
Free forum by Nabble | Edit this page |