Overview of Liferay 7 Technology
-
Upload
azilen-technologies-pvt-ltd -
Category
Technology
-
view
660 -
download
9
Transcript of Overview of Liferay 7 Technology
Tech Meetup-7
Powered By:
@azilentech#AzilenTechMeetup
21st May 2016
Difficulties with Liferay 6.2 & Previous versions
Unused Items
• Fat Liferay– Unused Liferay Portlets
on PROD• Need Ext/Hook
– To remove/hide.
Classification
• No classification of Web Contents
Non Intuitive Flow
• Older version of UI components
• Bootstrap 2.3.2
Turtle UI• To get a task done
– Multiple page loads– Many clicks
UI
Platform
Content Management
UI
Platform
Content Management
UI
• Single Page Application• Left Pane
– Control Panel– User Space
• Right Pane– Application Menu– Simulation of UI
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
Bootstrap 3
Focused on Mobile First
Grids for all devices
Better control for multiple devices at once.
New Collections of Forms, images & Modals
Where are my options?
UI
Platform
Content Management
OSGi
• Updated Directory sturcture
• OSGi Directory contains– Jar and War files for all
components in LR7
• 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
OSGi
Since 1999
Lightweight, Fast and Secure Framework
OSGi Standards compliant
Service Registry
Loosely coupled
Manages module lifecycle dynamically
OSGi Benefits
Reduces complexity
Modular Architecture
Reduces Maintenance
OSGi & Liferay
Existing porlets as OSGi modules
New Portlet development as modules
Service builder powered modules
Lucene
• Core of All major search engines
• Supported by Apahce• Embedded to Liferay till
version 6.x
Luke
• Helps – to see Lucene Indices– to run Lucene Queries
Solr
• Wraps Lucene• Better than ‘Just Lucene’
Elasticsearch
New Addition
Why Elasticsearch?
Important Factors
Opensource
Distributed, Scalable, Highly Available
RESTful, JSON
Faster search (sub 100 ms)
Built-in Redundancy
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
UI
Platform
Content Management
Managing Web Contents
Organize contents in Folders
• Folders can be created– Just like in Documents
and Media
Creating Contents
Brand New Alloy Editor
Simple
Inline
Plus button to add elements e.g. table, image etc.
Helps to see HTML and preview
Content Area
Preview Pane
Blog Template
I wish I could mention my friend just like I do on Facebook, Twitter etc.
@Mentions
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)
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
Localized Mail Notifications
• Localization Support• For each type of Mail notifications
– Account Created Notification– Password Reset – Email Verification– Password Changed
Thank You
#AzilenTechMeetup