[Zope3-dev] z.a.pagetemplate.engine and ITraverser
Steve Alexander
steve at z3u.com
Wed Aug 4 10:18:43 EDT 2004
> True. I think naming the interface for the concept rather than the
> most common usage makes more sense though. What's the most common
> usage might change over time.
Are these things used outside of TALES at all? I don't think so, but
I'd like to be proved wrong.
If they are used only for TALES, then they should be ITALESTraversers.
I'll invoke "AL" at this point: "Abstract Later"
(AL is a pal of DON, YAGNI and WHUI.)
>>Why are we calling them "IURLTraversable" and not "IURLTraverser" ?
>
> As I read it, there are actually both. The Traversable flavor handles
> one segment at a time and can re-write the remainder of the names,
> while the Traverser handles the whole complete path. The Traverser
> would use the Traversable adapters to do it's job (as
> z.a.traversing.adapters.Traverser does now).
Ok, so how about IURLSegmentTraverser and IURLTraverser ?
I really don't like to have to remember or to explain the difference
between a "traverser" and a "traversable".
--
Steve Alexander
More information about the Zope3-dev
mailing list