[xwiki-devs] [Rendering] Refactoring Idea: JCR...
Hi, One refactoring idea: we could probably replace our Block implementation by the JCR API. This would allow to benefit from already existing code (JackRabbit for ex) such as the query manager, navigation in the XDOM tree, etc. Pros: - less code to write - more powerful API - standard-based Cons: - Need to rewrite our Block implementation - more external dependencies (jackrabbit and what it draws) WDYT? Thanks -Vincent
Been thinking about this below... After some research my current position is that it's overkill and brings too much complexity for the simple needs we have for storing Blocks. -Vincent On Nov 27, 2008, at 3:35 PM, Vincent Massol wrote:
Hi,
One refactoring idea: we could probably replace our Block implementation by the JCR API. This would allow to benefit from already existing code (JackRabbit for ex) such as the query manager, navigation in the XDOM tree, etc.
Pros: - less code to write - more powerful API - standard-based
Cons: - Need to rewrite our Block implementation - more external dependencies (jackrabbit and what it draws)
WDYT?
Thanks -Vincent
participants (1)
-
Vincent Massol