Recent Posts

Category 1

Tuesday, 13 September 2016

JSR is a "Java Specification Request". Liferay Portal is developed to adhere to JSR 168 and JSR 286 specifications.  
This specification is created by committee of JEE portal vendors. This specification is designed to achieve interoperability between different portals and portlets.  
Liferay supports mainly below JSRs. 

  • JSR-168(Portlet 1.0)  
  • JSR-286(Portlet 2.0)  
  • JSR-127(JSF 1.0)  
  • JSR-170  
  • JSR-314(JSF 2.0)  
  • JSR-329

What JSR version Liferay implements? Why JSR compatibility is important while choosing a portal?

JSR is a "Java Specification Request". Liferay Portal is developed to adhere to JSR 168 and JSR 286 specifications.   This speci...
The modes of a portlet are typically related to the types of operations a user can perform on the portlet. A view mode is where users are allowed to do read only operations, whereas in edit mode user can add/update the data in the portlet.  
Each portlet mode has a method which handles it:
  • doView() 
  • doEdit() 
  • doHelp() 
These methods will contain mainly our "traffic directing" logic, which are responsible to decide what view the user wants to see. 
Once the view has been determined, we will forward on to methods which actually implement that view.
For standard portlet view modes have two views: 

  • The default view which shows the list of items. 
  • The form, where users will mainly do the add and edit action. 
  • In this where end user can edit the particular item, is called edit mode of portlet.

What Is the Difference Between View Mode and Edit Mode of Portlets?

The modes of a portlet are typically related to the types of operations a user can perform on the portlet. A view mode is where users are ...
Liferay provides 3 ways to extend the functionality of a Liferay portal. Each of the way fits is good for different needs. 

Hook 

Liferay portal comes with a bundle where all the default built in portlets exist. Typically, if any customization required in terms of JSP (UI) and portal properties. We need to go by Hook implementation. Hook is supported by hot deployment. Liferay documentation suggests that - Whenever possible, hooks should be used in place of Ext plugins, as they are hot-deployable and more forward compatible.
Some common scenarios that require the use of a hook are
  • When you have to perform a custom action on portal startup
  • When you have to perform a custom action on user login
  • When you need to overwrite or extend portal JSPs
  • When you need to modify portal properties
  • When you need to replace a portal service with your own implementation

EXT 

Liferay EXT Plugins are the most powerful way to extend the portal functionality. If any customization required in the core level classes, then it can be done through EXT for example LDAP users and user groups import modification. but here in EXT, restart would be required. 
EXT Plugins should be used only in case the portal functionality cannot be extended using Portlet of Hooks. The EXT plugins are complex to develop and may cause maintenance issues in case you are trying to upgrade. 
From Liferay documents, the main use cases in which an Ext plugin may be used are:
  • Customizations to portal.properties (that is not supported by Hook Plugins)
  • Customizing and making changes to the Struts Actions for portal 
  • Customizations of the Liferay beans declared in Liferay's Spring files 
  • Adding JSPs that are referenced from portal properties that can only be changed from an ext plugin (be sure to check if the property can be modified from a hook plugin before doing this) 
  • Direct overwriting of a class (not recommended unless it's strictly necessary) 

Portlet

Portlets are the most common and easiest way to extend and provide a custom functionality for a liferay portal. This is a small application to fulfill the requirement of certain domain. It is basically a bunch of code (Java Files, JSP, CSS, Java Scripts etc.). Portlet is supported by hot deployment. 
Liferay also has a marketplace where a lot of useful portlets are available for download and these portlets can be contributed by anyone in the world. We recently contributed a Speed reading portlet and a My IP Address portlet in this marketplace for free use by liferay community.

What is the difference between Hook, EXT and Portlet?

Liferay provides 3 ways to extend the functionality of a Liferay portal. Each of the way fits is good for different needs.  Hook  Life...
Following is the portlet lifecycle: 

  • init():It mainly initializes the portlet. 
  • render(): It takes the HTML output to User Interface. It mainly render the view in term of JSP/HTML code and show into the respective portlet. 
  • Destroy: This method takes care of releasing the portlet resources.

What is a Portlet Lifecycle?

Following is the portlet lifecycle:  init(): It mainly initializes the portlet.  render(): It takes the HTML output to User Interface....
Portlet is a small application to fulfill the requirement of certain domain. Inter portlet communication is supported under Liferay portal. Portlet support hot deployment feature of Liferay Portal. 
Liferay portal comes with different portlets by default. These portlets are nothing but different small applications running in the instance(portal). Portlets are pluggable software components that are managed in a web portal.  
In general words you can call them as different catalogues as portlets produce fragments of markup code that are aggregated into a portal. So a portal page is displayed as a collection of portlet, these multiple small applications together making a page of the site and these all pages together makes one community or enterprise portal. Hence a portlet (or collection of portlets) resembles a web-based application that is hosted in a portal.

What is a Portlet?

Portlet is a small application to fulfill the requirement of certain domain. Inter portlet communication is supported under Liferay portal...
In general, a web portal represents a web application that provides a single point of access to variety of information.  
Functionality of a portal can have extended very easily by creating custom applications that can run inside a portal. These applications are called portlets.  
For running portlets, you need application server that can run a portlet container spec (JSR168 or JSR286). There are dozens of free and enterprise portal products available.  
Liferay portal is an open source portal and below are the benefits of using Liferay portal:
  • Content management system (Documents, Articles). 
  • 2-stage,3-stage workflows and publishing. 
  • Social networking. 4)Sites and organization basis pages. 
  • Integration with third party like LDAP, Solr, SSO (CAS, Site minder). 
  • Portlets related to Wiki's, News, Finance, Social, Workflow, Collaboration. 
  • Compatible with different Operating systems, databases and APP servers. 
  • Compatible with UI technologies and web services. 
  • Compatible with different scripts like PHP, Ruby, Grails, Python. 
  • Support of hot deployment feature.

