2021-06-06 11:44:21 +00:00
|
|
|
#+TITLE: Service Oriented Programming
|
|
|
|
#+Author: Yann Esposito
|
|
|
|
#+Date: [2021-06-06]
|
|
|
|
|
|
|
|
- tags :: [[file:2020-06-03--19-49-30Z--programming.org][programming]] [[file:2021-03-20--17-27-46Z--architecture.org][architecture]]
|
|
|
|
- source ::
|
|
|
|
|
2021-06-06 11:45:46 +00:00
|
|
|
This is a presentation of a design pattern to architecture a big code
|
|
|
|
source.
|
2021-06-06 11:47:22 +00:00
|
|
|
As most programming architecture, the goal is to optimize modularity.
|
|
|
|
|
2021-06-06 11:48:52 +00:00
|
|
|
First, this focus on functions.
|
|
|
|
There will be no global variable.
|
|
|
|
There are two kind of functions in programming, pure and impure functions.
|
2021-06-06 11:50:01 +00:00
|
|
|
|
|
|
|
From a high level perspective:
|
|
|
|
|
|
|
|
- =lib/= contain pure functions
|
|
|
|
- =services/= contain all services
|