alfresco in few points - node tutorial

74
What’s this Flower ?

Post on 18-Oct-2014

26.670 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Alfresco in few points - Node Tutorial

What’s this Flower ?

Page 2: Alfresco in few points - Node Tutorial

It’s Alfresco !

Page 3: Alfresco in few points - Node Tutorial

An Open Source ECM Solution

Page 4: Alfresco in few points - Node Tutorial

Put in a nutshell , this is…

Page 5: Alfresco in few points - Node Tutorial

An extensible..

Page 6: Alfresco in few points - Node Tutorial

…Framework…Service 1

Service 2

Service 1

Service 1

Service 2

Interface

Service

Composant

Page 7: Alfresco in few points - Node Tutorial

...Based on Open Source

components…

Page 8: Alfresco in few points - Node Tutorial

…Compliant with standards…

Page 9: Alfresco in few points - Node Tutorial

…Under an Open source

license…

Page 10: Alfresco in few points - Node Tutorial

…for Enterprise Content Management

Page 11: Alfresco in few points - Node Tutorial

Where is the Problem ?

Page 12: Alfresco in few points - Node Tutorial

Curious people who want to understand Alfresco…

Page 13: Alfresco in few points - Node Tutorial

With lots of questions…(To express…)

Page 14: Alfresco in few points - Node Tutorial

A possible solution…

Page 15: Alfresco in few points - Node Tutorial

Simply a presenter with presentations about Alfresco

Page 16: Alfresco in few points - Node Tutorial

with a few answers… (To verify)

Page 17: Alfresco in few points - Node Tutorial

Let’s do it !

Page 18: Alfresco in few points - Node Tutorial

 Is it possible to learn more about the fundamentals?

Page 19: Alfresco in few points - Node Tutorial

OK! Let's begin at the beginning…

Page 20: Alfresco in few points - Node Tutorial

First, here is a principle…

(Everything is NODE!)

I am a little node!

Page 21: Alfresco in few points - Node Tutorial

Each node has…

Des propriétés

Des métadonnéesA Type

Page 22: Alfresco in few points - Node Tutorial

I'm of kind Rose!

Black is my type!

Me… Blue.. Blue…

My type is red.

I’m violet!

Me, I’m green…

Here… Nothing…

Page 23: Alfresco in few points - Node Tutorial

These types qualify nodes with

Des propriétés

Des métadonnéesproperties

Page 24: Alfresco in few points - Node Tutorial

I have 3 properties!

As far as I am concerned, I have 9 properties…

4 properties for myself…

Only one… Me… I don’t know…

I have too many properties !!!

Here… Still Nothing

Page 25: Alfresco in few points - Node Tutorial

 And also relations (mandatory or not) with other

nodes through…

associations

Page 26: Alfresco in few points - Node Tutorial

There are two kinds of association family

• Hierarchical associations (parent / child)

• Associations (source/target)

• NB : A node always has a father!!!

Page 27: Alfresco in few points - Node Tutorial

I’m your father, Red!

I’m your child, Pink! I have to make a

relationship with red to exist.

Blue is my father…

I am the source of an association between blue and me

Me ? I am the target of the association that I have with green

Page 28: Alfresco in few points - Node Tutorial

Each node lives in…

aStore

Page 29: Alfresco in few points - Node Tutorial

A store is characterized by

• One root node

• One protocol

• One identifier

Page 30: Alfresco in few points - Node Tutorial

I am the Store of green, blue and black. My name is "Store 1" and my protocol is "Protocol 1"

Rose, red and purple are in me. Call Me "Store 2" with "Protocol 2"

Page 31: Alfresco in few points - Node Tutorial

 Each node can share properties and associations

through a common…

aspect

Page 32: Alfresco in few points - Node Tutorial

I do not have any aspect

I have no aspect too…

 I have the same properties than blue

I have the same associations than black

Page 33: Alfresco in few points - Node Tutorial

 Each type, aspect, node, association are defined by…

QName

Page 34: Alfresco in few points - Node Tutorial

My green type is defined by the Qname: {http://www.opensourceecm.fr/model/c

ouleur/1.0}GreenType

