Genzer / curiosity

List of my own curiosities
Apache License 2.0
0 stars 0 forks source link

Source Code structure #11

Open Genzer opened 1 month ago

Genzer commented 1 month ago

I want to evaluate the test some approaches to organize source code. Preferably language agnostic, but Java just fine.

Principles:

Architecture Styles:

Genzer commented 1 month ago

An implementation of RealWorld using Hexagonal Architecture.

https://github.com/marcusmonteirodesouza/realworld-backend-spring-boot-java-keycloak-postgresql/ https://github.com/JonathanM2ndoza/Hexagonal-Architecture-DDD/tree/master

https://dzone.com/articles/hexagonal-architecture-in-the-frontend-a-real-case

https://github.com/PacktPublishing/Designing-Hexagonal-Architecture-with-Java

Slides: https://alistaircockburn.com/Hexagonal%20Budapest%2023-05-18.pdf

The Book: https://www.amazon.com/Hexagonal-Architecture-Explained-Alistair-Cockburn-ebook/dp/B0D4JQJ8KD

Even AWS endorsed it: https://docs.aws.amazon.com/prescriptive-guidance/latest/cloud-design-patterns/hexagonal-architecture.html

https://dev.to/dyarleniber/hexagonal-architecture-and-clean-architecture-with-examples-48oi

https://romanglushach.medium.com/hexagonal-architecture-the-secret-to-scalable-and-maintainable-code-for-modern-software-d345fdb47347

Genzer commented 1 month ago

Answers from "Oliver Drotbohm":

https://github.com/spring-projects/spring-modulith/discussions/210#discussioncomment-6670567

Genzer commented 1 month ago

https://bootify.io/multi-module/best-practices-for-spring-boot-multi-module.html

Genzer commented 1 month ago

https://www.baeldung.com/spring-boot-clean-architecture

Genzer commented 1 month ago

Package by Feature

https://phauer.com/2020/package-by-feature/

Genzer commented 1 month ago

https://www.sivalabs.in/tomato-architecture-pragmatic-approach-to-software-design/#implementation-guidelines