Poll: Add the possibility of using a Service Layer? You do not have permission to vote in this poll. |
|||
Yes | 9 | 52.94% | |
No | 4 | 23.53% | |
Maybe | 4 | 23.53% | |
Total | 17 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Add the possibility of using a Service Layer |
(04-12-2015, 07:37 PM)cjj Wrote: A service layer can contain the business logic. You are right. It definitely can ... and to be honest I like to use it for business logic. That is what we also do at my office and I have not found any downsides. But after reading Martin Fowler's article (http://www.martinfowler.com/bliki/Anemic...Model.html, the part at the end about "Application Layer"), I realized that (at least most of) the business logic should be in your models. I think this separation is not as clear as between the other layers, and it is not really wrong... so what keeps us from doing it ![]() |
Messages In This Thread |
Add the possibility of using a Service Layer - by RWCH - 04-12-2015, 02:37 PM
RE: Add the possibility of using a Service Layer - by cjj - 04-12-2015, 07:37 PM
RE: Add the possibility of using a Service Layer - by RWCH - 04-13-2015, 03:58 AM
RE: Add the possibility of using a Service Layer - by mwhitney - 04-13-2015, 01:59 PM
RE: Add the possibility of using a Service Layer - by alkarim - 04-16-2015, 01:40 AM
|