[z3-five] Re: Viewlets in Five?
Philipp von Weitershausen
philipp at weitershausen.de
Thu Apr 20 23:22:43 CEST 2006
Martin Aspeli wrote:
> On Thu, 20 Apr 2006 17:34:58 +0100, Philipp von Weitershausen
> <philipp at weitershausen.de> wrote:
>
>> David Pratt wrote:
>>> Hi Phillip. Ok, thanks. I am just trying to figure out if I should hold
>>> off and wait for viewlets before writing a bunch of standard views for a
>>> raft of sql type stuff or not. Do you think this may land in Five soon?
>>
>> It will land when somebody does it. There are more people like you who
>> want to use them but nobody is implementing them. Five 1.4 is
>> feature-frozen, but there still is an opportunity for Five 1.5.
>
> Philip,
>
> Do you have an understanding of what is required in *Five* for them to
> be a reality?
Not really.
> From what I could tell reading the viewlet documentation, viewlets don't
> require that much magic, though they need a special provider: type in
> TAL, which should be backportable to Zope 2, and may just work in Zope
> 2.10.
>
> I'm not familiar enough with the low-level details of Five and the TAL
> engine to know what would be needed, but if you have an impression, it
> may be useful in getting something going.
I know that zope.contentprovider and zope.viewlet provide new TALES
expression types. These are shortcuts, though. I would be very surprised
if they couldn't be implemented in another way (simple API call).
I have too many other things on my radar and viewlets aren't of interest
to me in Five *at all*, so anything that happens in Five with viewlets
will have to be done by someone else. That's all I have to say and will
say on this subject. You guys figure out the rest :)
Let me know when you have something ready. I'd like to see a code review
before anything goes into the Five trunk, so that something like the
'interface utility' desaster can be avoided.
That's all.
Philipp
More information about the z3-five
mailing list