Reputation: 3490
I am currently reading a lot about Design Patterns and I have been watching various Pluralsight videos from their library. Now so far I have learnt the following:
Now I read lot about Services and Service Layers and wanted some advice about the best place to read up and learn about these. I presume this fits into Domain Driven Design and I should start there? The term "Service" just seem to be used widely within IT and it can be confusing the exact meaning.
So my questions is:
Upvotes: 3
Views: 4519
Reputation: 691913
The service layer is the layer which sits between the presentation layer and the data access layer.
The presentation deals with HTTP requests and responses (in a web app) and presentation logic in general (workflow between pages, etc.), and delegates to the service layer for the business, transactional logic that the application uses.
The service layer then delegates to a data access layer to access the database.
Upvotes: 6