Friday, February 1, 2013

Liferay - Best Platform for Open Source Web Portal Development

What is Liferay?
Liferay is a portal written in Java and distributed under the GNU Lesser General Public License and proprietary licenses. It is basically used to power corporate intranets and extranets.

Liferay Portal allows users to set up websites. The entire portal is constructed of functional units called portlets. Liferay supports plugins such as Hook, Portlets, Themes, Layout. Portlets plugins is used for development of a new portlet. Hooks comes handy when any existing portlet or functionality is to be extended. Themes plugins is useful to create a new theme for Liferay portal.  Layout plugins is used to create layouts. Liferay supports multiple programming languages, such as   PHP, Ruby, spring, Struts, Vadin portlets.
 
Features of Liferay

No Programming Skill Required:
Liferay offers a programming interface for developers, but for basic website installation and administration no programming skills are required.
 
Sharing Content: Nowadays, web content is everywhere within communities. This feature not only allows sharing of web content, it also includes structures and templates to be shared among the communities in an easier and efficient way. Even documents and images, can be shared across communities through an Asset Publisher Portlet.
 
Tags and Categories: With the help of tagging and categorizing information, users are able to figure out the information they are looking for, which kind of content is most popular. Tags and categories can easily be managed through the control panel.
Custom Attributes: Through custom attributes, users are able to create searchable attributes, which are need to manage information efficiently within the portal.
 
Abuse Reporting: This is one of the good features provided by liferay. This feature reduces the cost of managing assertive content within the site. Users are able to report an inappropriate content to site managers. This feature is available on forums, blogs, and any page within the portal.
Asset Publisher and Filters Galore: Using asset publisher portlet, users have more control over content published across communities, or even in single communities by performing a filter on relevant Asset types, tags and categories to the specified community(s).
 
Integrated Workflow: By default there is a kaleo workflow integrated. This feature helpful for content creators to collaborate and go through the necessary steps to produce better and more accurate content. Workflow is applicable on document, wiki or web content which goes through an approval processes which gives a polished content. Liferay also supports Jbpm3 workflow.

Extension and Integration:
Liferay has come up with some new integrated functionalities as per below
 
Alloy UI Framework: Alloy UI takes common design patterns and makes them easier to implement. Using this framework, developers spend less time in designing, and more time creating usable plugins with usable interfaces. The visual elements are available in Tag libraries. It also supports many of the HTML5 conventions; this gives UI developers the freedom to design the portal in the upcoming W3C standard.
 
Vaadin Framework: Vaadin Framework provides server-side development model for building portlets with rich user interfaces. The framework is unique by allowing all user interfaces development to be done in Java with no HTML, JavaScript or XML writing required. Vaadin provides a complete set of user interface components and is extensible with Google Web Toolkit with a large number of add-ons already available.
 
Reuse the Features of Liferay's Portlets: Developers have the ability to reuse many of the features of Liferay's native portlets enabling them to build more integrated and robust applications with Liferay. Here are just some of the features that developers are able to use:
  • Workflow
  • Custom Attributes
  • Report Abuse
  • Pretty DiffsGlobal Breadcrumbs

Integration with External Systems: This is a feature which all of us would like, Integration of liferay with external systems. You can integrate Sharepoint, Alfreco and more.   

Monday, January 28, 2013

Liferay with Prime Faces Version 1.0

What is Liferay Portal?
Liferay Portal is a free as well open source Java based portal. Liferay Portal allows end user to create site. Liferay Portal comes with 6o OOTB Portlets. Liferay Portal development supports various frameworks such as Spring, Struts, Hibernate, JSF, Rich Faces, Prime Faces etc. for creation of plugin based portlet development. Liferay offers a sophisticated programming interface for developers, no programming skills are required for basic website installation and administration.

What is Prime Faces?
Basically Prime Faces is a lightweight open source component suite for Java Server Faces 2.0.

