[Yanel-dev] Implementing Blog functionality
Josias Thöny
josias.thoeny at wyona.com
Wed Jan 10 17:13:09 CET 2007
On Wed, 2007-01-10 at 14:00 +0100, Michael Wechner wrote:
> 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?
yeah, that's right, we would need to be able to choose which
implementation we want to use.
josias
>
> Cheers
>
> Michi
>
>
>
More information about the Yanel-development
mailing list