On Fri, 16 May 2008 01:10:31 +0600, Artem Melentyev
wrote
Hi, devs.
I'm working on JCRStore and QueryPlugin and I want to get some feedback
about
http://dev.xwiki.org/xwiki/bin/view/Design/XWiki+Query+Language+Specificati…
just my 2 cents:
1. Why our QueryPlugin's xpath isn't
sufficient? (except it doesn't work
now and some features are unimplemented :))
2. Are we sure to use sql-like query language?
I think sql isn't user friendly language.
Also many features of sql (such as joins) is impossible for JCR.
Fir other side: sql is more user-friendly them xpath.
3. What user query language would you prefer for
xwiki?
I prefer something similar to JPA Object query language, according to some
(ideal, unexistend) O/R mapping.
I'm not sure we can be compliant with a O/R mapping. Also we probably
have some specificities in the Document/Object relationship for which
the QL could become complicated unless we use some internal shortcuts in
our language specification.
I'm for a SQL type languages that is simplified to the maximum based on
our entities.
Ludovic
--
Ludovic Dubost
Blog: