[Zope-CMF] [dev] 'add' actions and views - a proposal
optilude at gmx.net
Tue Sep 23 17:28:45 EDT 2008
> Martin Aspeli wrote:
>> Wichert Akkerman wrote:
>>> Why not a ++add++ traverser? Aren't traversed supposed to be used for
>>> that kind of thing? Or does a view gives us something here that a
>>> traverser doesn't?
>> Namespace traversal adapters are similar to IPublishTraverse solutions.
>> The difference is that the namespace traversal adapter normally returns
>> something "containerish" from which traversal continues. I think it's
>> intended mostly as a "redirect" to a different traversal namespace, e.g.
>> in the way that plone.app.portlets has namespaces for portlet managers.
> I don't think a containerish return value is characteristic for
> namespace adapters. For example the ++view++ traverser usually doesn't
> return something containerish.
> I now implemented an ++add++ traverser in my sandbox and it seems to
> work fine.
Cool. :) Let us know when it's checked in, I'd love to have a look at it!
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
More information about the Zope-CMF