Upload
dunn-solutions-group
View
265
Download
1
Embed Size (px)
Citation preview
What’s New in Liferay DXP?
Name · Title · Dunn Solutions09/29/2016Chris Freund · Liferay Developer · Dunn Solutions
Today’s Agenda
Introduction to Dunn Solutions
Single Page Applications
Search Engine Changes
OSGI and Liferay DXP
Updating Liferay DXP Modules
Questions
Dunn Solutions is a full-service IT consulting firmfounded in 1988
Raleigh, NCDelivery Training
Bangalore, IndiaDelivery
MinneapolisDelivery Training
ChicagoDelivery
Practice Areas
Application
Development• Portals
• eCommerce &
Content Managed
Websites
• Mobile App
Development
• Custom App
Development
• Search Engine
Optimization
Training
• Certified
SAP/Liferay
• Classroom, On-
site, Computer
Based & Virtual
• Mentoring &
Custom Training
Frameworks
• Accountable Care
Orgs (ACO’s)
• Corporate Legal
• Higher Education
• Optical Shop
Solutions
Analytics
• Analytics & BI
Platforms
• Data Warehouse
& Data
Integration
Predictive
Analytics
Selected Clients
PartnershipsPartnerships
Search Engine Optimization Services
Initial Services
• Competitor Research
• Search Domain Audit
• Keyword Targeting
• SERP Landscape
Analysis
• Keyword Target
Recommendations
On-Going Services
• Site Architecture Optimization
• Technical On-page/Off-page
Optimization
• Digital Content Optimization
• Social Link Building
• Monthly Site Traffic, Rankings
and SERPs Reporting
Competitive
Audit
Strategic
Diagnosis
Tactical
Optimization
Tactical Adjustment
Google Algorithm
Shakeup
Tactical Adjustment
Strategic Results
Review
Liferay DXP Services
Architecture
Performance Tuning
& High Availability
Custom Portlet
Development
Complete Portal
Development Projects
Content
Management
Services
Graphic Design
(Responsive Themes)
System
Integration
Platinum Partner &Certified Training
Partner
Liferay Partnership
Platinum Services Partner National coverage Certified Education Partner
2005
Present
Private Training
• Mastering Fundamentals
• Developer I & II
• Administering Systems
• Managing Content
• Styling/Themes
Today’s Agenda
Introduction to Dunn Solutions
Single Page Applications
Search Engine Changes
OSGI and Liferay DXP
Updating Liferay DXP Modules
Questions
Single Page Application
• Liferay DXP development will be based around Single Page Application.
• Will be using SennaJSfor SPA applications
• In an example, a page with two portlets, converted to SPA. Response time went from 2 seconds to 0.DXP seconds. Data went from 1,300 KB to 67.9 KB. Requests went from 42 to 11.
• Will be based on JQuery, no longer YUI.
• What does this mean for 6.2 written code?• AlloyUI 3 will be bundled with 7.0 and will work
• What if we are already using Jquery?• You will also be fine, AlloyUI 4’s components will be
exposed as Jquery plugins.
AlloyUI 4.0
• New Liferay Experience Language that is an extension of Bootstrap.
• Liferay will still support the Bootstrap framework, but developers have the option to go pure Bootstrap or pure Lexicon in 7.0.
• All out-of-the-box Liferay portlets will be designed using Lexicon.
Lexicon
Desktop
Tablet
Mobile Phone
Liferay DXP Search Engine Changes
• Liferay DXP will now use ElasticSearch as its search engine, which is built on top of Lucene.
• What is Elasticsearch?
“Elasticsearch is an open-source, broadly-distributable, readily-scalable, enterprise-grade search engine. Accessible through an extensive
and elaborate API, Elasticsearch can power extremely fast searches that support your data
discovery applications.”
Elasticsearch
• Currently the most popular enterprise search engine• Netflix, GitHub, Foursquare
• Developed in JAVA and the format is based on Schema-free JSON documents
• Allows searches to be performed between all nodes.
Elasticsearch
OSGI and Liferay DXP
• Modularity is at the core of the OSGi
• Java Framework for deploying modular programs• All applications, extensions, and customizations
built on Liferay are distributed and deployed as modules.
• Modules may have one or more components. Creating a component can be as easy as writing a Java class with the @component annotation.
• Modules are bundled as a JAR file that can be deployed.
OSGi Review
OSGi Lifecycle Review
• Module Lifecycles are dynamic. Modules can be started, stopped, updated while the LiferayPortal is running
OSGi Dependencies
• Service Registry• All modules must declare their
dependencies/services.
• Modules can declare dependencies on specific versions of other modules. This allows multiple versions of the same library to exist in the same environment and be used by multiple applications.
• Preferred tool used to create Liferay modules.• https://github.com/liferay/liferay-blade-
samples/tree/master/liferay-gradle
• Command line tool based on a Gradleenvironment• create: Creates a new Liferay module project from
available templates.• deploy: Builds and deploys bundles to the Liferay
module framework.• init: Initializes a new Liferay Workspace.• version: Displays version information about Blade
CLI.
Blade CLI
Updating Liferay DXP Modules
• Starting from Liferay DXP, each module can be upgraded separately.
• This means that there will be different release cycles for different portlets, no longer a single service package.
Liferay DXP Update
• https://dev.liferay.com/develop/reference/-/knowledge_base/7-0/breaking-changes
Liferay 7.0 Breaking Changes
Questions & Answers
Chris Freund · Liferay Developer · Dunn Solutions