On Sep 11, 2006, at 10:17 PM, Jorge Godoy wrote:

>
> Kevin Dangoor <[EMAIL PROTECTED]> writes:
>
>> Just make TG apps, as they're designed to be. (MVC, with their
>> app.cfg, and a RootController). A reusable app will just be an egg.
>
> An egg that makes its templates share the same visual...  Imagine I  
> have an
> app for user management, an egg for employees management, an egg  
> for the
> payroll, and egg for the accounting department, an egg for ...  you  
> got the
> idea.
>
> The main problem is sharing presentation...

Two things...

1) py:match, and I probably should've mentioned this: an app that's  
designed to be reusable will have very little "trim" around the edges  
and rely extensively on CSS. Between CSS and py:match, you'd be able  
to customize a fair bit without replacing the original file
2) template paths or something similar - replace the template  
entirely from within your own egg.

Kevin


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