Skip to main content

Questions tagged [clean-architecture]

Clean Architecture is a book by Robert C. Martin that contains solutions to architecting software solutions. Collectively these concepts are referred to as "Clean Architecture".

2 votes
2 answers
155 views

So I was reading Eric Evans DDD book and one point that was not clear to me is which Layer (in case of using Clean Code) should be reponsible to: define the interface contract for an Entity (...
Prometheus's user avatar
0 votes
0 answers
62 views

I have to extend a complex piece software and I wonder if I should make the changes directly "where they belong", or if I should try to not touch existing stuff and "plug-in" the ...
Stefan Woehrer's user avatar
0 votes
1 answer
168 views

(For context I am developing in Angular) Historically my applications have tended towards the layered architecture that the Angular fraemwork leads you into. However I feel that the next application I ...
royneedshelp's user avatar
0 votes
2 answers
346 views

I have a question about setting up my service. My main concern is if the design is clean and in order. Whether it meets the SOLID principles and does not spill out on me. I have entities like order ...
Petr Klekner's user avatar
5 votes
2 answers
1k views

I'm trying to get hands-on experience with Uncle Bob's Clean Architecture in Go, but I'm running into some issues. Also, I'm not yet familiar with all of Go's idioms. For testing purposes, I'm ...
Crite's user avatar
  • 61
2 votes
2 answers
2k views

I'm currently working on a large legacy project that tried to implement Clean Architecture combined with MVVM, but unfortunately didn't fully adhere to the principles. One major problem: The ...
developKinberg's user avatar
4 votes
1 answer
256 views

Let's say I'm making a space 4X game (because I am!) and I have an ISpaceObject interface in my domain layer, with a number of classes such as Ship, Starbase, Planet, Wormhole, etc. implementing it. I ...
ekolis's user avatar
  • 577
1 vote
2 answers
219 views

I'm curious to know your opinion on how to organize code in services and repositories in the context of a three-layer architecture (controllers - services - repositories). Let's say there is a User ...
Альберт Александров's user avatar
0 votes
3 answers
784 views

Repository interfaces are often defined in the Domain layer. This makes sense for command handlers, which call repository methods and return nothing. But what about query handlers that call repository ...
MrChudz's user avatar
  • 147
2 votes
2 answers
450 views

I'm working with a layered architecture and I'm unsure where to place the pagination logic. This answer suggests that it's not a domain concern, which I think makes sense. In most cases, pagination ...
Hadi Satrio's user avatar
2 votes
2 answers
787 views

For the last few days I'm searching any information about compatibility of JPA and Clean Architecture/DDD. I found next ideas for decoupling application from hibernate. Do not use @ManyToMany or @...
AndyFlight's user avatar
4 votes
5 answers
369 views

Everyone! While reading Chapter 23 of the book Clean Architecture, specifically the Presenters and Views section, I came across something rather unexpected where Uncle Bob states: Every button on the ...
Tozine's user avatar
  • 79
2 votes
2 answers
328 views

I’m studying Clean Architecture, and I came across a technical concept in the diagram from chapter 8. In this chapter, the author states that the Financial Data Mapper implements the Financial Data ...
Tozine's user avatar
  • 79
3 votes
1 answer
442 views

I'm starting a new project and I want to follow a Clean Architecture(ish) approach. I've modeled my projects in that manner (attached diagram). For the API I'm using FastEndpoint since I like it, it'...
developer82's user avatar
0 votes
1 answer
448 views

I’m currently creating a class diagram to develop an application following the “Clean Architecture” guidelines by Robert C. Martin. I’m unsure about how to structure the “Entity” component, ...
Idan Carta-Lag's user avatar

15 30 50 per page
1
2 3 4 5
18