Re: Repositories Global only or contextual?

Caleb Cushing <[email protected]>
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <CAAHKNRHOpgYR6FQ1_4k-WnNUHH_=4O=Rh_ZHMzZtcay3uN4cWg@mail.gmail.com>
I've been dead for the last week with a sickness. But thanks all for the
 input.

On Fri, Jan 24, 2014 at 2:10 PM, <[email protected]> wrote:

> But most repositories suffer from infrastructure leakage - take most basic
> feature of paging. Paging will require additional arguments on your methods
> or type signature suited for such operations. Neither of those is part of
> your domain, but you need to have it or you will have performance issues.
>
> Actually, I'm not entirely convinced on some reflection that Paging isn't
part of the Domain. One of the principles of DDD is to ask, if you remove
the computer, how is it done? take books, if I remove the computer would I
print things on a scroll and unroll it.... No, because people don't
actually like to consume things that way, it's too much information. We
tend to think of this as a machine perfomance issue only, or a screen
realestate issue, but I think there's truth that we as people don't want to
consume an infinite list. I've found a few of the sites that provide said
infinite scrolling to have rather frustrating user interfaces (personal
opinion). When the list size is known, and it's seems humanly consumable
it's not so bad. When reviewing a checkbook balance log, we eventually have
to turn the page. I'm not 100% on this, but I think we may to some extent
assume that the "technology" was the reason for this, but I think the human
factor is the reason we stopped using scrolls, and humans are a domain
concern (IMHO).


-- 
Caleb Cushing

http://xenoterracide.com

Calendar:
https://www.google.com/calendar/embed?src=xenoterracide%40gmail.com&ctz=America/Chicago
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.