Although this does not answer the specific questions asked in this thread, putting some practices that I follow using SA:
1. Define all tables in model.py 2. Create a separate package "bo", and put each business objects as modules in it. Create a base class for business objects, where common stuff can be put. 3. "from myproject.bo import *" in model.py and wherever it is needed to refer the business objects. 4. All mappings of tables and Business Objects are done in model.py, using assign_mapper So, model.py contains the plumbing code, where as bo focuses only on business logic. I think there might be a scope to autogenerate model.py from the database and/or some configuration file. Imagining further, there is a scope to develop a GUI tool (similar to one with ActiveGrid or DBDesigner) handling this. My experience with SA has been quite exciting. The support of Michael has been excellant whenever some additional feature or technical guidances was needed. sanjay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

