[Zope3-dev] Re: RFC: TALES adapters and TAL/Tales variable namespaces

Garrett Smith garrett at mojave-corp.com
Fri May 28 12:29:11 EDT 2004


Jim Fulton wrote:

> 
> I want to thank everyone who's participating in this
> thread. The input is extremely valuable.

This might get an award for longest thread before The Edict is handed 
down ;)

  > I suggest that whatever short syntax we come up with should be 
handled by
> TALES, not the standard path traversal machinery.
> 
> Given that, I still prefer context#dc to context/##dc.

I think the notion of traversal is useful here. I don't think we need to 
double up on a character for the sake of symetry with @@, based on your 
point. But I prefer

   context/#dc/title

to

   context#dc/title

The former suggests a special type of attribute lookup, which I think is 
a more natural way to extend the existing syntax.

  -- Garrett





More information about the Zope3-dev mailing list