deft/journal/2021-06-06--13-43-12Z--service_oriented_programming.org
2021-06-06 13:52:24 +02:00

830 B

Service Oriented Programming

tags
programming architecture
source

This is a presentation of a design pattern to architecture a big code source. As most programming architecture, the goal is to optimize modularity.

First, this focus on functions. There will be no global variable. There are two kind of functions in programming, pure and impure functions.

From a high level perspective:

  • lib/ contain pure functions
  • services/ contain all services

The services directory will contain "sub-project"/"modules". Every service should have the following structure:

  • service the service declaration
  • core the implementation of the function in the service