On Sep 11, 2006, at 1:00 AM, Tim Lesher wrote:

>
> I know some mention has been made of improving reusability in TG 1.1,
> but I can't find any specifics.  What's the view going forward?
>
> The big issues I can see right now are:
>
> 1. What's the recommendation for structuring model, controllers, and
> templates for reusable components?

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.

> 2. What's the recommendation for dealing with the different supported
> ORMs and template engines?

It doesn't really matter. Just put your requirements in  
install_requires in setup.py, and tell the user what they'll need to  
configure their database.

You'll be able to hook an app into your site in just a line or two of  
config (I believe Elvelind already has this, but he's not sharing yet :)

BTW, this is probably a better discussion for the trunk list.

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