I use a combination of routes and traversal in my own CMS-app.  I've
developed it with Pylons 0.9.6, before Pyramid joined Pylons. It
basically means that only one part of my routes scheme triggers a
controller responsible for the traversal and CMS.  The routes config
looks like

map.connect('content', '/app/{mode}/{lang}/*url_obj',controller='rdc',
action='execute', mode='viewing', lang='en')

mode is either viewing or editing, lang is the language (it's designed
for multilingual site), the execute method of the rdc controller does
the actual traversing of the url_obj
The reason I put app in the beginning of the url, is to increase the
flexibility managing static files and controllers that perform non CMS
related actions, or to create shortcut to a method an a object in the
CMS tree.

If there is interest I'll provide the code

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to