Liferay book: Liferay Portal 6 Enterprise Intranets

An overview of Liferay Portal 6 Enterprise Intranets

  • Install, set up, and build a corporate intranet with Liferay's complete guide
  • Configure, customize, and integrate with other applications and also implement portals and plugins within Liferay
  • Discussions, Wiki, blogs, collaboration, CMS & WCM, Social Office, federated search, clustering and more
  • Clear, step-by-step instructions, practical examples, and straightforward explanation

Sample chapter, Table of contents, Download the code

Liferay Portal is the world's leading open-source portal platform built on Java and Web 2.0 technologies. Corporations use it to provide a unified web interface to data and tools scattered across many sources.

Liferay Portal uses the latest in Java, J2EE, and Web 2.0 technologies to deliver solutions for enterprises across both public and private sectors. Liferay Portal's flexibility allows it to be deployed in a number of different scenarios to meet key business needs. 

What this book covers

Chapter 1: Introducing Liferay for Your Intranet introduces Liferay portal, CMS and WCM, collaboration, social networking, and Social Office.

Chapter 2: Set up Home Page and Navigation Structure for the Intranet discusses how to implement a portal page with portlets. It also shows how to customize the look and feel of pages and portlets through themes and look and feel preferences. It helps us understand the portal, portlet container, and portlet according to the JSR-286 specification—how to set up the portal, including installation options and deployment matrix, how to configure the home page and all the other pages of the intranet website. Then it introduces us to building basic pages, as well as setting up the portal pages. It, going further, discusses how to navigate the structure of the intranet via portlets, for example, Site Map, Breadcrumb, and Navigation. It also shows how to configure the portal, how to customize the Dock bar menu, and how to configure database and mail. Finally, it provides guidance to bring pages together in action, to share any portlet within a portal page, and to customize the Control Panel.

Chapter 3: Bringing in Users first introduces how to create and manage organizations and locations and teams; how to add users and manage (for example,e.g. view, search, update, deactivate, restore, delete and impersonate) users; how to add user groups and manage (for example,e.g., view, search, update, delete and assign) user groups. Then it introduces how to integrate with different authentication servers: LDAP, LDAP, CAS, NTLM, OpenID, OpenSSO (renamed as OpenAM), SiteMinder. Furthermore, it introduces how to manage permissions, and how to add roles and manage (for example,e.g., view, search, update, delete and assign) roles.

Chapter 4: Forums, Categorization, and Asset Publishing describes how we can add categories and subcategories in Message Boards. Then it discusses how to add a tag and manage (add, delete, and update) categories and vocabulary, as well as how to tag assets and display tags. Finally, it addresses how to publish assets through the Asset Publisher portlet and how to configure and customize the Asset Publisher portlet.

Chapter 5: Wikis, Web Forms, and Polls introduces how to add and manage (view, update and delete) nodes of Wikis, to add pages at the nodes in Wikis, to manage (view, update, delete and search) pages for a give node in Wikis, to use permissions of Wikis portlet and permissions on nodes, and to publish Wiki articles in the intranet first. Then it introduces how to set up Web Form in order to collect users’ suggestions, to configure polls and to display survey in order to assess public opinions. In addition, it introduces how to integrate OpenOffice, Orbeon forms and Alloy UI forms briefly.

Chapter 6: Blogs, WYSIWYG Editors, and RSS  introduces how to add entries of Blogs; how to manage (e.g., view, update and delete) entries of Blogs; and how to add comments for a given entry of Blogs first. Then it discusses how to assign permissions on the Blogs portlet and entries of Blogs. It also introduces the ways to publish Blogs by Recent Bloggers portlet and Blogs Aggregator portlet and to build Blogs with the WYSIWG editor CKEditor. Finally, it discusses RSS and related portlets like RSS portlet, Weather portlet, Announcements portlet, and Alerts portlet.

Chapter 7: Roll Out to Other Teams introduces communities portlet, involved how to add a community; how to manage (edit, delete, search, join, leave) communities first. Then it discusses how to add and manage the pages, teams and users within a community; to assign permissions on communities, and to show what’s different between organization and community. How to employ community virtual hosting is also introduced. Furthermore, it discusses how to use stage, preview, and publish websites, and manage staging workflow. Scheduling and remote publishing are also addressed in details. Finally, it introduces how to use community tools, e.g., my communities, bookmarks, invitation, directory, etc.