The aspect owns a QName type {http://www.opensourceecm.fr/model/couleur/1.0}ColorAspect

The type of association is defined by the Qname : {http://www.opensourceecm.fr/model/couleur/1.0}Co

lorAssociation

Me, I understand anything!

Page 35: Alfresco in few points - Node Tutorial

A QName can be seen in several formats

• Extended– {http://www.opensourceecm.fr/model/couleur/1.0}

ColorAspect

• Reduced– opensourceecm:ColorAspect

Page 36: Alfresco in few points - Node Tutorial

It is possible to add actions to a node with

ARule

Page 37: Alfresco in few points - Node Tutorial

If black is changed, I have to modify one of my properties

If anyone remove a node, I must create a

black node

If anyone create a relationship with purple, I add an aspect to purple.

Page 38: Alfresco in few points - Node Tutorial

To identify and report a single node in a store, we used…

AnUUID

Page 39: Alfresco in few points - Node Tutorial

My UUID is 042a3267-99ef-11dc-8294-09c8841d3064

I won’t tell you anything!

My UUID is 046ce0d6-99ef-11dc-8294-09c8841d3064

Page 40: Alfresco in few points - Node Tutorial

The concatenation of the store protocol, store name and node

UUID creates…

ANodeRef

Page 41: Alfresco in few points - Node Tutorial

My NodeRef isProtocole1://Store1/042a3267-99ef-11dc-8294-09c8841d3064

Me, I’mprotocole2://Store2/046ce0d6-99ef-11dc-8294-09c8841d3064

No, i still dont wanna tell you

Page 42: Alfresco in few points - Node Tutorial

Except colors, what else… ?

Page 43: Alfresco in few points - Node Tutorial

Back to reality…

Page 44: Alfresco in few points - Node Tutorial

What happens when you add content to Alfresco?

Page 45: Alfresco in few points - Node Tutorial

There is a node creation!

(Everything is NODE!)

YES!! Still me!

Page 46: Alfresco in few points - Node Tutorial

How to create a node…

Define • A parent• An association (QName +

Name) between a node and its parent

• Node type (QName)• Node properties (QName

+ Value)

Page 47: Alfresco in few points - Node Tutorial

My Type/QName is cm:folder

How to create a node…

I am the future father of a new node.

Page 48: Alfresco in few points - Node Tutorial

How to create a node…

Now, I have a son!!!

I am a new node! I'm file.txt

Page 49: Alfresco in few points - Node Tutorial

 There is an association between my father and me

How to create a node…

My Association QName is : cm:contains

My association name is : {http://www.alfresco.org/model/content/1.0}fichier.txt

 In this case, it’s a ChildAssociation

Page 50: Alfresco in few points - Node Tutorial

How to create a node…

So it is possible to be different from his father!

I am the son of my father but my Type is {http://www.alfresco.org/model/content/1.0}content

Page 51: Alfresco in few points - Node Tutorial

How to create a node…

Since the day I was born, I have properties…

My title is « fichier.txt » (QName : cm:title)

But I have no description

Ma date of birth is Thu Jul 17 22:28:21 CEST 2008 (QName : cm:created)

Page 52: Alfresco in few points - Node Tutorial

How to create a node…I have one content property (QName : cm:content) which contains a link to the file content

Page 53: Alfresco in few points - Node Tutorial

OK… And in Alfresco, how can we see it ?

Page 54: Alfresco in few points - Node Tutorial

Use the Node Browser…

Page 55: Alfresco in few points - Node Tutorial

Node Brower…

Connect with « admin »  role in Alfresco

Click in this icon

Next, choose Node Browser

Page 56: Alfresco in few points - Node Tutorial

Now, the proof in Alfresco!

Type

Page 57: Alfresco in few points - Node Tutorial

Now, the proof in Alfresco!

Properties

Page 58: Alfresco in few points - Node Tutorial

Now, the proof in Alfresco!

Associations

Page 59: Alfresco in few points - Node Tutorial

Now, the proof in Alfresco!

Aspects

Page 60: Alfresco in few points - Node Tutorial

Now, the proof in Alfresco!

UUID

Page 61: Alfresco in few points - Node Tutorial

Now, the proof in Alfresco!

NodeRef

Page 62: Alfresco in few points - Node Tutorial

Content

Now, the proof in Alfresco!

Page 63: Alfresco in few points - Node Tutorial

Any questions ???

Page 64: Alfresco in few points - Node Tutorial

For the next meeting maybe…

Page 65: Alfresco in few points - Node Tutorial

To be continued…

Page 66: Alfresco in few points - Node Tutorial

 Now what if I want to manage my nodes?

Page 67: Alfresco in few points - Node Tutorial

Let's explore the notion of service…

Page 68: Alfresco in few points - Node Tutorial

And if I want to share the content?

Page 69: Alfresco in few points - Node Tutorial

You can use protocols …

Page 70: Alfresco in few points - Node Tutorial

So if you want to learn…

Page 71: Alfresco in few points - Node Tutorial

…To go fast…

Page 72: Alfresco in few points - Node Tutorial

…and to reach your goals …

Page 73: Alfresco in few points - Node Tutorial

Choose Open Source ECM

Page 74: Alfresco in few points - Node Tutorial

Alfresco in fewpoints…

Par JM.PASCAL

www.opensourceecm.fr&

www.open-source-ecm.com