What is a Liferay Portal?

In general, a web portal represents a web application that provides a single point of access to variety of information.   Functionality of...

Friday, 9 September 2016

Course Overview

Mastering Liferay Fundamentals is the recommended introductory course that will lay the groundwork for understanding what Liferay can do for you. 
It's a 40 Hours course that gives you an understanding for key Liferay concepts. This training establishes a robust foundation for a successful Liferay installation.


Course Curriculum

Getting Started with Liferay 

  • Installing Liferay Portal 
  • Familiarizing Yourself with Liferay’s User Interface 
  • Get started with Portal Configuration 

Fundamental Liferay Concepts 

  • Grouping and Displaying Content Using Sites 
  • Sharing Content through Site Hierarchy 
  • How to manage Users using Organizations and User Groups 

Managing Permissions Through Roles 

  • What are Permissions? 
  • What are Roles? 
  • Creating and using Roles effectively 
  • Delegating Permissions using Teams 

Basic Page Management 

  • Site Navigation 
  • Creating and Managing Pages 
  • Setting Page Permissions 
  • Site and Page Templates 

Introduction to Liferay’s Asset Framework 

  • What is an Asset? 
  • Assets available in Liferay out of the box 
  • Adding Metadata using Tags and Categories Basic Web Content 

Basic Web Content Creation 

  • Placing and Displaying Content 
  • Organizing Content with Content folders 
  • Using the Recycle Bin 

Managing Documents and Media 

  • Creating Documents in Liferay 
  • Storing Files and Folders 
  • Adding metadata to documents 

Encouraging Collaboration in Liferay 

  • Understanding the Tools used for Collaboration 
  • Managing the Tools used for Collaboration 

Enhancing Networking and Collaboration 

  • Measuring User Participation 
  • Enabling Users to connect with one another 
  • Integrating Liferay with other Social Networks 

Connecting to External Services 

  • Embedding Web Sites 
  • Publishing RSS Feeds 
  • Placing Remote Portlets 

A Deeper Look into Liferay’s Asset Framework 

  • Relating Content through the Asset Framework 
  • Learning how to enhance Content through the Asset Framework 
  • Monitoring Content 

Understanding Custom Fields 

  • What are Custom Fields? 
  • Creating and using Custom Fields 

Understanding Workflow 

  • What is Workflow? 
  • Understanding a Workflow Process 
  • Using a simple Workflow 
  • Additional Features of the Workflow Engine 

Understanding Dynamic Data Lists

  • What are Dynamic Data Lists? 
  • Creating a Data List 
  • Integrating Dynamic Data Lists with Workflow

Mastering Liferay Fundamentals Training One to One & One to Multiple] For Details Contact Us @ 
Sharath 
sharath@vibloo.com 
USA: +1-248-436-8449 
IND: +91-7013879301

Liferay Fundamentals Online Training

Course Overview Mastering Liferay Fundamentals is the recommended introductory course that will lay the groundwork for understanding wha...

 

Liferay Developer Online Training © 2015 - Designed by Templateism.com, Distributed By Blogger Templates