"Matt Culbreth" <[EMAIL PROTECTED]> writes: > So where do people end up putting application logic as described in #3 > above? I can see three logical places: > 1. In the model classes (or the classes used by SA in the mapping) > 2. In the controller classes > 3. In some Business Logic classes that are a bridge between models > and controllers.
I put some of it at my controllers and at the fourth option: inside the database. Everything that the database can handle by itself should be there. This makes the code smaller on the application and guarantee the robustness of the information stored there no matter how it got inside the database. If you're planning on something that will never be used with anything else other than with TurboGears then putting most of the code inside python modules and inside your controllers is safe. -- 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 -~----------~----~----~----~------~----~------~--~---