Benefits of Prime Faces 
(Source: http://www.primefaces.org/showcase/ui/home.jsf)
  • Rich set of components (Html Editor, Dialog, AutoComplete, Charts and many more).
  • Built-in Ajax based on standard JSF 2.0 Ajax APIs.
  • Lightweight, one jar, zero-configuration and no required dependencies.
  • Native Ajax Push/Comet support.
  • Mobile UI kit to create mobile web applications for handheld devices.(I Phone, Palm, Android, Blackberry, Windows Mobile and more)
  • Skinning Framework with 30+ built-in themes and support for visual theme designer tool.
  • Extensive documentation with 450+ pages of User's Guide.
  • Large, vibrant and active user community.
  • Developed with "passion" from application developers to application developers.
Using Prime Faces with Liferay
In this post, I am going to explain Prime Faces demo with Liferay Portal 6.1.
Contains a single "Job Application" portlet within the WAR that demonstrates several of the key features of JSF 2 and PrimeFaces:
  • PrimeFaces <p:calendar/>
  • JSF 2 <f:ajax /> tag on the postal (zip) code field via Ajax
  • JSF 2 <f:ajax /> tag on the show/hide comments via Ajax
  • Model managed-bean is marked with the JSF 2 @ViewScoped
  • Managed-beans defined by marking POJOs with the JSF
  • Dependency injection of managed-beans done via the JSF
  • PrimeFaces p:fileUpload tag, PrimeFaces p:dataTable tag ,PrimeFaces p:confirmDialog tag
Package Structure of newly created PrimeFaces Portlet

Requires files for Prime Faces Portlet
  • Faces-config.xml
  • Portlet.xml
  • Web.xml
  • Download below java class from this URL for executing Prime Faces based “Job Application”.
    • Bean Class
    • POJO Class
    • Utility Class
Do ant compile from your Eclipse IDE and then deploy it in your application server.

Monday, January 21, 2013

Liferay - Open Source Web Portal Development Platform

Liferay is idle platform for open Source Web Portal Development and Solution. Liferay delivers open source enterprise solutions for portals, publishing, content, and collaboration. Take a look over Liferay Portal from this blog.

What is Liferay Portal?
  • Liferay Portal is the open source Java based web portal platform for making good commercial result that helps to have an effect for a long time in the future value.
  • It was declared as an open source in the year 2001.
  • Nowadays, Liferay Portal is very popular in terms of open source portal usage.
  • Liferay Portal has more than 4 million boot up in its lifetime.
  • Liferay Portal still active to make new engagement with external tools such like Alloy Faces, Prime Faces etc.
  • Liferay Portal allows to getting involved actively in contribution for making of Liferay Portal via Liferay Community Users.

Overview of Liferay Portal
  • Organizations globally have been using Liferay Open Source Portal because of latest functionalities, engagement with third party tools, acceptable with most application servers and database flavor.
  • Liferay Portal beneficiary for organization to make a portal with least amount of ownership.
  • Liferay Portal beneficiary for end users to make a portal with existing features of it and fulfill their requirement.
  • Liferay Portal currently represents as a “Leading Open Source Portal for Global Enterprise”.
  • In terms of Liferay Portal features

Liferay Features

Making Easy End User Interfaces Development
  • Liferay Portal makes the user interface development easily, user friendly that allows end users to access the portal for its own services.
  • Liferay Portal provides smooth straight view layer for communicating all external enterprise application into a single manner.

Easily Allow External Enterprise Integration Framework
  • Liferay Portal act as middle demonstrate layer which allows end users, administrators and hands on developers to communicate web materials and services from backend applications.
  • Liferay Portal allows and supports to communicate with SOAP, RSS, and REST as well user made API’s.
OOTB Applications Support Tools
  • Liferay Portal gives more than 60 out of box pre-build application through which end user make a portal in couple of moments.
  • Liferay Portal also known as “Rapid Web Maker Portal” with 60 OOTB Applications.
  • In OOTB Applications consist web content publishing, content management and social networking application.
Supports SSO
  • Liferay Portal allows communicating with external application through single sign on mechanism.
  • Liferay Portal can make all content of your various systems together and make available by single login click mechanism operation.

Drag and Drop
  • Liferay Portal was the first portal to allow simply dragging and dropping application them into portal page.
Permission-based Content Display
  • Liferay Portals allow user’s types to access a unique URL. Liferay Portal accesses a unique page view depending on the users role, group, organization or personal preferences. Liferay Portal Admin controlled and user customized.
Liferay Sync – Allow To Access Portal From Your Desktop
  • Liferay Portal introduces features that allow to access your portal from your system desktop.
  • Liferay Portal Sync automatically synchronizes your files from your desktop.
  • Liferay Portal Sync automatically manipulates and updates your local files from your desktop to in document library.
Supporting Multi-Lingual
  • Liferay Portal came with 30+ languages support.
  • End user can use any language with single click through Liferay language application.
  • In terms of Liferay Portal benefits

Create your own small personalize world Experience
  • Each Liferay Portal user given a set of portal pages to make its own page that are easy to customizable to specific apperance , preferences and needs.
  • Each Liferay Portal user can play with its own page and make change for look, add easily number of applications according to its needs.
  • Each Liferay Portal user can pintch personal email and calendar applications for their awareness within Liferay Portal.
Easy to use
  • Liferay Portal popular with keyword as “Single Click Easy of Use Portal”.
  • Liferay Portal allows to dynamic drag and drop features for use application within portal page.
  • Liferay Portal serves best user friendly user interface.
  • Liferay Portal allows easy communication with external enterprise application.

All right, everyone. Hope you enjoyed this Liferay Post and learn basic overview about Liferay portal features. We will come with again with another knowledge base post of Liferay.