dev-resources.site
for different kinds of informations.
Refactorizar proyecto a Arquitectura Hexagonal
Published at
3/16/2021
Categories
java
micronaut
arquitectura
hexagonal
Author
e240683
Author
7 person written this
e240683
open
La Arquitectura Hexagonal es un modelo novedoso. Pero la mejor definición es Arquitectura de Puertos y Adaptores. La documentación al respecto es abundante en Internet, por lo que no profundizaremos.
Lo que mostraremos es cómo refactorizar un proyecto Micronaut para llevarlo a un diseño hexagonal.
Partamos como base esta estructura:
No existe un estándar para la distribución de clases y paquetes. Para tener una clara visualización e identificar las partes del modelo; presentamos esta propuesta de esquema:
.
./application
./application/domain
./application/service
./architecture
./architecture/adapter
./architecture/adapter/input
./architecture/adapter/output
./architecture/port
./architecture/port/input
./architecture/port/output
Entonces, debemos crear las interfaces y clases necesarias según la definición de puertos y adaptadores. El resultado lo podemos ver así:
Documentación
hexagonal Article's
17 articles in total
Hexagonal Architecture — A Favorite Lyrics Spring Boot — Java Example
read article
Hexagonal Architectural Pattern in C# – Full Guide 2024 👨🏻💻
read article
An arrow in Hexagonal Architecture's foot
read article
Embracing and understanding the Hexagonal Architecture in Serverless Environments
read article
Understanding Hexagonal Architecture
read article
Mastering Go Web Development: Building a Flashcard App
read article
Hexagonal Architecture
read article
What is (not) Hexagonal Architecture
read article
Architektura heksagonalna (Porty i Adaptery) w Laravelu
read article
Domain driven architecture in the frontend (II)
read article
Domain driven architecture in the frontend (I)
read article
Domain-Driven Design and the Hexagonal Architecture
read article
Refactorizar proyecto a Arquitectura Hexagonal
currently reading
Hexagonal Architecture With Java and Spring
read article
Hexagonal Architecture doesn't really work
read article
BDD working together with Hexagonal architecture
read article
Implementing a hexagonal architecture
read article
Featured ones: