[Zope3-dev] ContextMethod / Wrapper questions...

Jim Fulton jim@zope.com
Sat, 28 Dec 2002 07:43:53 -0500


Shane Hathaway wrote:

...

> I'm not saying we should do this, but at least it helped me see how
> context wrapping could be made less magical and how it could be integrated
> into other languages, even those with static types.  I now see writing 
> context-aware classes as a shortcut for writing two classes.

That's an interesting insight. The context wrapper is a kind of adapter
and you would have custom context wrappers for specific classes. It'w worth
pondering.

Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org