Alan McAuley wrote:

> Hello again list...
>
> You are all busy, I know....
>
> Perhaps just a pointer then...
>
> Im looking an explanation of the portlet "life cycle", so to speak. Im
> trying to understand better how all the parts interact in an
> architectural way.  When does "this" get called, when does "that" get
> called etc. I realise its built on Turbine but information on this link
> would be very helpful. Ive read the website and tried to look for mail
> archives before asking on this list....
>
> Is there anything available on this matter?
>

I'll tell you some bits. I imagine the rest is in the proposal that Kevin
is preparing.

A portlet is instantiated from the portlet markup entry. Depending of the
class, it will be initialized. For instance, RSS portlets load and parse
the RDF file from the cache (or the channel provider), and then, they store
and cache the information they need. Typically the portlet object is stored
in a memory cache, where it can expire. When expired, it should be
reinstantiated.

Later, when a portlet is to be "drawn", getContent is called. In the patch
I'm finishing, it carries RunData as a parameter. The content of a portlet
is a ECS element, which gets merged into the page.

There is a different object, PortletConfig, which stores information
gathered from the markup (static, so to say). This object goes together
with the given instantiation of a portlet.

That's all I know by know. I know it is fuzzy, but a bug was discovered in
the rendering process and it is being fixed. Also, Kevin is changing things
for a proposal.

The text of the proposals should be in this list. I think the current
archives are better than they used to be.

P.S.) Everybody correct me if I'm wrong, but gently, pleeeaaa :-)

>
> Thanks in advance
>
> Alan McAuley
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to