[Zope-dev] [Checkins] SVN: zope.traversing/trunk/src/zope/traversing/ Moved the publicationtraverse module from zope.app.publication and added tests.
Jim Fulton
jim at zope.com
Mon Jun 22 05:13:13 EDT 2009
On Jun 21, 2009, at 3:38 PM, Laurence Rowe wrote:
> Jim Fulton wrote:
>> I don't agree. The semantics are different. For example, you often
>> want to traverse to things in a template that you don't want to
>> expose
>> via URL. We currently (or last time I checked) expose ++resource+
>> +name in URLs and this is a bug.
>
> What use is a resource without being URL accessible? It's used fairly
> often in Plone products to expose static css / js / images.
The way to access a resource in a URL is <site>/@@/name, as Hanno
mentioned. The ++resource++name form is intended for use in ZPT
paths. It can be used anywhere in a path, which defeats effective
caching of resources.
Jim
--
Jim Fulton
Zope Corporation
More information about the Zope-Dev
mailing list