Hi Robin,

This area is the focus of TurboGears 1.1. At the sprint back in
February, I had TurboGears with PasteDeploy on the front and it was
pretty cool. But, that's not usable yet, and we haven't really started
working on 1.1.

There are two big issues when it comes to multiple application
mounting that you'll have to deal with on your own right now (unless
you want to help out with 1.1, but you'll probably be able to move
more quickly if you're just using your own interim solution). The two
issues are:

1) configuration
2) templating

#1 is actually somewhat dealt with by cherrypy.tree.mount (what you
were remembering). To use that, you just do
cherrypy.tree.mount("/foo/bar", YourAppRoot())

#2 is that there is basically no way to override the "master" template
for an app. Your only "standard TurboGears" route for customization is
the sitetemplate, which may be enough for you.

Kevin

On 5/23/06, Robin Haswell <[EMAIL PROTECTED]> wrote:
>
> Hey guys
>
> I was wondering what the best way of handling sub-projects would be,
> both creating and mounting.
>
> In essence I want to create lots of in-house tools with TG (bcoz it
> rox), yet keep them as discrete as possible so we could pass them on to
> friends/partners. I know you can mount a controller in the method
> described for Catwalk, but I really want each one to be able to use a
> (possibly) different set of database credentials. I remember someone
> mentioning an alternative method of mounting - I think it was
> "cherrypy.mount" or something similar, but I can't remember enough to
> get anything out of Google :'(
>
> Also would you recommend quickstarting a sub-project (so it could also
> be used standalone), or just creating a directory tree that is suitable?
>
> Could anyone provide some advice please?
>
> Cheers
>
> -Rob
>
> >
>


-- 
Kevin Dangoor
TurboGears / Zesty News

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

--~--~---------~--~----~------------~-------~--~----~
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