Options:
Use JCR node hierarchy
- One "implicit" hierarchy
- Would probably resemble URL structure - REST-like thinking (one URI for each resource)
- Additional hierarchies possible:
- Via separate node hierarchies with references
- Via shared nodes (JSR 283)
Advantages:
- Simple
- Straightforward
- Better performance
Use flat storage with artificial hierarchy
- Either XML stored in a property (like now)
- Or separate node hierarchy:
- Via references to the content nodes
- Via shared nodes (JSR 283)
Advantages:
- More flexibility re. content model (e.g. translations with common parent node) without constraining the URI space