Re: Navigation question
Date: 20 Feb 2007 10:48:46 -0800
Message-ID: <1171997326.875046.286230_at_k78g2000cwa.googlegroups.com>
On Feb 20, 11:57 am, "Walt" <wami..._at_verizon.net> wrote:
> "Andy Dingley" <ding..._at_codesmiths.com> wrote in message
>
> news:1171990396.924858.28580_at_p10g2000cwp.googlegroups.com...> On 14 Feb, 19:47, "Marshall" <marshall.spi...@gmail.com> wrote:
>
> > > select * from orders where date > '2006-01-01' and status =
> > > 'fulfilled' and customerid = 1234
>
> > > You say what you want and you get just that. No sifting
> > > through stuff you don't want; no navigating.
>
> > Why is that good though? Because it avoids navigation, or because it
> > avoids round-tripping?
> > IMHO it's avoiding the second thhat is the advantage here, not the
> > first
>
> Neither of the above. It's good because it does not require the inquirer to
> know about anything other than the data.
>
> "Navigation" as commonly used around here, means following "paths" between
> the data. If the inquirer has to navigate, the inquirer has to know about
> the available paths. Not having to know that stuff is an advantage. It's
> an advantage for several reasons. One of them is, possibly, performance.
> But this isn't the big reason. The big reason is independence.
>
> If the inquirer expresses the query in language that makes the query's
> results dependent on the avilability of certain navigational paths, then a
> modification to the data structure can render that query invalid.
Yes.
> That's
> not good.
select customerid, ... orderid from Customer where tin='xyz';
So, I'm still not viewing this from a perspective where navigation looks more problematic than joins, for example. Your take on that? Thanks. --dawn Received on Tue Feb 20 2007 - 19:48:46 CET