[Grok-dev] Re: RFC: Masterpage implementation without macros
Martijn Faassen
faassen at startifact.com
Mon Apr 16 12:43:10 EDT 2007
Philipp von Weitershausen wrote:
> 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.
Just proposed? This:
> [1] http://mail.zope.org/pipermail/zope3-dev/2005-December/016796.html
Goes back to december 2005. :)
Anyway, allowing the standard browser views to return something that
needs to be adapted to IResult would allow us to return markup streams
that could then possibly be post-processed. If we can at least hook into
the right place of the publisher to do the post-processing?
Meanwhile it looks like Kevin Smith's skin work on his branch can just
go ahead, as we'll need it whatever we do. We should look into merging that.
Regards,
Martijn
More information about the Grok-dev
mailing list