Monday, 30 May 2011

How the portal page is loaded with respective portlets

When a user requests a page with a URL,


1.    The browser sends the request to the Application Server (AS).
2.    Liferay gets the page name from the URL.
3.    It goes to the layout database table and finds the related
       theme and page layout.
4.    Based on the page layout, Liferay finds the portlets added
       into each area of the page layout.
5.    Liferay runs the portlet and adds the output in the
       portlet.vm template.
6.    Liferay interprets the portlet.vm template and adds the output
       in the page layout.
7.    Then Liferay interprets the page layout and adds the output in
       the portal_normal.vm template.
8.    After that Liferay interprets the portal_normal.vm template and
       returns the output, which is HTML markup, to the browser.
9.    The browser renders the HTML markup and presents the portal
        page to the user.

No comments:

Post a Comment