Hi Mark, On 7/17/07, Mark Ramm <[EMAIL PROTECTED]> wrote: > TG2 will be more like TG1.1 than it is like pylons, in that we'll be keeping > object dispatch, the basic controller API, and Genshi, and those are not > standard in pylons. > > Avoid storing any kind of global state in the controllers, since TG2 > controllers will be instantiated on a per-request basis. (This was just a > good practice in TG 1 anyway).
Why will TG2 instantiate controllers on each request ? What are the pros and cons of the actual model of TG 1 (one instance of each controller in the entire lifetime of the application process) ? Cheers, Roger --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---