How essential is it to make a service layer?
Posted
by
BornToCode
on Programmers
See other posts from Programmers
or by BornToCode
Published on 2012-08-27T01:03:46Z
Indexed on
2012/08/27
21:55 UTC
Read the original article
Hit count: 279
I started building an app in 3 layers (DAL, BL, UI) [it mainly handles CRM, some sales reports and inventory].
A colleague told me that I must move to service layer pattern, that developers came to service pattern from their experience and it is the better approach to design most applications. He said it would be much easier to maintain the application in the future that way.
Personally, I get the feeling that it's just making things more complex and I couldn't see much of a benefit from it that would justify that.
This app does have an additional small partial ui that uses some (but only few) of the desktop application functions so I did find myself duplicating some code (but not much). Just because of some code duplication I wouldn't convert it to be service oriented, but he said I should use it anyway because in general it's a very good architecture, why programmers are so in love with services??
I tried to google on it but I'm still confused and can't decide what to do.
© Programmers or respective owner