mirror of
https://github.com/HackSoftware/Django-Styleguide.git
synced 2024-11-22 17:46:38 +03:00
Add a diagram for the service layer
This commit is contained in:
parent
96db6f42f2
commit
10eaba3319
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user