A quick feedback:
I think the mime-type should be bound to the document and not to
the document type, otherwise you would need a document type for
every single mime-type.
Thanks for laying down the repo design!
Best, Felix
Andreas Hartmann wrote:
Hi Lenya devs,
just FYI - attached you find an annotated class diagram of a
repository API draft, based on thoughts by Felix Roethenbacher
and me. I'm not sure if we'll could finish and integrate it in 1.4,
but nevertheless I think it is worth discussing.
The interfaces are in org.apache.lenya.cms.repo, a JCR-based
implementation is in the jcr module. The jackrabbit module provides
a RepositoryFactory and node type definitions for Jackrabbit.
Some entry points, no idea if they work ATM:
./build.sh modules.test -> runs the repository test
./build.sh migrate-14 -> imports the content of the default pub
into the JCR-based repository
Please don't hesitate to add your comments.
-- Andreas
--
Felix Röthenbacher [EMAIL PROTECTED]
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]