Re: Repositories, package dependencies, and domain-flavoured exceptions
- From: "paul campbell" <paulc@.o.b.je.ct.vis.sion.co.uk>
- Date: Wed, 27 Jul 2005 20:35:55 +0100
On Tue, 26 Jul 2005 22:53:15 +1000, Jason Che-han Yip <jcyip@xxxxxxxxxxxxxxxx> wrote:
Most of the coordination of domain objects are done in command processors which is why, I presume, these domain-flavoured exceptions are in the "command" package.
I fail to see how a concept that represents the state of a domain class such as "account closed" should be anywhere but in the domain package.
And yes its perfectly reasonable for repositories to support domain logic since a repository is nothing more than an alternative means of navigating to an object.
Paul C. .
- References:
- Repositories, package dependencies, and domain-flavoured exceptions
- From: Jason Che-han Yip
- Repositories, package dependencies, and domain-flavoured exceptions
- Prev by Date: Re: OO Design induces an existential crisis
- Next by Date: Re: OO Design induces an existential crisis
- Previous by thread: Re: Repositories, package dependencies, and domain-flavoured exceptions
- Index(es):
Relevant Pages
|