[Zope3-dev] "here" vs "context" for templates in content space

Paul Winkler pw_lists@slinkp.com
Fri, 28 Feb 2003 20:07:28 -0500


On Fri, Feb 28, 2003 at 04:42:11PM -0700, Jeffrey P Shell wrote:
> On Friday, February 28, 2003, at 02:52  PM, Jim Fulton wrote:
> I thought the definition is (in Zope 2) thus:
> 
> container - thing holding the script/page/whatever
> context - where it was being called  (aka wrapped_self)
> 
> here - same as context
> 
> If `here` were to suddenly change to `container`, it would be like 
> changing the traditional meaning of `self` to mean `super`.

exactly!
 
> I don't know why we'd change the behavior of 'content-space' pages.  
> This whole 'context means context except for where it means container' 
> begs the question - why not just keep context meaning context and have 
> container mean container?

i think that's where we started out and where we ended up ;-)


-- 

Paul Winkler
http://www.slinkp.com