I agree with Jorge. If you're going to have one big API-breaking, non-backwards compatible change, then you should do all the others at the same time. Otherwise, TG could end up with a reputation that "something is always broken"...very bad.
Gentoo had this reputation for a long time... -- Kevin Horn On 1/30/07, Jorge Vargas <[EMAIL PROTECTED]> wrote: > On 1/30/07, Alberto Valverde <[EMAIL PROTECTED]> wrote: > > > > > > On Jan 30, 2007, at 6:41 PM, Paul Johnston wrote: > > > > > > > > Hi, > > > > > >> I'm in a bit of loss here... so, is 1.1 finally going to have Genshi > > >> as a default? I think we coudl safely have Genshi in 1.1 if I/someone > > >> can find a way to make 1.0 widgets displayable in a genshi template > > >> without needing ET in the page template. However, I'm not sure if > > >> it's possible... :( > > >> > > >> > > > Here's an idea: Have TG store the template engine that is in use > > > for the > > > request in cherrypy.request, like the widget nesting path is stored at > > > the moment. The widget display method would return an appropriate type > > > based on this. > > > > Hmmm, that's a good idea that hasn't crossed my mind... If someone > > feels like implementing it it's fine with me... However, I wouldn't > > bother with making genshi usable inside widget templates nor allowing > > mixing kid/genshi widgets in the same stack cause it's tricky stuff > > and already invented in TW ;) A simple mechanism to discern when > > widgets are being displayed on a genshi page template or inside > > another widget (always kid) and convert accordingly is enough. > > I don't know guys I think this is going to be a mess (specially frustration > by newbies) on the mailing list. if genshi is default widgets won't work if > not then widgets will work if you don't mix templates, now people will want > to mix templates just for the fact that they look so close to each other > that the obvious thing to do will be think they are interchangeable. Then we > have a whole lot of docs that need to be written "twice"... plus the fact > that you'll be running two templating engines. > > I really think we should make both switches together, make TW and genshi > default (it doesn't has to be for 1.1) but if not done like this it is just > calling for troubles. > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
