journal/2021-06-06--13-43-12Z--service_oriented_programming.org
This commit is contained in:
parent
a216a86b9f
commit
e627217f47
1 changed files with 7 additions and 1 deletions
|
@ -34,6 +34,12 @@ Every service should have the following structure:
|
|||
|
||||
A service should be considered as a function returning a record of functions.
|
||||
|
||||
#+begin_src
|
||||
foo-service-methods
|
||||
foo-do-a
|
||||
foo-do-b
|
||||
foo-do-c
|
||||
|
||||
def foo-service
|
||||
create-service( config-service, bar-service, baz-service )
|
||||
create-service( config-service, bar-service, baz-service)
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue