And all the plugins maintained in the trac-hack have to re-write to
meet the new Template Engine.
Even if Genshi is XML oriented, is it support SVG engine or other
customized XML libraries?
On Jul 5, 11:03 pm, sirtoozee <sirtoo...@gmail.com> wrote:
> I argue that ClearSilver could performance better than Genshi due to
> it is developed in C.
Yes, ClearSilver is much faster than Genshi, but Genshi is fast enough
for our needs, and far more flexible. One key feature is that
Genshi's "match templates" will allow Trac users to override and
customize the Trac templates more thoroughly than is possible with
ClearSilver. Genshi is also getting some great support for i18n which
should make the Trac internationalization much smoother. Also,
ClearSilver's C API is part of the problem. ClearSilver is better
designed for use within C applications, while Genshi is designed
specifically for Python, so it fits better within the way Python
applications are developed. Future versions of Genshi will include
optimized C implementations of performance-critical functions which
should help make it faster.
> And all the plugins maintained in the trac-hack have to re-write to
> meet the new Template Engine.
Yes, though Trac will maintain a compatibility layer at least for the
0.11 release to give users time to convert. The conversion process
isn't too hard, and Genshi should make the templates easier to
maintain in the long-run.
> Even if Genshi is XML oriented, is it support SVG engine or other
> customized XML libraries?
Genshi can be used to generate any XML document, including SVG.
However, Genshi is not an SVG engine; you'll need to look at other
libraries for that.
-- Matt
As an example, the Trac:RevtreePlugin uses embedded SVG with Genshi templates.
Cheers,
Manu