nick keighley
Proxy is used to "Provide a surrogate or placeholder for another object
to control access to it." Maybe Proxy is a generalization of your
"attorney pattern"?
No. He is referring to the C++ Attorney-Client Idiom, as published in
Dr. Dobb's C++ User Journal.
Also, I forgot to mention that many people THINK they want to use an
Attorney-Client Idiom when really likely want David R. Redell's
Caretaker pattern. Since Attorney-Client Idiom strictly violates OO
semantics, Caretaker repositions the problem as an Object-Capability
one.
For an overview, see the papers:
* Paradigm Lost: Abstraction Mechanisms for Access Control by Mark S.
Miller and Jonathan Shapiro
* Paradigm Regained: Abstraction Mechanisms for Access Control by Mark
S. Miller and Jonathan Shapiro