[z3-five] Re: Using Zope2 page templates with Five

Philipp von Weitershausen philipp at weitershausen.de
Fri Jan 28 12:02:42 MET 2005


Martijn Faassen wrote:
> Philipp von Weitershausen wrote:
> [snip]
> 
>> I certainly would like to have Zope 3 ZPTs in Five, as would probably 
>> others. If people really have the use case of needing Zope 2 ZPTs, how 
>> about the following:
>>
>> <browser:page> and all the configuration directives known from Zope 3 
>> make regular Zope 3 ZPT pages, while <five:page> and corresponding 
>> directives make Zope 2 ZPT pages. Or, maybe in a more intuitive 
>> manner, <zope2:page>?
> 
> 
> I don't really like that. I'd rather reduce the number of bewildering 
> options, as two ways to create pages would only reduce Zope 3 
> compatibility in the wrong run. five: directives should only be there in 
> *addition* to Zope 3 directives, to do some extra setup to make it work 
> in Zope 2, or something like that; they shouldn't replace Zope 3 
> directives.

My point :). The five: or cmf: directives would be add-ons, they could 
even be defined in a third party product like CMFonFive.

> What are the concrete use cases of having Zope 3 ZPTs in Five? What is 
> missing in Zope 2 ZPTs?

Well, as Fred said, the ZPT implementation of the future is the one from 
Zope 3. The Zope 2 will even be replaced with that one at some point in 
the future. So, first of all, it sounds like the better bet for the 
future. Second, the Zope 3 ZPT implementation has received improvements 
that haven't made it back to the Zope 2 flavour (I know that for a fact, 
just nobody remembers which changes those are).

Anyway, I'm really the only one without a hard use case here. Both 
Lennart and you have one, so I'm not too strong on this. All I was 
trying to point out that there is a way to support both without them 
interfering and possibly with both benefits.

Best regards,

Philipp



More information about the z3-five mailing list