clean-architecture Questions

1

I'm learning about Clean and Vertical Slice Architecture for the first time and I'm having trouble understanding where Authorization and Authentication would fit in if we are using ASP.NET Core Ide...
Prevailing asked 7/4, 2022 at 14:55

4

I am working on a program in golang, which I am sructuring based on Hexagonal Architecture. I think I have my head wrapped mostly around the idea, but there is something I just can't figure out. Th...

2

Solved

I am using clean architecture with paging 3 and trying to populate a lazyColumn. I have the following class in my data layer module and I don't want to pass the PagingData to the domain layer as I ...

2

I like Clean architecture however something that has always troubled me is the access to Resource files across layers. I know that layers other than the View layer shouldn't have references to any...

5

Solved

I am using the following plugin: https://pub.dev/packages/freezed I want to subclass a freezed data class to provide additional functionality in my data layer. So I have my data class which looks l...
Jonejonell asked 6/8, 2020 at 14:7

3

Solved

I am building an application that tries to abide by clean architecture. I understand that the repository is meant to abstract away the persistence layer and return back entities in terms of the dom...
Lewie asked 4/3, 2021 at 18:17

2

Some Android multi-module architecture examples show that domain layer depends on data. Others are vice versa. Android Developers site says: The domain layer is an optional layer that sits between...

3

Me and my colleague are having a debate as to where would be the right place to map our entity objects or remote dto objects to plain simple domain objects. Our structure looks like this. source(in...
Unquestioning asked 10/12, 2021 at 22:34

6

I've recently stumbled upon Clean Architecture, by Uncle Bob, and I'm curious to know whether Interactors can execute other Interactors. For example, these are my Interactors as of now: getEmptyAlb...
Stutz asked 5/5, 2017 at 11:20

2

I am developing an app where I am using Firebase Cloud Messaging. And I am using clean architecture for my app. I want to know where(in which layer:data, domain, presentation) is the best solution ...
Bergquist asked 5/7, 2016 at 13:21

3

I'm trying to apply Clean Architecture from uncle Bob in Laravel application. What i'm concerning is: As uncle Bob describe, the Controller should belongs to third circle: Interface Adapters (from...
Meredi asked 30/11, 2016 at 10:18

2

Solved

I'm working on an Android app based on Clean Architecture pattern and I have doubts how to implement user authentication in a clean way. Is the following solution clean in terms of clean architectu...
Chorea asked 14/2, 2019 at 16:53

2

Solved

Where does Service (or BroadcastReceiver, etc..) belongs to in clean architecture package structure? I am wondering between domain and data layer... I would create new package called services in do...
Installment asked 14/10, 2022 at 11:26

6

I'm learning about MVVM and Clean Architecture. Then I found some articles present about MVVM + Clean Architecture, but I still didn't get it about the difference between mvvm with clean architectu...
Calyces asked 21/10, 2019 at 10:46

1

I am developing an Android application with Kotlin in which I need to get the current location of the mobile device. I've already found a way to do it in various examples, but I don't know how to i...
Accent asked 4/5, 2020 at 14:12

1

I have spent the hole week trying to add hilt dependency injection to my sample note application, android studio have been throwing on me error after an error.It got me mad, any way, in AppModule i...
Hygienist asked 3/10, 2022 at 21:27

2

Solved

in Clean Architecture we have use cases as business logic rules. but we can also call functions in the repository directly so we don't need use cases. what are the reasons behind this? sample use c...
Tactic asked 12/10, 2022 at 7:46

1

From what I've understood from Clean Architecture, every layer can directly depend only on internal layers and, related to external layers, only abstractions are allowed to be set as a dependency, ...
Edveh asked 12/10, 2022 at 2:44

2

Solved

Recently I’ve been rethinking my android architecture project, trying to adapt it to a more “clean architecture”, specifically, the kind of design suggested by “Uncle Bob”. Which it involves seve...
Otoscope asked 25/8, 2015 at 10:32

3

Solved

I have the following folder structure for my application app core features feature1 domain entities entity1 entity2 entity3 entity4 entity5 entity6 data models model1 model2 model3 ...
Laicize asked 28/9, 2022 at 13:34

2

I'm setuping a C# Asp.Net Core Api that will grow quite a bit in the future. So I'm trying to respect the Clean Code architecture, with my domain in the center without any dependences and everythin...
Burglarious asked 24/3, 2022 at 9:35

1

My requirement is to display the notes in pages using clean architecture along with offline suppport. I am using the Paging library for pagination. And below is the clean architectural diagram for ...

1

I was wondering what is the exact application of UseCase in Clean Architecture. Since, nowadays when you have a remote data source or rest API, the heavy processes are done on the server-side so yo...
Sprit asked 26/12, 2021 at 7:48

1

I've been trying to use Reso Coder's Flutter adaptation of Uncle Bob's Clean Architecture. My app connects to an API, and most requests (other than logging in) require an authentication token. Furt...

3

I'm trying to apply Clean Architecture in my PHP application. At the moment I have my business logic entity User and service UsersService. UsersService collects all of the use cases related to the ...
Testimonial asked 21/11, 2018 at 20:22

© 2022 - 2024 — McMap. All rights reserved.