Chapter 8:CMS and WCM introduces how to add folders and sub folders for images; to manage folders and sub folders; to add images in folders and manage images; to set up permission on folders and images first. Then it discusses how to add folders and sub folders for documents; to manage documents, to add comments, to give your rating, to view versions; to set up permission on folders and documents; and to publish documents. Moreover, it introduces structures management, templates management and articles management. It emphasizes on how to build articles based on structures and templates, and how to set up permissions on Web Content Management, articles, templates, structures, and Feeds. Finally, it introduces how to publish articles and to employ other WCM tools. In a word, WCM doesn’t only provide high availability to publish, manage, and maintain web contents and documents, but also does it separate contents from the layout.

Chapter 9: Social Office, Hooks, and Custom Fields introduces how to add a participant for chatting; to manage (view and delete) participants in chat portlet; to start chatting; and to set up chat portlet first. Then it discusses how to manage (check, delete, add, reply, forward, search) emails and furthermore, to set up mail portlet properly. It states how to manage SMS Text Messenger portlet and to send SMS text messages. Then it mainly discusses on how to build social office with so-theme, so-portlet together with hooks and other portlets. Finally it states how to apply custom fields on any assets.

Chapter 10: Search, WAP, CRM, Widgets, Reporting, and Auditing introduces how to employ federated search and how to integrate search against content from plugins first. Then it discusses how to use CSZ search and map search portlets. Especially, it discusses the OpenSearch concept. It also introduces Web Content search and how to configure sitemap and pluggable enterprise search. Finally, it discusses plugins management, WAP sites, reporting, auditing, CRM and Widgets.

Chapter 11: Ongoing Admin Tasks introduces system administration which provides ability to view sever information, to create and manage instances. Moreover, it discusses monitoring portal and portlets operations, dynamic data source (database read-writer), and database sharding. Then it introduces portal administration which doesn’t only allow users with permissions to manage users, organizations, user groups, and roles; but also does it show portal settings information, password policies, and monitors users’ activities. It also addresses how to build clustering environment, how to backup data and to migrate data, and how to speed up the portal. In addition, it discusses full integration with Alfresco by web services, RESTful services like OpenSearch, and moreover, CMIS. Furthermore, it introduces full integration of LDAP, SSO CAS, Liferay and Alfresco. Finally, it discusses Ad server OpenX integration.

Approach

This book is a practical guide with a very user-friendly approach. The author has taken a virtual enterprise as an example and has used the features of Liferay to build a corporate intranet for that enterprise.

Who this book is for

This book is for beginners to Liferay and "Do-It-Yourselfers" who want to develop a simple but powerful corporate Intranet. The book assumes technical confidence but does not require specialist administrator or developer skills.

Acknowledgements

I would like to thank team members at Liferay, especially thanks to Raymond Auge, Brian Chan, Bryan Cheung, Jorge Ferrer, Michael Young, Jerry Niu, Ed Shin, Craig Kaneko, Brian Kim, Bruno Farache, Thiago Moreira, Amos Fong, Scott Lee, David Truong, Alexander Chow, Mika Koivisto, Julio Camarero, Douglas Wong, Ryan Park, Eric Min, John Langkusch, Marco Abamonga, Ryan Park, Eric Min, John Langkusch, Marco Abamonga, Michael Han, Samuel Kong, Nate Cavanaugh, Arcko Duan, Richard Sezov, Joshua Asbury, Shuyang Zhou of Liferay for providing the valuable information and all the support. Thanks to friends in Liferay community for providing comments and suggestions.

Appendix

In addition, two chapters, which are part of this book originally, are not included in this book due to count of pages:

  • Chapter 9 Shared Calendars, WSRP, Business Rules and Workflow (56 pages)
  • Chapter 11 Help Desk, e-Commerce, Social Networking and Knowledge Base (68 pages)

I will post these two chapters as blogs entiries or wiki pages shortly.

