On 4/7/10 3:34 PM, Remy Blank wrote:
It's already a good sign that nobody has anything *bad* to say about
Jinja2. Still, is this the only reasonable alternative? Are there other
contenders out there, and what are the pros and cons of each solution?
I'm not trying to work against Jinja2, just to keep the view broad
before making a choice.
Breve [1], mako [2], and cheetah [3], off the top of my head.
I'm a bit wary of how this could work out. Let's say (for the sake of
argument) that we switch to Jinja for 0.13. This is a large internal
change, but mostly invisible to end-users (except for better speed,
which may or may not have a significant impact). Besides, we either
break most of the existing plugins (if we don't transition gradually) or
increase the work significantly (if we transition gradually).
So, we get a new release where:
- a big chunk of work is barely visible to end-users
- plugins stop working for no (user-understandable) reason
- themes and style customizations stop working
I do hope that if we go this way (and maybe a radical but painful switch
with limited backward compatibility is the best solution), we can at
least bundle it with a few highly visible, high value features.
Improving internals is all well and good, but at the end of the day,
it's the user-visible features that the users care about.
Speed of the site being one of the biggest features that users care about ;)
If we change templating engines again (for which I'm +1 atm) then I
think our only real option is doing a full switch, no backwards
compatibility for the following reasons:
* There is no indication that a gradual transition will provide any
help with plugin transitions
* Even with a compatibility layer, it's not going to be 100% and we'll
probably end up breaking a bunch of plugins anyway
* We can be very clear about which plugins are supported. i.e. Only
plugins that specifically state they work on 0.13 will work
* Breaking everything on purpose will help bring out the issues early,
rather than mask them in the compatibility layer.
-John
[1] http://breve.twisty-industries.com/
[2] http://www.makotemplates.org/
[3] http://www.cheetahtemplate.org/
--
You received this message because you are subscribed to the Google Groups "Trac
Development" 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/trac-dev?hl=en.