1.

Which Alternative Template Engines Can I Use With Turbogears?

Answer»

In principle, you can USE any templating language that provides a Buffet plugin INTERFACE, either directly or through a separate template engine pluginpackage. Template engines, that have been successfully used with TurboGears, include Genshi, Cheetah and Jinja. For general information how to use non-standard template engines with TurboGears, SEE Using Alternate Templating Engines.

If you are using widgets, you NEED Kid to render the widgets, but you can still use a different template engine for your PAGE templates. With ToscaWidget you can use any Buffet-compliant template engine for your widgets.

In principle, you can use any templating language that provides a Buffet plugin interface, either directly or through a separate template engine pluginpackage. Template engines, that have been successfully used with TurboGears, include Genshi, Cheetah and Jinja. For general information how to use non-standard template engines with TurboGears, see Using Alternate Templating Engines.

If you are using widgets, you need Kid to render the widgets, but you can still use a different template engine for your page templates. With ToscaWidget you can use any Buffet-compliant template engine for your widgets.



Discussion

No Comment Found