Add a diagram for the service layer

This commit is contained in:
Radoslav Georgiev 2021-09-25 19:10:54 +03:00
parent 96db6f42f2
commit 10eaba3319
No known key found for this signature in database
GPG Key ID: 0B7753A4DFCE646D

View File

@ -367,6 +367,10 @@ Services are where business logic lives.
The service layer speaks the specific domain language of the software, can access the database & other resources & can interact with other parts of your system. The service layer speaks the specific domain language of the software, can access the database & other resources & can interact with other parts of your system.
Here's a very simple diagram, positioning the service layer in our Django apps:
![Service layer](https://user-images.githubusercontent.com/387867/134778130-be168592-b953-4b74-8588-a3dbaa0b6871.png)
A service can be: A service can be:
- A simple function. - A simple function.