[Zope] Pretend folders

Oliver Bleutgen myzope@gmx.net
Mon, 22 Jul 2002 16:04:01 +0200


Peter Bengtsson wrote:
> What I want is to be able to pretend that a certain folder exists when 
> it doesn't.
>  From a database of directory structures I would like to be able to 
> build up fake folders that don't exist.
> So instead of http://host/directory?dir_id=345 I would like to have 
> http://host/directory/Business/Entertainment/Music
> 
> How do I go abouts doing this?


Maybe PathHandler, one of the nice products from the NIP guys, is a good 
starting point:

"The Path Handler product lets you handle URLs which don't correspond to 
objects.

For example, if ph is a Path Handler, then, in the following URL:

http://a.server/ph/1/2/3/4"

See:
http://www.zope.org/Members/NIP/PathHandler


HTH,
oliver