Hi

I sort of touched on this a week ago or so but didn't quite get the
right response.

Lets say i'm building a large site and I would rather have all the
pages accessible like this:
localhost:8080/page, localhost:8080/page2, etc...

Naturally this would lead to a very large and unorganized controller.py
file.

By writing subcontrollers, the pages would then become accesible like
this:
localhost:8080/page/, localhost:8080/page2/, localhost:8080/page/page,
etc....

But I would like to have the pages accessible via the first method,
meaning without the middleman directory.

The last TG post I asked a week ago had to do with writing
subcontrollers which had the same scope as the controller.py file, so I
could do away with the middleman dir.  I tried it but it didn't have
the results I wanted.

I looked at all the example TG apps and they either have a very large
controllers file or have subcontrollers with the middleman directory
problem.

Is there another way to do this?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to