Florent André schrieb:

[…]

//Start site management ?? this code is usefull if I use the document
 manager ??
Since you have already passed the path to the DocumentManager, you don't
have to add the document to the site structure anymore.

It seems me to understand that Lenya have 2 way to manage / create document
: - the direct way throw DocumentManager
- the indirect way throw SiteStructure

If I can do a suggestion, a documentation on "how to create document from
scratch" could be useful.

Yes, I also think this is too complex. The DocumentManager is the original approach, but now I think we should rather add the respective methods to the repository classes:

Area.addDocument(…)
SiteStructure.addLink(Node node, Document document)

Have a cool sunny day !

Thanks, you too :)

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to