[Zope-dev] Re: [Zope3-dev] Re: Re: RFC: TALES adapters and
 TAL/Tales variable namespaces
    Jim Fulton 
    jim at zope.com
       
    Thu May 27 15:32:43 EDT 2004
    
    
  
Evan Simpson wrote:
> Jim Fulton wrote:
> 
>> IMO, if we take this route, we should think of the notation as
>> providing an alternate traversal operator.  That is, there is
>> syntax that either modifies or replaces "/", so of the examples
>> above, only:
>>
>>  context/*dc/title
> 
> 
> In that case, I'd be happy to consider adaptation as orthogonal to my 
> path prefixes. 
Yup.
 > Might as well drop the slash and go with the previous
> suggestion:
> 
> context*dc/title
> 
> I can easily read the star as an adaptation operator, even with multiple 
> applications.
On IRC, Martijn Faassen suggested (brainstormed really :) '#', as in:
   context#dc/title
I like this becase # kinda looks like a special kind of slash. :)
What do people think of this?
Jim
-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
    
    
More information about the Zope-Dev
mailing list