[Zope-dev] Thoughts on '/'
Evan Simpson
evan@tokenexchange.com
Wed, 14 Jul 1999 16:38:45 -0500
Issues:
1. New Zope users often expect to be able to write <!--#var foo.bar--> in
order to get the effect of
<!--#with foo-->
<!--#var bar-->
<!--#/with-->
2. In 1.10.13, at least, you can create an object with "/" in its id, with
confusing and inconsistent results.
Proposal:
1. Don't allow "/" in object ids.
2. Do allow tags with name arguments to treat <!--#tag foo/bar/baz etc...-->
as equivalent to:
<!--#with foo-->
<!--#with bar-->
<!--#tag baz etc...--->
<!--#/with-->
<!--#/with-->
since it's so much more concise, and nicer than <!--#tag
expr="foo.bar.baz()" etc...--> (which I suspect of having slightly different
semantics, as well).
BTW, with this sort of thing should I just whip up a patch and send it to
the Collector instead of testing the waters here?
just-like-in-a-URL-ly y'rs
Evan Simpson