journal/2021-06-06--13-43-12Z--service_oriented_programming.org
This commit is contained in:
parent
2c5fb583be
commit
918eea926e
1 changed files with 8 additions and 0 deletions
|
@ -43,3 +43,11 @@ foo-service-methods
|
|||
def foo-service
|
||||
create-service( config-service, bar-service, baz-service)
|
||||
#+end_src
|
||||
|
||||
The component will form an acyclic graph of dependencies.
|
||||
|
||||
Principles:
|
||||
|
||||
A service contain an internal state.
|
||||
Every method of the service can access this internal state.
|
||||
No OOP is needed, only functions.
|
||||
|
|
Loading…
Reference in a new issue