high interoperability with magnolia's open suite approach

79
HIGH INTEROPERABILITY WITH MAGNOLIA'S OPEN SUITE APPROACH

Upload: magnolia-cms

Post on 08-May-2015

671 views

Category:

Technology


2 download

DESCRIPTION

A solid, flexible and open CMS at the core of your digital presence makes integration easier and keeps you ahead of the technology curve. This presentation contains Magnolia CMS integrations with Hybris (e-commerce), SAP (ERP) and Alfresco (document management) and will be most useful to senior Java developers and IT managers responsible for performing complex technical integrations between products.

TRANSCRIPT

Page 1: High Interoperability with Magnolia's Open Suite Approach

HIGH INTEROPERABILITY WITH MAGNOLIA'S OPEN SUITE APPROACH

Page 2: High Interoperability with Magnolia's Open Suite Approach

BORIS KRAFTCHIEF TECHNOLOGY OFFICER & CO-FOUNDERMAGNOLIA INTERNATIONAL

Page 3: High Interoperability with Magnolia's Open Suite Approach

Magnolia is a registered trademark owned by Magnolia International Ltd.

Page 4: High Interoperability with Magnolia's Open Suite Approach

FORRESTER’S CXM SOLUTION CATEGORIES

Page 5: High Interoperability with Magnolia's Open Suite Approach
Page 6: High Interoperability with Magnolia's Open Suite Approach
Page 7: High Interoperability with Magnolia's Open Suite Approach
Page 8: High Interoperability with Magnolia's Open Suite Approach
Page 9: High Interoperability with Magnolia's Open Suite Approach
Page 10: High Interoperability with Magnolia's Open Suite Approach
Page 11: High Interoperability with Magnolia's Open Suite Approach
Page 12: High Interoperability with Magnolia's Open Suite Approach
Page 13: High Interoperability with Magnolia's Open Suite Approach
Page 14: High Interoperability with Magnolia's Open Suite Approach
Page 15: High Interoperability with Magnolia's Open Suite Approach
Page 16: High Interoperability with Magnolia's Open Suite Approach
Page 17: High Interoperability with Magnolia's Open Suite Approach
Page 18: High Interoperability with Magnolia's Open Suite Approach
Page 19: High Interoperability with Magnolia's Open Suite Approach
Page 20: High Interoperability with Magnolia's Open Suite Approach
Page 21: High Interoperability with Magnolia's Open Suite Approach

THE “OPEN SUITE” APPROACH

REST

JCR

WebDAV

Page 22: High Interoperability with Magnolia's Open Suite Approach

THE “OPEN SUITE” APPROACH

Page 23: High Interoperability with Magnolia's Open Suite Approach

THE “OPEN SUITE” APPROACH

Magnolia, a CMS as simple and flexible as your smartphone, engineered to be the center of an open suite approach to customer experience management.

Page 24: High Interoperability with Magnolia's Open Suite Approach

BI-DIRECTIONAL INTEGRATION BETWEEN ALFRESCO & MAGNOLIA

Credit: Christmas Lights by Abhishek ShiraliSome Rights Reserved CC-BY 2.0

https://www.flickr.com/photos/abhishekshirali/11397502823

Page 25: High Interoperability with Magnolia's Open Suite Approach

AXEL FAUSTPRODYNA SENIOR IT CONSULTANT /SOFTWARE ARCHITECT

Page 26: High Interoperability with Magnolia's Open Suite Approach

“The open platform for business-critical content management and collaboration.”

In a (very) few words o Secure collaboration o Content-centric business processeso Compliant records managemento Open ECM for on-premise, cloud and mobile

Page 27: High Interoperability with Magnolia's Open Suite Approach

USE CASE:ASSET COLLABORATION

Page 28: High Interoperability with Magnolia's Open Suite Approach

Authors

Publisher

DirectAccess

SME

Marketing

External Agency

Page 29: High Interoperability with Magnolia's Open Suite Approach

Authors

Publisher

DirectAccess

SME

Marketing

External Agency

Create draft video

Create storyboard

Fill with subject detailand sketch

Submit for „overhaul“

Review draftSubmit result

(generate poster)

Page 30: High Interoperability with Magnolia's Open Suite Approach

USINGALFRESCO

Page 31: High Interoperability with Magnolia's Open Suite Approach

Subject Expert Group

Marketing

COLLABORATION

Repository(on-premise)

Enterprise SyncHybrid Workflow

External

Agency

Cloud Media

ServicesCloud API

B2B / CLOUDON-PREMISE

Page 32: High Interoperability with Magnolia's Open Suite Approach

OPEN SUITE:ESSENTIALS

