DoFactory Architecture Design
Posted
by
Brendan Vogt
on Stack Overflow
See other posts from Stack Overflow
or by Brendan Vogt
Published on 2010-12-31T16:57:59Z
Indexed on
2010/12/31
17:54 UTC
Read the original article
Hit count: 304
Hi,
Has anybody used the Patterns in Action from the Do Factory?
I just have a question on the architecture. I always thought that the service must call the repository. In the solution the have ActionService and a repository. Lets say I want to get all the customers then in my controller I would call the repository's GetCustomers method. This will then call ActionService's GetCustomer's method. And then lastly another GetCustomers method is called in the customer data access object. Is this right?
Any comments on the way that they implemented things in the Patterns in Action?
© Stack Overflow or respective owner