Port Layer
Learn more about the ports layer, through the implementation of an example.
We'll cover the following
Now, let us implement the port layer on top of the use case layer.
Example definition
We will continue with the example defined in the Domain Layer lesson and implement the port layer on top of the use case layer. It is important to mention that this layer will be in charge of exposing an interface, which will define the functionalities that a component offers and how we can invoke them.
Model definition
The following diagram depicts the port layer, which defines four artifacts. Additionally, this layer makes use of the use case layer.
Get hands-on with 1400+ tech skills courses.