On 1/11/07, Tim Lesher <[EMAIL PROTECTED]> wrote: > > On 1/11/07, Joseph Tate <[EMAIL PROTECTED]> wrote: > > > > So, hanging out on #turbogears someone asked how you instantiate a > > widget in a Genshi template. The resulting answer was "You instantiate > > it elsewhere and pass it in". Is this really the case? Because that > > would mean that MVC, even in it's infant form in TurboGears will be > > dead in 2.0. > > Unless I'm really misreading you, this is already the way most people > work with TG 1.0 and Kid. What is different in the Genshi case? > same here, in fact some widgets will be created "globally" on the controller and just reused on the view.
In fact the concept of a widget is in itself violating the MVC since it has both some logic and presentation, although people could argue that widget's logic is purely presentation logic. > -- > Tim Lesher <[EMAIL PROTECTED]> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
