<div>Thank you Yanni.</div><div><br></div><div>I&#39;ve added these infos to the Pier-Help package and others I&#39;ve found...</div><div><br></div><div>Cheers,</div><br clear="all">Laurent Laffont<br><br><a href="http://pharocasts.blogspot.com/">http://pharocasts.blogspot.com/</a><br>

<a href="http://magaloma.blogspot.com/">http://magaloma.blogspot.com/</a><br>
<br><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 1:11 AM, Yanni Chiu <span dir="ltr">&lt;<a href="mailto:yanni@rogers.com">yanni@rogers.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">laurent laffont wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I&#39;m trying to understand how Pier works, especially rendering content. <br>
</blockquote>
<br></div>
Here&#39;s the rough understanding that I have.<br>
<br>
- the content is held in instances of PRStructure subclasses<br>
- PRPage is the most important subclass, with regard to wiki content<br>
- 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<br>
- each PRPage holds the parse tree for a page of content<br>
- if you inspect/explore the class variable named &quot;instances&quot; of the PRKernel class, you will see the content/pages/parse-trees<br>
<br>
- to display content, the parse tree is traversed by an appropriate subclass of PRVisitor<br>
- 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.<br>


<br>
Hope that helps to get you started.<br><font color="#888888">
<br>
-- <br>
Yanni<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</font></blockquote></div><br>