[Yanel-dev] Implementing Blog functionality
Michael Wechner
michael.wechner at wyona.com
Wed Jan 10 14:00:56 CET 2007
Josias Thöny wrote:
>On Tue, 2007-01-09 at 17:32 +0100, Michael Wechner wrote:
>
>
>>Josias Thöny wrote:
>>
>>
>[...]
>
>
>>>FYI, we have started to completely rework the repository layer. I have
>>>committed a draft of the new interfaces Node, Property, and Repository
>>>(new methods at the bottom). The idea is to deprecate all the old stuff
>>>later on.
>>>The new interfaces are supposed to eventually support querying, but it's
>>>not there yet. What I have in mind is something like
>>>repository.getQueryManager().executeQuery("...my query...")
>>>
>>>
>>>
>>why use getQueryManager and not directly executeQuery?
>>
>>
>
>because
>- SoC: it separates the query handling code from the other repository
>code
>- there could be different QueryManager implementations even for one
>repository implementation
>
>
I think this why I was asking, I guess the API would then rather be
repository.getQueryManager(KEY_OF_QUERY_MANAGER).executeQuery();
right?
Cheers
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list