On Mon, Sep 26, 2011 at 5:09 PM, Tobias Mattsson
<[email protected]> wrote:
> Hi all,
>
> I'm looking into using Chemistry to expose the content of Magnolia CMS over 
> CMIS. This has proved to be non straight forward as the domain models of 
> Magnolia and CMIS are quite different.
>
> In Magnolia the main content element is a web page, its' a JCR node with a 
> type that allows any number of properties without constraints. The page 
> contains areas and within those are components, these are represented as 
> nodes and they also allows any number of properties and additional sub nodes.
>
> The domain models differ in two aspects,
>
> 1) Loose typing
> Is it possible to expose support for arbitrary properties? Has this been done 
> before? I read somewhere that Nuxeo has done something similar.

FYI Nuxeo has no arbitrary properties. They all correspond to schema
definitions and are exposed through the normal CMIS object type
mechanism.

> 2) Documents with children
> A web page behaves as both a document and a folder, i.e. it has content, and 
> it has sub-pages. As I understand it, CMIS limits content streams and 
> versioning to documents and the ability to have children to folders.

Another option besides what Florian said, if web pages are read-only
from the client's perspective, is to expose the page content as a
folder's rendition (renditions for folders were designed to display
icons but can be used in a generic manner).

Florent

-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Reply via email to