Re: Following links in QB

Jukka Zitting <[email protected]>
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi,

On 1/3/06, Torben Nehmer <[email protected]> wrote:
> Why not sticking to the dot-syntax?

Rambo already nailed this. Keep the dot syntax for simplicity but add
the forward_join() method for more complex cases. A chained join could
for example allow me to search for all articles authored by members of
a given group. :-)

> The main problem I see here is integration with the current ACL implementation,
> which is not possible unless we start moving ACL to the core.

Good point. The QB is currently unaware of ACL in any case so adding
these methods doesn't change anything in this respect. You are right
in that by complicating the QB model this also makes it m to integrate
the ACL semantics into the core.

> The problem of course is that this is potentially a big performance hog.
>
> So we need to have an official point of view wether we a) want to enforce ACLs
> 100% or b) have a few well-defined exceptions for performance reasons.

I'd go for option a) and just document that complex joins will
probably take a performance hit from the ACLs.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [email protected]
Software craftmanship, JCR consulting, and Java development
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.