Well, this is about the reaction I thought we'd get ;) I never really thought that option 2 was viable, so in my mind we were really going between 1 and 3, and I think that the right answer is to do 1 for now, and let people who have crazy performance optimization needs help us out by adding Mako templates to components as the need arises.
So, where it's reasonably easy, we should make it possible to have both Genshi and Mako templates in various components, but for most things we can safely assume Genshi, and deal with the mako/performance issues as they come up. --Mark Ramm On Dec 12, 2007 11:40 PM, Mark Ramm <[EMAIL PROTECTED]> wrote: > So, I like Genshi, and it's definitely more "backwards compatable" > with tg1.x. So, we definitely need to support it. But genshi will > always be slower than Mako. And mako has lots of page fragment > caching features which are very nice for high traffic sites. > > People who have lots of traffic, or want the lowest possible latency, > will probably always benefit from using mako, and if we start building > reusable turbogears components, it would make sense to use mako since > that would make them re-usable for the widest variety of people. > > As I see it we have a few options: > > 1) Make Gehsh the default, use Genshi in components, and leave the > speed daemons to do stuff on their own. > 2) make mako the default, use mako to build components, and break > backwards compatibility > 3) try to get component developers to provide both Genshi and Mako > versions (ToscaWidgets does this to some extent IIRC). > > I'm concerned that option 1 limits the performace/scalability of tg2, > and option 2 is too big of a change from tg1. And I'm not sure how > much work 3 is, but I'm guessing that it's not insignificant, so it > will limit the number of components that get developed. > > What do you all think? > > -- > Mark Ramm-Christensen > email: mark at compoundthinking dot com > blog: www.compoundthinking.com/blog > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
