[Grok-dev] Re: RFC: Masterpage implementation without macros

Philipp von Weitershausen philipp at weitershausen.de
Mon Apr 16 12:35:32 EDT 2007

Martijn Faassen wrote:
> We need to try some implementation work. Either lxml or Genshi should 
> offer the tools to implement the xpath stuff. It also needs work to 
> define what grok.skin() actually does and then to implement it.

I'm much in favour of having an XML-based pipeline (both lxml and Genshi 
sound like they provide good tools here).

Gary Poster just proposed (see my response [1]) something on the 
zope3-dev mailinglist to allow standard browser views to return 
non-string objects which the publisher then adapts to IResult in order 
to actually obtain a string. For efficiently streaming large data to the 
client, this approach is already used internally in Zope 3: you write 
the data to a tempfile and return the file handle, the adapter to 
IResult streams the data in chunks.

[1] http://mail.zope.org/pipermail/zope3-dev/2005-December/016796.html

http://worldcookery.com -- Professional Zope documentation and training

More information about the Grok-dev mailing list