Em Tuesday 05 February 2008 17:12:24 Lukasz Szybalski escreveu:
>
> By entry point do you just mean a link or you actually importing each app?
> How would the controller look for that?

No.  I really mean entry point.  Take a look at setuptools.  The code is the 
same that TG uses to find new components -- e.g. widgets, commands to 
tg-admin, etc. -- and we can also benefit of this tool on our applications.

> Is master app the only one you are setting up as far as apache is
> concerened?

Yes.

> I don't see how you combine all apps in master since you either have
> to have them installed in python path (then import
> my3rdapp.controller), or if you use wsgi then you would have to set
> the path to each app?

I use entry points to automatically import them on the master application.  
After that, then it is just a matter of importing things, like in modules.  
The difference is that it is all done automatically by setuptools.

http://peak.telecommunity.com/DevCenter/setuptools
http://peak.telecommunity.com/DevCenter/setuptools#dynamic-discovery-of-services-and-plugins


-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to