We started working on a project recently where we had to build functionality around auth and users. We decided on dividing the responsibilities as : ...
We started working on a project recently where we had to build functionality around auth and users. We decided on dividing the responsibilities as : ...
I have a project consisting of 2 parts: ASP.NET API using Entity Framework .NET MAUI Client App I use DTOs for comunication from/to the API i ...
you all say, object oriented programming is about encapsulation, data hiding. Let's given this example: this is a bad code then, so let's refaktor: ...
I am currently migrating a Vue2 Project to Vue3. With Vue2 I've always had my component parts split up in separate files. I.e. the component's Vue tem ...
. Answers to this question are eligible for a +50 reputation bounty. Sa ...
My understanding of the orphan rule of interest is that: For any impl of a Trait on a Type, either the Trait or the Type must be defined in the sa ...
I am working on an ASP.NET Core Web API project using EF core and would like to add Repository and Service Layers to my application to achieve Separat ...
I’m writing a pretty complex app in React/Redux/Redux Toolkit, and I came across a situation which I’m not really sure how to handle. I found a way to ...
I would like to improve my skills in Node JS. Right now I'm interested in how to cleanly separate the service and router layers of an application so I ...
I'm almost finishing migrating my app to MVVM with databinding and livedata (still java though) and now I have much more than a decent architectured A ...
I am new to react and I find it sore in the eyes to look at the component flooded with lots of functions and variable initializations together with th ...
I have a Java application with a Swing GUI that uses a swing worker to pull data out of a database (e.g., SQLite or MySQL) to fill a JTable. The swing ...
I really like the concept of event sourcing. To replay specific events to calculate a domain model state is just wonderful. When i read into Event So ...
I've am looking for a design pattern to provide separation of concerns and keep the my operations segregated. In my application I'm getting say 1000 ...
I have a .NET 5 application with multiple layers: Web, Application, Domain & Infrastructure. So far I've been trying to keep concerns separated be ...
Assume I have an Angular app with two views. The first view shows a preview of some object, let's say a car, and the other view shows detailed informa ...
Implementation hiding demands us to hide the internal structure of a class from the user. Let's state for the sake of simplicity: reduce the number of ...
I always had this confusion which I couldn't reason more. Every time I think about it I go confused. It is also hard to put in one line that's why th ...
Normally in Angular I am used to treating html events that lead to component output firing in the manner like in the example: The reason for havi ...
So I am working on a DApp in Solidity and would like to make use of Separation of Concerns. I have a Contract that adds and removes Users. My Users ar ...