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+Specification > > 1. Why our QueryPlugin's xpath isn't sufficient? (except it doesn't work > now and some features are unimplemented :)) > I think xpath is way to complicated to write. You always forget what the first and second and third /*/ means.
> 2. Are we sure to use sql-like query language? > SQL is actually use friendly. It is quite natural. We should use as little joins as possible. We should be able to use subqueries. If the underlying storage does not support it we can run it ourselves. Lot's of developers are already familiar with SQL so it's a path which allows them to easily use our language. I think a query language similar to the GQL in Google AppEngine could be cool. > I think sql isn't user friendly language. > Also many features of sql (such as joins) is impossible for JCR. > It's ok if we don't have all joins. > 3. What user query language would you prefer for xwiki? > > SQL like languague with no joins necessary for 95% of the queries Ludovic -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

