Overview of Liferay 7 Technology

52
Tech Meetup -7 Powered By: @azilentech #AzilenTechMeetup 21 st May 2016

Transcript of Overview of Liferay 7 Technology

Page 1: Overview of Liferay 7 Technology

Tech Meetup-7

Powered By:

@azilentech#AzilenTechMeetup

21st May 2016

Page 2: Overview of Liferay 7 Technology

Difficulties with Liferay 6.2 & Previous versions

Page 3: Overview of Liferay 7 Technology

Unused Items

• Fat Liferay– Unused Liferay Portlets

on PROD• Need Ext/Hook

– To remove/hide.

Page 4: Overview of Liferay 7 Technology

Classification

• No classification of Web Contents

Page 5: Overview of Liferay 7 Technology

Non Intuitive Flow

• Older version of UI components

• Bootstrap 2.3.2

Page 6: Overview of Liferay 7 Technology

Turtle UI• To get a task done

– Multiple page loads– Many clicks

Page 7: Overview of Liferay 7 Technology

UI

Platform

Content Management

Page 8: Overview of Liferay 7 Technology

UI

Platform

Content Management

Page 9: Overview of Liferay 7 Technology
Page 10: Overview of Liferay 7 Technology

UI

• Single Page Application• Left Pane

– Control Panel– User Space

• Right Pane– Application Menu– Simulation of UI

Page 11: Overview of Liferay 7 Technology
Page 12: Overview of Liferay 7 Technology
Page 13: Overview of Liferay 7 Technology
Page 14: Overview of Liferay 7 Technology
Page 15: Overview of Liferay 7 Technology

Single Page Application

Supported using Senna JS and AlloyUI Surface

Senna JS - http://sennajs.com/

Awesome response time – All the time

Better speeds - Faster access on Mobiles

Page 16: Overview of Liferay 7 Technology

Bootstrap 3

Focused on Mobile First

Grids for all devices

Better control for multiple devices at once.

New Collections of Forms, images & Modals

Page 17: Overview of Liferay 7 Technology

Where are my options?

Page 18: Overview of Liferay 7 Technology
Page 19: Overview of Liferay 7 Technology
Page 20: Overview of Liferay 7 Technology
Page 21: Overview of Liferay 7 Technology

UI

Platform

Content Management

Page 22: Overview of Liferay 7 Technology

OSGi

Page 23: Overview of Liferay 7 Technology

• Updated Directory sturcture

• OSGi Directory contains– Jar and War files for all

components in LR7

Page 24: Overview of Liferay 7 Technology

• Easy to remove a module. Just delete the jar.– STOPPED com.liferay.dictionary.web_1.0.2

• Add a jar to deploy– STARTED com.liferay.dictionary.web_1.0.2

Console log

Console log

Page 25: Overview of Liferay 7 Technology

OSGi

Since 1999

Lightweight, Fast and Secure Framework

OSGi Standards compliant

Service Registry

Loosely coupled

Manages module lifecycle dynamically

Page 26: Overview of Liferay 7 Technology

OSGi Benefits

Reduces complexity

Modular Architecture

Reduces Maintenance

Page 27: Overview of Liferay 7 Technology

OSGi & Liferay

Existing porlets as OSGi modules

New Portlet development as modules

Service builder powered modules

Page 28: Overview of Liferay 7 Technology

Lucene

• Core of All major search engines

• Supported by Apahce• Embedded to Liferay till

version 6.x

Page 29: Overview of Liferay 7 Technology

Luke

• Helps – to see Lucene Indices– to run Lucene Queries

Page 30: Overview of Liferay 7 Technology

Solr

• Wraps Lucene• Better than ‘Just Lucene’

Page 31: Overview of Liferay 7 Technology

Elasticsearch

New Addition

Page 32: Overview of Liferay 7 Technology

Why Elasticsearch?

Page 33: Overview of Liferay 7 Technology

Important Factors

Opensource

Distributed, Scalable, Highly Available

RESTful, JSON

Faster search (sub 100 ms)

Built-in Redundancy

Page 34: Overview of Liferay 7 Technology

How it happens in Liferay?

• Portal specific configuration– Index = liferay-0

• Instance specific configuration– Index = liferay-instanceId e.g. liferay-20202

• Type = LiferayDocumentType• Document Ids

– com.liferay.portal.kernel.model.User_PORTLET_20250– com.liferay.message.boards.kernel.model.MBThread_PORTLET_31042– com.liferay.wiki.model.WikiPage_PORTLET_31329

• Document– JSON documents

Page 35: Overview of Liferay 7 Technology

UI

Platform

Content Management

Page 36: Overview of Liferay 7 Technology

Managing Web Contents

Organize contents in Folders

• Folders can be created– Just like in Documents

and Media

Page 37: Overview of Liferay 7 Technology

Creating Contents

Brand New Alloy Editor

Simple

Inline

Page 38: Overview of Liferay 7 Technology

Plus button to add elements e.g. table, image etc.

Helps to see HTML and preview

Content Area

Page 39: Overview of Liferay 7 Technology
Page 40: Overview of Liferay 7 Technology
Page 41: Overview of Liferay 7 Technology

Preview Pane

Page 42: Overview of Liferay 7 Technology

Blog Template

Page 43: Overview of Liferay 7 Technology

I wish I could mention my friend just like I do on Facebook, Twitter etc.

Page 44: Overview of Liferay 7 Technology

@Mentions

Page 45: Overview of Liferay 7 Technology

Workflow and Restrictions

• Web Contents– Folders can be created– Restrictions on Structures– Separate Workflow per folder (choice)

• Documents and Media– Restrictions on Document types– Separate Workflow per folder (choice)

Page 46: Overview of Liferay 7 Technology
Page 47: Overview of Liferay 7 Technology
Page 48: Overview of Liferay 7 Technology
Page 49: Overview of Liferay 7 Technology

Geo Locate Your Content

• Geo Locations can be added to content• Asset Maps • How to -

– Create Structure with Geo Location Element– Define a template– Create Web Content for that Structure

• Custom Fields

Page 50: Overview of Liferay 7 Technology

Localized Mail Notifications

• Localization Support• For each type of Mail notifications

– Account Created Notification– Password Reset – Email Verification– Password Changed

Page 51: Overview of Liferay 7 Technology
Page 52: Overview of Liferay 7 Technology

Thank You

#AzilenTechMeetup