Standard Operating Procedure
sop-server-2.0.0
Server
The server layer of a superduper component is the implementation that responds to a client, it serves the purpose to interface a contextual solution and offer that solution as a service to be used in other contexts; to solve other problems.
The server is constructed in layers, much like an onion analogy explained, the solution has layers on top of layers. A server is expected to be composed by a set of the standard layers: API, domain, infrastructure or view layer..
The dependency direction between the layers are expressed in the SOP standard: sop-server-dependency-direction
. This version of this standard specifically expresses a dependency to a sibling layer, the schema layer, which is a sibling layer to the server layer, in the context of the microservice design.
As the sop-server-file-structure
standard expresses, the file structure is simply dividing the layers into directories, where the name of the directory is the name of the layer.