31
Lars Trieloff, Product Manager Get into the Flow with CQ DAM Day Tech Summit Basel, June 2008 1

Getting Into The Flow With CQ DAM

Embed Size (px)

DESCRIPTION

What is Communiqué Digital Asset Management (CQ DAM) and how to extend it with new media handlers, converters and exporters.

Citation preview

Page 1: Getting Into The Flow With CQ DAM

Lars Trieloff, Product Manager

Get into the Flow with CQ DAM

Day Tech Summit Basel,June 2008

1

Page 2: Getting Into The Flow With CQ DAM

Hello, my name is Lars Trieloff

Product Manager Collaboration and Digital Asset Management

With Day since November 2007 Background:

Open Source Software Development

Collaboration Software

Technical Documentation (DocBook)

Blogging

IT Systems Engineering

2

Page 3: Getting Into The Flow With CQ DAM

Hello, my name is Lars Trieloff

Product Manager Collaboration and Digital Asset Management

With Day since November 2007 Background:

Open Source Software Development

Collaboration Software

Technical Documentation (DocBook)

Blogging

IT Systems Engineering

2

Product Management: Department of “not yet”

Page 4: Getting Into The Flow With CQ DAM

Communiqué DAM

3

Digital Asset Management and Asset Centric Applications on one common enterprise-grade

Platform

Page 5: Getting Into The Flow With CQ DAM

CRX-based RepositoryShare content with other applications, use connectors to access legacy repositories

4

Page 6: Getting Into The Flow With CQ DAM

CRX-based RepositoryShare content with other applications, use connectors to access legacy repositories

4

Page 7: Getting Into The Flow With CQ DAM

RESTPublish content via Web, WebDAV or Windows File Sharing (CIFS)

5

Page 8: Getting Into The Flow With CQ DAM

RESTPublish content via Web, WebDAV or Windows File Sharing (CIFS)

5

Page 9: Getting Into The Flow With CQ DAM

AJAXRich, desktop-like user experience, drag and drop, no delay

6

Page 10: Getting Into The Flow With CQ DAM

AJAXRich, desktop-like user experience, drag and drop, no delay

6

Page 11: Getting Into The Flow With CQ DAM

OSGiInfinite extensibility for media handlers, workflows, user interfaces, exporters

7

Page 12: Getting Into The Flow With CQ DAM

OSGiInfinite extensibility for media handlers, workflows, user interfaces, exporters

7

Page 13: Getting Into The Flow With CQ DAM

8

Value Proposition

Unique Repository for Digital Assets means

reduced cost of ownership for assets increased value for assets as these are easily searchable and retrievableBuilt-in media processing capabilitiesUnlimited Extensibility without Restarts

Page 14: Getting Into The Flow With CQ DAM

Demo

9

Page 15: Getting Into The Flow With CQ DAM

DAM 4.5?

Technically, DAM is based on Communiqué 5 platform Sling, OSGi, Widget Framework

But it still integrates with Communiqué 4 and is made available before CQ5 launch

10

Page 16: Getting Into The Flow With CQ DAM

Deployment Architecture

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

11

Page 17: Getting Into The Flow With CQ DAM

CRX

Standards-compliant content repository based on Apache

Jackrabbit Content Repository for

Java (JCR)

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

12

Page 18: Getting Into The Flow With CQ DAM

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

CQSE

Day’s Servlet Container

Alternatives other Servlet Containers Apache Tomcat Jetty

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

13

Page 19: Getting Into The Flow With CQ DAM

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

Sling Servlet

Instantiates OSGi Runtime

Basic Request Handling

Manages OSGi bundles via REST

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

14

Page 20: Getting Into The Flow With CQ DAM

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

Apache Felix

OSGi runtime application life cycle

management service registry basic services

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

15

Page 21: Getting Into The Flow With CQ DAM

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

OSGi Bundles

All functionality in Sling is implemented via OSGi bundles

OSGi bundles can offer extension points

can run 3rd party plugins

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

16

Page 22: Getting Into The Flow With CQ DAM

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

Extending the DAM

Create a OSGi Bundle Implement existing

DAM InterfacesAttach to extension

pointsDeploy your bundle

CRX Repository

DAM Webapp

Sling Servlet

Apache Felix - OSGi Runtime

OSGi Bundles

DAM UI

Bundle

Image

Support

3rd Party

Plugin

JCR

DAM UI

Bundle

Image

Support

3rd Party

Plugin

CQSE - Servlet Container

17

Page 23: Getting Into The Flow With CQ DAM

DAM API Guide

• Implements media (file type) support

• com.day.cq.dam.MediaHandler

•com.day.cq.dam.media.ImageMediaHandler

• implementation hint: extend com.day.cq.dam.media.AbstractMediaHandler

18

MediaHandler

Page 24: Getting Into The Flow With CQ DAM

DAM API Guide

• Exports media, e.g. creates a ZIP archive or uploads to external server

• com.day.cq.dam.export.Exporter

• implementation hint: extend com.day.cq.dam.export.AbstractBackgroundExporter

• Only one method: export()

19

Exporter

Page 25: Getting Into The Flow With CQ DAM

DAM API Guide

• Converts one image format into another, e.g. Docs into PDF

• com.day.cq.dam.converter.Converter

• Applicable range: getInputMimeTypes(), getOutputMimeTypes(), canConvert()

• The actual conversion: convert()

• operates at byte or InputStream level

20

Converter

Page 26: Getting Into The Flow With CQ DAM

Two ways of coding DAM

21

Take the Volvo or the Vespa

All the power, performance and security of Java, static typing, workflows and OSGi

But sometimes all you need is a quick script around the block...

Page 27: Getting Into The Flow With CQ DAM

Coding

22

Page 28: Getting Into The Flow With CQ DAM

Wrap-up

Communiqué DAM gives you Digital Asset Management based on JCR, CRX and Sling

Integration with Communiqué 4 Media Library

Document, Image, Video and Audio handling

AJAX Interface, WebDAV and CIFS (Windows Networking)

Communiqué DAM is a powerful platform for asset centric applications

harness the power of CRX, Sling and OSGi

use existing extension points to add additional media type support

use the scripting API to extend and customize the user interface

Communiqué DAM - available now

23

Page 30: Getting Into The Flow With CQ DAM
Page 31: Getting Into The Flow With CQ DAM