Skip to main content
Software Engineering

Questions tagged [architectural-patterns]

An architectural pattern is a general reusable solution related to the high level structure of software systems. For reusable solutions having a more specific scope (e.g. individual classes/components and their interactions), prefer the tag 'design-patterns'.

Filter by
Sorted by
Tagged with
1 vote
3 answers
164 views

Ensuring proper initialization order in event-driven C++ applications

I'm working on a C++ system where I have a concept of a "Board" object. Each board can have services attached (e.g. UpdateService, LoggingService, etc.). I'm trying to design how these ...
0 votes
2 answers
221 views

Relationship between monolithic architecture and n-tier

I am confused about the relationship between monolithic and n-tier architecture (I have only analyzed 1, 2, 3 levels and tiers). Since n-tier architecture divides the application into logical layers (...
1 vote
4 answers
224 views

Can we consider each microservice as a "small monolith" application? [closed]

I'm just getting started with software architectural patterns. I first analyzed the difference between monolithic architecture and microservice architecture and I had a doubt. Below I report the ...
2 votes
2 answers
2k views

Refactoring a legacy codebase with a god Repository and incomplete Clean Architecture [duplicate]

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 ...
4 votes
1 answer
186 views

Holding state in a service class in MVVM

In my SwiftUI app, I have a UpNextManager view model and a service class called UpNextService which contains many methods to read up next items from disk, write them to disk and much more. The service ...
0 votes
1 answer
136 views

LabVIEW Object-Oriented Scripting Engine

This question is for LabVIEW 2019. Highlighting that fact first because some of the "standard" object-oriented techniques like interfaces, type inference, template specialization, etc. aren'...
5 votes
2 answers
617 views

In a python project, when should you use __init__.py, __main__.py, and just normal .py?

Say I am making a pdf editor app with the following structure: ├── main.py ├── 📂 drawing_functions/ ├── 📂 util/ ├── 📂 GUI/ └── 📂 document_handling/ Each of these folders have a collection of ...
4 votes
2 answers
286 views

How to untangle bounded contexts after a team ownership reorganization?

This is inspired by Eric Evans' presentation about bounded contexts when doing Domain driven design. In his presentation he presents a case where a bank has initially 2 teams that manage 2 bounded ...
-1 votes
3 answers
627 views

Moving from 3-tier architecture to clean architecture

Generally, for a simple project: how do you move from 3-tier architecture to clean architecture? What I'm trying to do here is to get a feedback on how would the developer which understands 3-tier ...
-4 votes
1 answer
114 views

Feedback on custom "Orchestration" architecture [closed]

I've been doing some deep thinking on how to structure code and found myself coming up with a (for me) new pattern. The pattern is based on a highly modular approach with a large focus on indirection, ...
1 vote
1 answer
220 views

REST API with swappable backends

What would be the best way to have a single REST API but with multiple "backends" (Not sure if this is the correct terminology)? Currently we have a basket/cart API that handles product ...
0 votes
1 answer
197 views

How to handle data when source of truth is through API

I am making a webapp that deals with money movement. All the financial actions are done through an API. For example, right now I can create an account for a user, add funds to their account, transfer ...
7 votes
6 answers
1k views

Is a callback function with `this` as an argument a bad practice?

I have a class that has a callback function that gets triggered on some event. The user of the class instance is expected to do stuff on the instance itself, inside this callback function. So I am ...
0 votes
2 answers
378 views

What is a good architecture / design pattern for giving multiple shared attributes in different combinations?

I have a need for many different objects to have various combinations of attributes. For a demonstrative example, a flaming dog would have a dog attribute, a flame attribute, and a tail attribute, ...
0 votes
2 answers
158 views

Allow-Rendering-Prevent-Download Architecture

I am trying to devise a simple system that, with the use of tokens, allows a specific file to be rendered in the client's browser, yet prevents the user agent from being able to download the file. ...

15 30 50 per page
1
2 3 4 5
...
29

AltStyle によって変換されたページ (->オリジナル) /