[Seaside] Re: pier help

laurent laffont laurent.laffont at gmail.com
Wed Sep 1 06:26:33 UTC 2010

Thank you Yanni.

I've added these infos to the Pier-Help package and others I've found...


Laurent Laffont


On Wed, Sep 1, 2010 at 1:11 AM, Yanni Chiu <yanni at rogers.com> wrote:

> laurent laffont wrote:
>> Hi,
>> I'm trying to understand how Pier works, especially rendering content.
> Here's the rough understanding that I have.
> - the content is held in instances of PRStructure subclasses
> - PRPage is the most important subclass, with regard to wiki content
> - the wiki syntax that a user submits, is parsed into real objects (i.e. a
> parse tree), and these parse tree objects are from the PRDocumentItem
> hierarchy
> - each PRPage holds the parse tree for a page of content
> - if you inspect/explore the class variable named "instances" of the
> PRKernel class, you will see the content/pages/parse-trees
> - to display content, the parse tree is traversed by an appropriate
> subclass of PRVisitor
> - in the case of displaying content via Seaside, the important class to
> look at is PRViewRenderer. This visitor traverses the page/document parse
> tree, and during the traversal, invokes Seaside rendering code which results
> in the appropriate HTML being emitted.
> Hope that helps to get you started.
> --
> Yanni
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100901/6024661c/attachment.htm

More information about the seaside mailing list