Questions tagged [decoupling]
Decoupling is the reduction of dependencies between computational parts.
decoupling
375
questions
0
votes
0
answers
40
views
Decoupling the TCP receiving/sending and the user level messages processing
The code snippet provided below is utilized for decoupling the TCP receiving/sending and the user level messages processing.
The Server class functions as a TCP server responsible for receiving and ...
0
votes
0
answers
9
views
Decoupling REST API processing to other microservices through MQ
I have a platform that has some requirements including the following:
Generating PDF/Image files from raw data in async.
Uploading these files to DB and/or AWS S3 Buckets
Complex RBAC verification ...
0
votes
0
answers
23
views
Flutter Clean Architecture Question about Dependencies
I've been working on a project in Flutter trying to follow Clean Architecture principles. I feel like I have a solid understanding of the various layers (data, domain, and presentation), but I am ...
-1
votes
0
answers
16
views
SerilogAdapter needs More Encapsulation & Information Hiding in order to Completely encapsulate & hide 3rd-party Seilog API modules from Client code
Here is info about our technical development environment :
Microsoft Visual Studio 2022
.NET 6.0
C# 10
Serilog
Serilog.Sinks.Datadog.Logs
Serilog.Sinks.PeriodicBatching
I created an Adapter ...
0
votes
1
answer
146
views
How to decouple Swift Data from a SwiftUI view in order to make the view available as a Swift Package?
I am working with Swift Data (iOS 17 or higher only) and SwiftUI on iOS.
This question is probably only worth reading (or deciding whether to vote to close!!!) if you are highly active with this ...
0
votes
0
answers
31
views
How can I decouple them?
I'm working on a simple key press assistant, and I have a CommandExecutor and a Script Loader. My interface for the script executor is defined like this:
class CommandExecutor(ABC):
@...
0
votes
0
answers
31
views
Decouple client (browser) from Vue frontend and Python backend running on Kubernetes containers
I have a Vue frontend application that runs on a Kubernetes container. This application communicates with a backend server running on a different Kubernetes container. The frontend Vue application ...
0
votes
0
answers
39
views
Next.js with Drupal, X-Frame-Options: SAMEORIGIN, "Unsupported Media Type" while post using axios
I am working on Drupal with Next JS in the same origin. I am posting data from Next.js to the Drupal site using the following function and data. I got an "unsupported media type" error.
As ...
0
votes
0
answers
74
views
Drupal Commerce API with Decoupled Drupal
I'm using Drupal commerce + commerce API modules in decoupled Drupal project. When doing the checkout frontend (in Angular) will call some third-party APIs and get some discounts for each order items. ...
0
votes
0
answers
26
views
is there anything like babel transpiler for flutter
I created a couple or reusable flutter widgets that uses flutter basic widgets such as Container,Row,Column and Stacks...
I'm wondering if exist such a VSC plugin or a cli to do same as babel to ...
0
votes
1
answer
105
views
How to prevent coupling between our code and third party libraries?
Imagine we want to use the following library like this:
use GrahamCampbell\GitHub\GitHubManager;
class Foo
{
private GitHubManager $github;
public function __construct(GitHubManager $github)
...
2
votes
1
answer
83
views
Switching long inheritance tree for composition / agreggation
I have a program in Java which uses a lot of inheritance, and it's making it troublesome to modify and test the final derived classes
So I'm refactoring, attempting to switch from inheritance to ...
0
votes
1
answer
155
views
Proper way to decouple components
I am working on the communication of two components (using Vue 2), where one is a button, which can have states such as initial, loading, and concluded (successfully or not), and for each state of the ...
0
votes
4
answers
100
views
Is having a Dictionary with one entry per member of an Enum a bad design choice?
I have an Enum
enum Product{
Knife,
Fork,
Spoon
}
and a Dictionary with one entry per Enum member:
var productPrices = new Dictionary<Product, double>(){
{Product.Knife, 10},
{Product.Fork, 10}...
0
votes
0
answers
177
views
Binding delegates from owner vs in component to prevent coupling
While researching the topic of Coupling, I still have a little misunderstanding about what counts as less / more Coupling. I will take as an example two options for setting delegates in Unreal Engine ...