[
https://issues.apache.org/jira/browse/JCR-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487776
]
Darren Hartford commented on JCR-836:
-------------------------------------
JCR-771 is a good reference, sorry I must have missed that feature request.
I am a very strong believer in coding functionality. However, basic
configuration should be just that - configuration.
Usecase: Someone creates a set of CNDs for certain sets of functionality:
*Dublin Core
*Common Web Content nodeTypes (Magnolia, etc)
*Hylafax content repository nodeTypes (storing sent and received faxes)
Basically, looking at http://wiki.apache.org/jackrabbit/NamespaceRegistry and
http://wiki.apache.org/jackrabbit/NodeTypeRegistry there are some pre-existing,
commonly accepted nodeTypes that are not the default Jackrabbit, but people
would like to use.
Rather than require programming to enable those nodeTypes, some type of
configuration (i.e. drop a group of CND files/bundle in a folder, load through
node-type tool, etc) will greatly increase adoption of those nodeTypes and
remove an existing barrier to, what I'm sure many people consider,
configuration of the underlying repository (either Jackrabbit standalone or as
a piece of a larger application).
The entire JCR spec is designed to help standardize content repositories.
However, if each repository has different types of nodetypes for similar
functionality due to lack of adoption of common nodetypes, we will have
interoperability challenges related to the data stored in the repository.
Making it easy to load CND files (without programming) will be an *enabler*
towards common nodetypes for the many available scenarios and usage of the
Jackrabbit repository.
JCR-324 looks like a good approach of configuring the nodetypes. Again, it's
when you require programming of any sort to configure nodetypes is the only
thing I personally would like to see removed.
> Configuration of nodetypes vs programming of nodetypes
> ------------------------------------------------------
>
> Key: JCR-836
> URL: https://issues.apache.org/jira/browse/JCR-836
> Project: Jackrabbit
> Issue Type: New Feature
> Components: nodetype
> Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3
> Reporter: Darren Hartford
>
> Mandating that you must use programming to define/install nodeTypes is very
> limiting. Recommend allowing the use of a CND configuration folder that is
> read on start-up to configure nodeTypes through CND text files without java
> programming.
> There used to be a repository/nodetype folder that contained XML definitions,
> but those did not necessarily get read in without java programming. Follow
> through with the repository/nodetype folder for CND text files (and/or
> workspace/nodetype folder) that can be loaded on-startup without requiring
> programming.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.