Page 33: High Interoperability with Magnolia's Open Suite Approach

Ext. Application

DAMRW

Page 34: High Interoperability with Magnolia's Open Suite Approach

Ext. Repository

Ext. Application

CMIS +DAM R

DAMRW

Page 35: High Interoperability with Magnolia's Open Suite Approach

Ext. Repository

Ext. Application

Ext. Process

RESTAPI

CMIS +DAM R

DAMRW

Page 36: High Interoperability with Magnolia's Open Suite Approach

OPEN ISSUESMetadata support + mapping

Process initiation from Magnolia

All in all: ready-to-use (public) module

Page 37: High Interoperability with Magnolia's Open Suite Approach

BI-DIRECTIONALINTEGRATION

Page 38: High Interoperability with Magnolia's Open Suite Approach

HYBRID CONCEPTCMIS + RESTSimilar to Alfresco Public/Cloud APIAbstract and delegate details

Page 39: High Interoperability with Magnolia's Open Suite Approach

FEATURE PLANSubmission via Asset App“Remote Review” via PulseOne-off / scheduled updateRendition support

Page 40: High Interoperability with Magnolia's Open Suite Approach

1) Initiate asset process (REST)

2) Fetch / push asset(s) (CMIS)

N) Post/fetch updates to/for Pulse (REST)

N+1) Trigger review (REST)

N+2) Fetch / view result (CMIS)

N+3) Import asset(s) (CMIS)

N+4) Notify completion (REST)

Page 41: High Interoperability with Magnolia's Open Suite Approach

PREVIEW

Page 42: High Interoperability with Magnolia's Open Suite Approach

PREVIEW

Page 43: High Interoperability with Magnolia's Open Suite Approach

FINAL REMARKSWork-in-progressDemo @ Magnolia Conference

Plan: Contribute to Open SuiteNon-Enterprise / basic features(i.e. read-write client service / CMIS Browser / simple

import)Magnolia + Alfresco modules

Page 44: High Interoperability with Magnolia's Open Suite Approach

BUILDING A UTILITIES PORTAL WITH MAGNOLIA 5 & SAP

Credit: LVGA by Luigi RosaSome Rights Reserved CC-BY-SA 2.0http://flickr.com/photos/lrosa/3792516495

Page 45: High Interoperability with Magnolia's Open Suite Approach

MATTEO PELUCCOTINEXT SENIOR SOFTWARE ENGINEER, @MATTEOPELUCCO

Page 46: High Interoperability with Magnolia's Open Suite Approach

AZIENDEINDUSTRIALIDI LUGANOPublic utility companyProduces electricity & water. Imports gas.Retails electricity, gas & water in Ticino.

Page 47: High Interoperability with Magnolia's Open Suite Approach

PROJECT OVERVIEW100k potential usersResponsive web design23 business processes to buildMigration from a productive environmentSensitive user data

Page 48: High Interoperability with Magnolia's Open Suite Approach

OPEN SUITE APPROACH

Page 49: High Interoperability with Magnolia's Open Suite Approach

Each of them interacts with SAP in a customized wayStandard form builder was not enough

NEED TO MODEL 23 PROCESSES

Page 50: High Interoperability with Magnolia's Open Suite Approach

SAP-aware validatorsMultistep navigation barStep ValidatorsScriptable default values for input (eval)Final summary step

FORM BUILDER “RELOADED”

Page 51: High Interoperability with Magnolia's Open Suite Approach

BUSINESS PROCESS SITE TREE

Page 52: High Interoperability with Magnolia's Open Suite Approach

CHANGE PAYMENT METHOD

Page 53: High Interoperability with Magnolia's Open Suite Approach

FORM BUILDER CUSTOMIZATIONS

Page 54: High Interoperability with Magnolia's Open Suite Approach

SAP-AWARE VALIDATORS

Page 55: High Interoperability with Magnolia's Open Suite Approach

Legacy SOAP-based SAP integration layerRefactoring not in project scope!No documentationOnly WSDL

LEGACY SAP INTEGRATION

Page 56: High Interoperability with Magnolia's Open Suite Approach

SOLUTION: jUNIT Tests to reverse engineer SOAP layerJava Client: built with jax-ws, filled with jUnit test cases.Magnolia 5 IoC allowed our team to mock almost everything, without blocking front-end developers.

SAP URLs in magnolia.properties file No risk of accessing the wrong SAP environment.

Page 57: High Interoperability with Magnolia's Open Suite Approach

LEGACY ALFRESCO DMSCustomer communications were stored in Alfresco

Page 58: High Interoperability with Magnolia's Open Suite Approach

SOLUTION: ALFRESCO APIUsed standard Alfresco API to download documentsA dedicated Magnolia «DocumentDownloadServlet» transparently proxies the document download request