ブログ
Hi Jonas

That's great news. Will a pdf download also be made available?
Hi Hennie, thank you. A PDF download would be made available in two weeks.

By the way, final title on the cover image would be updated as "Liferay Portal 6 Enterprise Intranets".
Excellent!!! I'm looking forward for it to be released emoticon... and to start studying XD

By the way... does the version 6 of the portal has already release date?

Thanks!!!
HI Jaime, thank you. The book was uploaded today. It would be available (for both hard copy and PDF download) in a week.

You can download Liferay 6.0.1 RC at
http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.0.1/

Liferay portal 6:
6.0 EE - expected in August, 2010
6.0 GA - expected in May, 2010
6.0 RC - 4/21/2010
6.0 Preview - 3/4/2010
Sir, Thank you for writing this book emoticon. Thats a great news emoticon.A pdf download to be made available adds much more excitement and eagerly waiting to download and read emoticon
Hi all, please would you tell me when and where (link page) can i buy and download a pdf copy of the book.
Hi Roberto, thanks. This book is in the stage of print now. It would be ready shortly at https://www.packtpub.com/liferay-portal-6-enterprise-intranets/book or https://www.packtpub.com/authors/profiles/jonas-x-yuan
The publication date of the book: Liferay Portal 6 Enterprise Intranets

Actually, publisher Packt uploaded 4 titles on the 23rd of April and 2 of them were published on the 29th of April. Editors could not get printers, Lightning Source, to publish the remaining 2 titles by the 30th of April, and they slipped to the month of May—Liferay was one of these titles.

Now the book has already been uploaded on Packt printer's website and will be published in a few days.
Hi Jonas, so maybe the next week it will be available on the Web Site Packt ???
Hi Roberto, thanks.

The book has been published, finally.

The book is available at

https://www.packtpub.com/liferay-portal-6-enterprise-intranets/book

Table of Contents:
http://www.packtpub.com/toc/liferay-portal-6-enterprise-intranets-table-contents
Thanks a lot Jonas,Can i get anything related to address book feature in this version.....Thanks in Advance
Hi Anil, thanks. you can find the links of book description, table of content, etc.
Hi, I see in the book that you now provide the explanation for the authentication configuration on alfresco for CAS that was missing on wiki all this time

I was wondering that now that Alfresco is encouraging users to stick to its authentication chain and use of modules, which is a better approach? What you think of chaining?
Hi Pablo, thanks. As you can see, Alfresco, CAS, and Liferay support LDAP chaining. In my option, we could use LDAP chaining for both CAS and Alfresco.

Authentication chain in Lafresco, CAS and Liferay is configurable. It is easy-to-use. Thus you can integrate CAS, Alfresco and Liferay seamlessly.

Hope that it helps.
Hi Jonas,

I am going to develop a portlet with social networking features for Liferay. So I am interested Chapter 11. Are you still planing to publish the Chapter?
Hi Jonas,
a few weeks ago I was asked by Packt publishing to review the Liferay Portal 6 Enterprise Intranets book. In case you are interested the review can be found here http://milen.commsen.com/2010/07/liferay-portal-6-enterprise-intranets-review.html
Hi Milen, Thanks. Good points:

"how Liferay internal mechanisms work"
"what some of those strange configuration parameters are used for"
"how to tweak portlets' functionality and performance"
etc.

I should cover above topics in coming new Liferay book.
Hi Jonas,

I two questions about the MySQL setup in chapter 2, page 25.
1. You explained how to add a liferay user to the MySQL DBI using the GRANT-Syntax with 'GRANT OPTION'. The 'GRANT' privilege gives that user the right to alter the privileges for any other user for the designated database. This may not be harmful in a development environment. But unless there is no real to do so, this privilege is far to open in most other cases.
2. The second statement with the 'localhost.localdomain' host name should be obsolete in any case because 127.0.0.1 should expand to 'localhost' in the first. Don't know if the may be some Windows issue with that.

One last remark: MySQL knows on option 'skip-name-resolve' which should be enabled in a well secured production environment. Therefor it is a good idea to use IP addresses as the host entry.

So far, Martin