On May 24, 2008, at 6:37 AM, rcs_comp wrote: > > For example, I would like to have a "news", "blog", and "calendar" > module that I can plug into different applications. The goal is to > have everything for the module contained in one subdirectory including > any configuration, routing, templates, controllers, model, etc. So, > something like this: > > /modules/news/... > /modules/calendar/... > /modules/blog/...
If these are in fact separate applications, you can make each one its own Pylons app. Then you might also have a common package of code shared between all three (this would be a separate egg). Then at deployment time you can combine them into one composite application with Paste URL map, via the ini file: http://pythonpaste.org/deploy/#composite-applications -- Philip Jenvey --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
