integration of plone with exist-db

25
Structured Content Rocks! Integration of eXist-db with Plone Andreas Jung/@MacYET ZOPYX • www.zopyx.com eXist-db User Meeting XML Prague 2015

Upload: andreas-jung

Post on 18-Jul-2015

380 views

Category:

Internet


1 download

TRANSCRIPT

Structured Content Rocks!Integration of eXist-db with Plone

Andreas Jung/@MacYET ZOPYX • www.zopyx.com

eXist-db User Meeting XML Prague 2015

www.xml-director.info Professional XML Publishing (C) 2015 ZOPYX

Speaker‣ Python developer since 20 years ‣ Worked for several publishers in Germany ‣ Plone contributor since more than a decade ‣ Building large CMS solutions on top of Plone & Python ‣ own "Produce & Publish" publishing platform ‣ eXist-db user since one year ‣ founder of "XML Director" project

‣ Neither Java nor XML addicted 😊

www.xml-director.info Professional XML Publishing (C) 2015 ZOPYX

What is Plone?

‣ Enterprise-level Web CMS

‣ Content-types

‣ very flexible workflow system

‣ fine-grained access and roles management

‣ very secure

‣ written in Python

‣ based on the Zope application server

www.xml-director.info Professional XML Publishing (C) 2015 ZOPYX

Onkopedia project

‣ www.dgho-onkopedia.de www.onkopedia-guidelines.info

‣ Plone CMS project since 2010

‣ Portal for medical guidelines for diagnosis and treatment of hematology and oncology diseases

‣ DOCX ➝ XML ➝ PDF (Produce & Publish)

www.xml-director.info Professional XML Publishing (C) 2015 ZOPYX

Current editorial workflow

Word/DOCX -> XML+HTML (c-rex.net)

• Metadata management

• SVG management

Conversion to PDF (PDFreactor, CSS Paged Media)

Publishing and Archiving

Content structure inside eXist-db

root

de

en

onkopedia

my-onkopedia

onkopedia-p

knowledge-database

mammakarzinom-der-frau

mammakarzinom-des-mannes

mammakarzinom-der-frau

onkopedia

current

archive

draft

Version 01.04.2013

Version 07.08.2014

Version 25.03.2012

pdf

xml

html

media

source

1.jpg

2.jpg

incoming.docx

index.html

index.xml

index.pdf

my-onkopedia

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

root

de

en

onkopedia

my-onkopedia

onkopedia-p

knowledge-database

mammakarzinom-der-frau

mammakarzinom-des-mannes

mammakarzinom-der-frau

onkopedia

current

archive

draft

Version 01.04.2013

Version 07.08.2014

Version 25.03.2012

pdf

xml

html

media

source

1.jpg

2.jpg

incoming.docx

index.html

index.xml

index.pdf

my-onkopedia

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

root

de

en

onkopedia

my-onkopedia

onkopedia-p

knowledge-database

mammakarzinom-der-frau

mammakarzinom-des-mannes

mammakarzinom-der-frau

onkopedia

current

archive

draft

Version 01.04.2013

Version 07.08.2014

Version 25.03.2012

pdf

xml

html

media

source

1.jpg

2.jpg

incoming.docx

index.html

index.xml

index.pdf

my-onkopedia

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

Publish

root

de

en

onkopedia

my-onkopedia

onkopedia-p

knowledge-database

mammakarzinom-der-frau

mammakarzinom-des-mannes

mammakarzinom-der-frau

onkopedia

current

archive

draft

Version 01.04.2013

Version 07.08.2014

Version 25.03.2012

pdf

xml

html

media

source

1.jpg

2.jpg

incoming.docx

index.html

index.xml

index.pdf

my-onkopedia

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

Archive

root

de

en

onkopedia

my-onkopedia

onkopedia-p

knowledge-database

mammakarzinom-der-frau

mammakarzinom-des-mannes

mammakarzinom-der-frau

onkopedia

current

archive

draft

Version 01.04.2013

Version 07.08.2014

Version 25.03.2012

pdf

xml

html

media

source

1.jpg

2.jpg

incoming.docx

index.html

index.xml

index.pdf

my-onkopedia

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

How to map this into Plone?

root

de

en

onkopedia

my-onkopedia

onkopedia-p

knowledge-database

mammakarzinom-der-frau

mammakarzinom-des-mannes

mammakarzinom-der-frau

onkopedia

current

archive

draft

Version 01.04.2013

Version 07.08.2014

Version 25.03.2012

pdf

xml

html

media

source

1.jpg

2.jpg

incoming.docx

index.html

index.xml

index.pdf

my-onkopedia

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

source incoming.docx

xml index.xml

html index.html

media

1.jpg

2.jpg

pdf index.pdf

Connector

http://host/de/my-onkopedia/mammakarzinom-der-frau/archive/version-25.03.2014/@@view/xml/index.xml

Connector

Connector

‣ www.xml-director.info

‣ Integration of the Plone CMS with

‣ eXist-db or Base-X (over WebDAV)

‣ Open platform for building XML CMS solutions

‣ battle proven since many years

‣ Join the project…

‣ Plone content-type (Dexterity) ‣ maps a subtree from eXist-db into Plone (similar to Reflecto) ‣ traversal support ‣ UI for managing collections (add, remove, rename) ‣ ACE editor integration ‣ pluggable view registry for eXist-db content (by-suffix) ‣ ZIP import/export ‣ support for XQuery scripts called through the RESTXQ layer of eXist-db

‣ persistent per-connector logging ‣ small and extensible ‣ Plone security & rights management apply on the connector level

www.xml-director.info Professional XML Publishing (C) 2015 ZOPYX

Produce & PublishXML to PDF

Query Server

Word2XMLPlone CMS

DGHOMember Database

Authenticatio

n

DOCX

XML, Assets

Authorizatio

n

PDF, EPUB

HTML, XML + CSS

XQuery

XML, HTML, JSON

Mac

XML Editing, A

ssets

Editing

XML Editing, A

ssets

Editing

WebDAV

WebDAV

Windows

JSONHTMLXML XQuery

WebDAV

Onkopedia Onkopedia Editor (Intern)

Onkopedia Editor (I

ntern)Onkopedia Site Visitor

Onkopedia Site VisitorOnkopedia Edito

r (Intern)

External Systems Clinical systems Medical applications Medical databases

HTTPREST APIGuidelines (XML)

Addendums (XML)Assets (Images, Styles)

PDFDOCX

eXist-dbXML database

Architecture

Questions?