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:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With