HIGH INTEROPERABILITY
WITH MAGNOLIA'S
OPEN SUITE
APPROACH
BORIS KRAFTCHIEF TECHNOLOGY OFFICER & CO-FOUNDER
MAGNOLIA INTERNATIONAL
Magnolia is a registered trademark owned by Magnolia International Ltd.
FORRESTER’S CXM SOLUTION
CATEGORIES
THE “OPEN SUITE” APPROACH
REST
JCR
WebDAV
THE “OPEN SUITE” APPROACH
THE “OPEN SUITE” APPROACH
Magnolia, a CMS as simple and flexible as your smartphone,
engineered to be the center of an ope...
BI-DIRECTIONAL INTEGRATION
BETWEEN ALFRESCO & MAGNOLIA
Credit: Christmas Lights by Abhishek Shirali
Some Rights Reserved C...
AXEL FAUSTPRODYNA SENIOR IT CONSULTANT /
SOFTWARE ARCHITECT
“The open platform for business-critical content management and collaboration.”
In a (very) few words
o Secure collaborati...
USE CASE:
ASSET COLLABORATION
Authors
Publisher
Direct
Access
SME
Marketing
External
Agency
Authors
Publisher
Direct
Access
SME
Marketing
External
Agency
Create draft video
Create storyboard
Fill with subject detai...
USING
ALFRESCO
Subject Expert Group
Marketing
COLLABORATION
Repository
(on-premise)
Enterprise Sync
Hybrid Workflow
External
Agency
Cloud...
OPEN SUITE:
ESSENTIALS
Ext. Application
DAM
RW
Ext. RepositoryExt. Application
CMIS +
DAM
R
DAM
RW
Ext. RepositoryExt. Application Ext. Process
REST
API
CMIS +
DAM
R
DAM
RW
OPEN ISSUES
Metadata support + mapping
Process initiation from Magnolia
All in all: ready-to-use (public) module
BI-DIRECTIONAL
INTEGRATION
HYBRID CONCEPT
CMIS + REST
Similar to Alfresco Public/Cloud API
Abstract and delegate details
FEATURE PLAN
Submission via Asset App
“Remote Review” via Pulse
One-off / scheduled update
Rendition support
1) Initiate asset process (REST)
2) Fetch / push asset(s) (CMIS)
N) Post/fetch updates to/for Pulse (REST)
N+1) Trigger re...
PREVIEW
PREVIEW
FINAL REMARKS
Work-in-progress
Demo @ Magnolia Conference
Plan: Contribute to Open Suite
Non-Enterprise / basic features
(...
BUILDING A UTILITIES PORTAL WITH
MAGNOLIA 5 & SAP
Credit: LVGA by Luigi Rosa
Some Rights Reserved CC-BY-SA 2.0
http://flic...
MATTEO
PELUCCOTINEXT SENIOR SOFTWARE ENGINEER, @MATTEOPELUCCO
AZIENDE
INDUSTRIALI
DI LUGANO
Public utility company
Produces electricity & water.
Imports gas.
Retails electricity, gas &...
PROJECT OVERVIEW
100k potential users
Responsive web design
23 business processes to build
Migration from a productive env...
OPEN SUITE APPROACH
Each of them interacts with SAP in a
customized way
Standard form builder was not enough
NEED TO MODEL 23 PROCESSES
SAP-aware validators
Multistep navigation bar
Step Validators
Scriptable default values for input (eval)
Final summary ste...
BUSINESS PROCESS SITE TREE
CHANGE PAYMENT METHOD
FORM BUILDER CUSTOMIZATIONS
SAP-AWARE VALIDATORS
Legacy SOAP-based SAP integration
layer
Refactoring not in project scope!
No documentation
Only WSDL
LEGACY SAP INTEGRATION
SOLUTION: jUNIT
Tests to reverse engineer SOAP layer
Java Client: built with jax-ws, filled with jUnit test cases.
Magnoli...
LEGACY ALFRESCO DMS
Customer communications were
stored in Alfresco
SOLUTION: ALFRESCO API
Used standard Alfresco API to
download documents
A dedicated Magnolia «DocumentDownloadServlet»
tra...
ALFRESCO CONNECTION VIA API
AUTHENTICATION VS
AUTHORIZATION
Users are in SAP
No ACLs: everything is data-driven
Rules not applicable on a hierarchical...
SOLUTION: PAGE RENDERER
Page protection (for each page)
Security layer exposed to freemarker
conditional presentation laye...
USER LOGIN
CONCLUSIONS
Magnolia «open suite approach» easily allows to
«plug» your integration activity
Form Builder is very powerful...
THANKS!
MAGNOLIA / HYBRIS INTEGRATION
BASED ON RESTFUL WEB SERVICES
Credit: / / by Thomas Leuthard
Some Rights Reserved CC-BY 2.0
...
PAUL TINZOHWEBTISER SENIOR DEVELOPER
INTRODUCING
HYBRIS
GOAL:
MAGNOLIA AS
CMS FOR
HYBRIS
USING MAGNOLIA’S REST API
Magnolia communicates to Hybris via
RESTful web services
CMS  PIM
Author Instance  Stage Catal...
AREAS OF USE
Cart content
Teaser (Product) & Product Carousel
Categories
Product details
wtMagnoliaExtension
PUBLIC
INSTANCE
AUTHOR
I N S T A N C E
REST
XML
Online - Catalogue
• Product
• Category
• Cart
• Produ...
3
COMPONENTS WITH PIM CONTENT
1
2
Product Carousel
Product Details
Cart Content
1
2
3
REST INTERFACES
Product - List & Details
Rest Methods: GET
URL Parameter - Products List & Details
Both Path /magnoliaws/r...
REST INTERFACES
Categories - List & Details
Rest Methods: GET
URL Parameter – Category List & Details
Both Path /magnoliaw...
REST INTERFACES
Cart – Retrieve Cart Content
Rest Methods: GET
URL Parameter – Retrieve Cart Content
Path /magnoliaws/rest...
REST INTERFACES
Cart/Add Product to Cart
Cart/Update Cart Entry
Rest Methods: POST & PUT
URL Parameter – Add Product to Ca...
THANKS
FOR YOUR
ATTENTION!
QUESTIONS &
ANSWERS
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
High Interoperability with Magnolia's Open Suite Approach
Upcoming SlideShare
Loading in …5
×

High Interoperability with Magnolia's Open Suite Approach

1,156 views

Published on

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.

Published in: Technology, Business
  • Be the first to comment

High Interoperability with Magnolia's Open Suite Approach

  1. 1. HIGH INTEROPERABILITY WITH MAGNOLIA'S OPEN SUITE APPROACH
  2. 2. BORIS KRAFTCHIEF TECHNOLOGY OFFICER & CO-FOUNDER MAGNOLIA INTERNATIONAL
  3. 3. Magnolia is a registered trademark owned by Magnolia International Ltd.
  4. 4. FORRESTER’S CXM SOLUTION CATEGORIES
  5. 5. THE “OPEN SUITE” APPROACH REST JCR WebDAV
  6. 6. THE “OPEN SUITE” APPROACH
  7. 7. 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.
  8. 8. BI-DIRECTIONAL INTEGRATION BETWEEN ALFRESCO & MAGNOLIA Credit: Christmas Lights by Abhishek Shirali Some Rights Reserved CC-BY 2.0 https://www.flickr.com/photos/abhishekshirali/11397502823
  9. 9. AXEL FAUSTPRODYNA SENIOR IT CONSULTANT / SOFTWARE ARCHITECT
  10. 10. “The open platform for business-critical content management and collaboration.” In a (very) few words o Secure collaboration o Content-centric business processes o Compliant records management o Open ECM for on-premise, cloud and mobile
  11. 11. USE CASE: ASSET COLLABORATION
  12. 12. Authors Publisher Direct Access SME Marketing External Agency
  13. 13. Authors Publisher Direct Access SME Marketing External Agency Create draft video Create storyboard Fill with subject detail and sketch Submit for „overhaul“ Review draft Submit result (generate poster)
  14. 14. USING ALFRESCO
  15. 15. Subject Expert Group Marketing COLLABORATION Repository (on-premise) Enterprise Sync Hybrid Workflow External Agency Cloud Media Services Cloud API B2B / CLOUDON-PREMISE
  16. 16. OPEN SUITE: ESSENTIALS
  17. 17. Ext. Application DAM RW
  18. 18. Ext. RepositoryExt. Application CMIS + DAM R DAM RW
  19. 19. Ext. RepositoryExt. Application Ext. Process REST API CMIS + DAM R DAM RW
  20. 20. OPEN ISSUES Metadata support + mapping Process initiation from Magnolia All in all: ready-to-use (public) module
  21. 21. BI-DIRECTIONAL INTEGRATION
  22. 22. HYBRID CONCEPT CMIS + REST Similar to Alfresco Public/Cloud API Abstract and delegate details
  23. 23. FEATURE PLAN Submission via Asset App “Remote Review” via Pulse One-off / scheduled update Rendition support
  24. 24. 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)
  25. 25. PREVIEW
  26. 26. PREVIEW
  27. 27. FINAL REMARKS Work-in-progress Demo @ Magnolia Conference Plan: Contribute to Open Suite Non-Enterprise / basic features (i.e. read-write client service / CMIS Browser / simple import) Magnolia + Alfresco modules
  28. 28. BUILDING A UTILITIES PORTAL WITH MAGNOLIA 5 & SAP Credit: LVGA by Luigi Rosa Some Rights Reserved CC-BY-SA 2.0 http://flickr.com/photos/lrosa/3792516495
  29. 29. MATTEO PELUCCOTINEXT SENIOR SOFTWARE ENGINEER, @MATTEOPELUCCO
  30. 30. AZIENDE INDUSTRIALI DI LUGANO Public utility company Produces electricity & water. Imports gas. Retails electricity, gas & water in Ticino.
  31. 31. PROJECT OVERVIEW 100k potential users Responsive web design 23 business processes to build Migration from a productive environment Sensitive user data
  32. 32. OPEN SUITE APPROACH
  33. 33. Each of them interacts with SAP in a customized way Standard form builder was not enough NEED TO MODEL 23 PROCESSES
  34. 34. SAP-aware validators Multistep navigation bar Step Validators Scriptable default values for input (eval) Final summary step FORM BUILDER “RELOADED”
  35. 35. BUSINESS PROCESS SITE TREE
  36. 36. CHANGE PAYMENT METHOD
  37. 37. FORM BUILDER CUSTOMIZATIONS
  38. 38. SAP-AWARE VALIDATORS
  39. 39. Legacy SOAP-based SAP integration layer Refactoring not in project scope! No documentation Only WSDL LEGACY SAP INTEGRATION
  40. 40. SOLUTION: jUNIT Tests to reverse engineer SOAP layer Java 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.
  41. 41. LEGACY ALFRESCO DMS Customer communications were stored in Alfresco
  42. 42. SOLUTION: ALFRESCO API Used standard Alfresco API to download documents A dedicated Magnolia «DocumentDownloadServlet» transparently proxies the document download request for a logged user, applying a security layer on top of it.
  43. 43. ALFRESCO CONNECTION VIA API
  44. 44. AUTHENTICATION VS AUTHORIZATION Users are in SAP No ACLs: everything is data-driven Rules not applicable on a hierarchical page tree
  45. 45. SOLUTION: PAGE RENDERER Page protection (for each page) Security layer exposed to freemarker conditional presentation layer statements user interface personalization Easy to test and debug
  46. 46. USER LOGIN
  47. 47. CONCLUSIONS Magnolia «open suite approach» easily allows to «plug» your integration activity Form Builder is very powerful and customizable Mock activity is foundamental in projects like this. Magnolia IoC helps the project lifecycle and team work User data security always on top of feature set
  48. 48. THANKS!
  49. 49. MAGNOLIA / HYBRIS INTEGRATION BASED ON RESTFUL WEB SERVICES Credit: / / by Thomas Leuthard Some Rights Reserved CC-BY 2.0 https://www.flickr.com/photos/thomasleuthard/7725793982
  50. 50. PAUL TINZOHWEBTISER SENIOR DEVELOPER
  51. 51. INTRODUCING HYBRIS
  52. 52. GOAL: MAGNOLIA AS CMS FOR HYBRIS
  53. 53. USING MAGNOLIA’S REST API Magnolia communicates to Hybris via RESTful web services CMS  PIM Author Instance  Stage Catalog Public Instance  Online Catalog
  54. 54. AREAS OF USE Cart content Teaser (Product) & Product Carousel Categories Product details
  55. 55. wtMagnoliaExtension PUBLIC INSTANCE AUTHOR I 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
  56. 56. 3 COMPONENTS WITH PIM CONTENT 1 2 Product Carousel Product Details Cart Content 1 2 3
  57. 57. REST INTERFACES Product - List & Details Rest Methods: GET URL Parameter - Products List & Details Both Path /magnoliaws/rest Both Type products Both Catalog electronicsProductCatalog Both Version Online Both Language de List offset 0 List limit 30 Detail Product code 23355 Detail currency USD
  58. 58. REST INTERFACES Categories - List & Details Rest Methods: GET URL Parameter – Category List & Details Both Path /magnoliaws/rest Both Type categories Both Catalog electronicsProductCatalog Both Version Online Both Language de Detail Category code 577
  59. 59. REST INTERFACES Cart – Retrieve Cart Content Rest Methods: GET URL Parameter – Retrieve Cart Content Path /magnoliaws/rest Type cart sessionId 7501A230F4E215E26F1903B0CDC4D9DD
  60. 60. REST INTERFACES Cart/Add Product to Cart Cart/Update Cart Entry Rest Methods: POST & PUT URL Parameter – Add Product to Cart & Update Cart entry Both Path /magnoliaws/rest Both Type cart Both sessionId 7501A230F4E215E26F1903B0CDC4D9DD Both Operation addtocart / updatecartentry Both Product code 23355 Both quantity 1 / -1 Update Catalog electronicsProductCatalog Update Version Online
  61. 61. THANKS FOR YOUR ATTENTION!
  62. 62. QUESTIONS & ANSWERS

×