for a logged user, applying a security layer on top of it.

Page 59: High Interoperability with Magnolia's Open Suite Approach

ALFRESCO CONNECTION VIA API

Page 60: High Interoperability with Magnolia's Open Suite Approach

AUTHENTICATION VS AUTHORIZATION

Users are in SAPNo ACLs: everything is data-drivenRules not applicable on a hierarchical page tree

Page 61: High Interoperability with Magnolia's Open Suite Approach

SOLUTION: PAGE RENDERERPage protection (for each page)Security layer exposed to freemarker

conditional presentation layer statementsuser interface personalization

Easy to test and debug

Page 62: High Interoperability with Magnolia's Open Suite Approach

USER LOGIN

Page 63: High Interoperability with Magnolia's Open Suite Approach

CONCLUSIONSMagnolia «open suite approach» easily allows to «plug» your integration activityForm Builder is very powerful and customizableMock activity is foundamental in projects like this. Magnolia IoC helps the project lifecycle and team workUser data security always on top of feature set

Page 64: High Interoperability with Magnolia's Open Suite Approach

THANK S!

Page 65: High Interoperability with Magnolia's Open Suite Approach

MAGNOLIA / HYBRIS INTEGRATION BASED ON RESTFUL WEB SERVICES

Credit: / /\\ by Thomas LeuthardSome Rights Reserved CC-BY 2.0

https://www.flickr.com/photos/thomasleuthard/7725793982

Page 66: High Interoperability with Magnolia's Open Suite Approach

PAUL TINZOHWEBTISER SENIOR DEVELOPER

Page 67: High Interoperability with Magnolia's Open Suite Approach

INTRODUCING HYBRIS

Page 68: High Interoperability with Magnolia's Open Suite Approach
Page 69: High Interoperability with Magnolia's Open Suite Approach

GOAL:MAGNOLIA ASCMS FORHYBRIS

Page 70: High Interoperability with Magnolia's Open Suite Approach

USING MAGNOLIA’S REST APIMagnolia communicates to Hybris via RESTful web services

CMS PIMAuthor Instance Stage CatalogPublic Instance Online Catalog

Page 71: High Interoperability with Magnolia's Open Suite Approach

AREAS OF USECart contentTeaser (Product) & Product CarouselCategoriesProduct details

Page 72: High Interoperability with Magnolia's Open Suite Approach

wtM

ag

nolia

Exte

nsio

n

PUBLICINSTANCE

AUTHORI N S T A N C E

REST

XML

Online - Catalogue

• Product• Category• Cart

• Product• Category• Cart

REST

XML

Stage - Catalogue

• Product• Category• Cart

• Product• Category• Cart

PIM

Page 73: High Interoperability with Magnolia's Open Suite Approach

3

COMPONENTS WITH PIM CONTENT1

2

Product Carousel

Product Details

Cart Content

1

2

3

Page 74: High Interoperability with Magnolia's Open Suite Approach

REST INTERFACESProduct - List & DetailsRest Methods: GETURL Parameter - Products List & DetailsBoth Path /magnoliaws/restBoth Type productsBoth Catalog electronicsProductCatalogBoth Version OnlineBoth Language deList offset 0List limit 30Detail Product code 23355Detail currency USD

Page 75: High Interoperability with Magnolia's Open Suite Approach

REST INTERFACESCategories - List & DetailsRest Methods: GETURL Parameter – Category List & DetailsBoth Path /magnoliaws/restBoth Type categoriesBoth Catalog electronicsProductCatalogBoth Version OnlineBoth Language deDetail Category code 577

Page 76: High Interoperability with Magnolia's Open Suite Approach

REST INTERFACESCart – Retrieve Cart ContentRest Methods: GET

URL Parameter – Retrieve Cart ContentPath /magnoliaws/restType cartsessionId 7501A230F4E215E26F1903B0CDC4D9DD

Page 77: High Interoperability with Magnolia's Open Suite Approach

REST INTERFACESCart/Add Product to CartCart/Update Cart EntryRest Methods: POST & PUT

URL Parameter – Add Product to Cart & Update Cart entryBoth Path /magnoliaws/restBoth Type cartBoth sessionId 7501A230F4E215E26F1903B0CDC4D9DDBoth Operation addtocart / updatecartentryBoth Product

code23355

Both quantity 1 / -1Update Catalog electronicsProductCatalogUpdate Version Online

Page 78: High Interoperability with Magnolia's Open Suite Approach

THANKS FOR YOUR ATTENTION!

Page 79: High Interoperability with Magnolia's Open Suite Approach

QUESTIONS & ANSWERS