Anda di halaman 1dari 28

Whats New in Liferay DXP?

Name Title Dunn Solutions


Chris Freund Liferay Developer Dunn Solutions

09/29/2016

Todays 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 firm


founded in 1988

Minneapolis
Delivery Training

Chicago
Delivery

Raleigh, NC
Delivery Training

Bangalore, India
Delivery

Practice Areas

Application
Development

Portals

eCommerce &
Content Managed
Websites

Mobile App
Development

Custom App
Development

Search Engine
Optimization

Analytics

Solutions

Training

Frameworks

Analytics & BI
Platforms

Certified
SAP/Liferay

Accountable Care
Orgs (ACOs)

Data Warehouse
& Data
Integration

Classroom, Onsite, Computer


Based & Virtual

Corporate Legal

Higher Education

Optical Shop

Predictive
Analytics

Mentoring &
Custom Training

Selected Clients

Partnerships

Search Engine Optimization Services


Initial Services

Competitive
Audit

On-Going Services

Competitor Research
Search Domain Audit
Keyword Targeting
SERP Landscape
Analysis
Keyword Target
Recommendations

Strategic
Diagnosis

Tactical
Optimization

Site Architecture Optimization


Technical On-page/Off-page
Optimization
Digital Content Optimization
Social Link Building
Monthly Site Traffic, Rankings
and SERPs Reporting

Strategic
Results
Review

Tactical
Adjustment

Tactical
Adjustment

Google
Algorithm
Shakeup

Liferay DXP Services


System
Integration

Architecture

Content
Management
Services

Platinum Partner &


Certified Training
Partner

Complete Portal
Development Projects

Custom Portlet
Development

Graphic Design
(Responsive Themes)
Performance Tuning
& High Availability

Liferay Partnership
2005

Private Training

Mastering Fundamentals
Developer I & II
Administering Systems
Managing Content
Styling/Themes

Present

Platinum Services Partner

National coverage

Certified Education Partner

Todays 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 SennaJS
for 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.

AlloyUI 4.0
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 4s components will be


exposed as Jquery plugins.

Lexicon
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.

Desktop

Tablet

Mobile Phone

Liferay DXP Search


Engine Changes

Elasticsearch
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, broadlydistributable, 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.

OSGI and Liferay DXP

OSGi Review
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 Lifecycle Review


Module Lifecycles are
dynamic. Modules
can be started,
stopped, updated
while the Liferay
Portal 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.

Blade CLI
Preferred tool used to create Liferay modules.
https://github.com/liferay/liferay-bladesamples/tree/master/liferay-gradle

Command line tool based on a Gradle


environment

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.

Updating Liferay DXP


Modules

Liferay DXP Update


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 7.0 Breaking Changes


https://dev.liferay.com/develop/reference//knowledge_base/7-0/breaking-changes

Questions & Answers


Chris Freund Liferay Developer Dunn Solutions

cfreund@dunnsolutions.com
Info@dunnsolutions.com

Anda mungkin juga menyukai