Tuesday 12 October 2010

Getting introduced to Liferay Portal

Just finished first chapter of a book titled, "Liferay in action". It is an introductory chapter and provides useful tour of Liferay portal. It is freely available at http://www.manning.com/sezov/Sezov_LiA_MEAP_Ch1_FREE.pdf. Following are my notes from this chapter.

  • Liferay is an application (read: portlet) aggregator, content manager and a collaboration tool.
  • A Liferay server consists of one or more portals. Each portal has its own set of users and user collections.
  • There are four types of collections:
    1. Role: Collects users by their function. Permissions in the portal can be attached to roles.
    2. Organization: Collects users by their position in a hierarchy. Organizations can be nested in a tree structure.
    3. Community: Collects users who have a common interest. They're single entities and can't be grouped hierarchically.
    4. User Group: Collects users on an ad hoc basis. Defined by portal administrators.
  • Organizations and Communities can have any number of pages defined within them. Pages are organized into Layouts, and there are two types of Layouts: Public and Private. User Groups don't have pages per sé, but rather can have Page Templates. By default, each user gets a personal community, which itself has public and private layouts. This is a personal web site which the end user can configure.
  • Roles can be created under one of two scopes: Portal Role and Community/Organization Role.
  • Portlets could be either non-instanceable or instanceable. Non-instanceable portlet (e.g. wiki portlet) has its data scoped by the community or organization to which it belongs. No matter how many times you add it to a page with the community or organization, it will point to the same data. On other hand, in case of instanceable portlets (e.g. RSS portlet), since many of them can be placed on the same pages in any community or organization, they all have their own sets of data.
  • Liferay's Control Panel is the central location where just about everything can be administered.
  • While designing the portal, first step is to get answers to following questions:
    • Will users be given freedom to sign up on the site?
    • Will your user groupings be ad-hoc, static, or both? (If your user groupings will be ad-hoc, you know you'll be creating communities for your users to join and leave.)
    • Will some regular users have access to things others won't? (If so, you know you'll be using Roles.)
    • Will you be delegating administrative tasks to some users? (If so, you may have Community or Organization Administrators.)

Now next step for me is to install and explore Liferay portal!


myuceel said...

Hi, Thanks for your post. I cant found time to read the book so i searched for it. I found your post which is nice summary.. Thanks.

Bye the way, you wrote that on october 1, are there any progress , can you give some more experience on liferay ?

thanks again

Myindustry said...

Nice summary of book ! It seems really interesting ! where can we find that ?

Rose said...

I am looking for such type of informative news and i get through this blog so i am very much thankful to you for sharing such a great information.
- liferay portlet

Amitava said...

Sir could you plz provide ur email id at amitavag10@iimcal.ac.in
I am a doctoral student of MIS at IIM Calcutta.


Anonymous said...


I am dennis from baby carrot a company in singapore.

We want to develop a social network based on liferay.

Would need the advise of an architect to ensure we have a good design.

Can you provide archiecture adivse? Or can you provide contact for another Liferay expert in Singapore ?

We will require 1-2 hours per week of your time max.

Thank you.
Dennis Yar
yardennis (at) gmail .com