Newest Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
123 views

Serving several external APIs in Django + Angular application

I'm working on a web-based app that uses Django and Angular. This app uses several external APIs to fetch environmental data from different monitoring networks. We then use these data to perform ...
stray_dog's user avatar
-4 votes
2 answers
191 views

How to design a Transfer-Encoding: chunked parser of Uint8Array's in JavaScript? [closed]

I'm working on implementing parsing a series of Uint8Arrays that contain Transfer-Encoding: chunked data sent from the client using WHATWG Fetch over a single connection. For example, writing 1 MB ...
guest271314's user avatar
2 votes
2 answers
213 views

Is it a violation of the three-tier architecture if I inject one service into another inside the logic layer?

I am a beginner programmer with little experience in building complex applications. Currently I'm making a messenger using Python's FastAPI for the back-end. The main thing that I am trying to achieve ...
i walk away's user avatar
6 votes
6 answers
779 views

Good way to represent connectivity between nodes of tree (outside of tree hierarchy)?

I have a set of data carrier objects represented using vertices in a strict tree hierarchy. I also have the following requirements: some vertices should be "linked" to other vertices ...
Andorrax's user avatar
2 votes
2 answers
111 views

When using Clean Code with Ports and Mappers: which layer declares the Entity (Aggregate) factory interface and which one implements it?

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
-1 votes
1 answer
102 views

How to organize struct-based "methods" in C similar to object-oriented style? [closed]

So I was coding in C for a while now, getting used to language syntax and different styles. Implemented a couple of simple data structures, algorithms and tried my skills in making Minesweeper clone. ...
MightyBeast's user avatar
2 votes
7 answers
273 views

I'm looking for a design principle referring to using a system for it's intended purpose

Recently a junior team member was asked to use a survey tool to act as a system by which fuel delivery drivers could submit their Bill of Lading to our dispatch team for record collection after ...
David Stratton's user avatar
1 vote
3 answers
417 views

Practicing DDD from the biggest modules to the smallest widgets

I have a frontend project using VueJS and TS and I structured it using DDD. So far, I have some modules (bounded contexts, domains - use the term you prefer) which are used in two ways: some modules ...
Bernardo Benini Fantin's user avatar
1 vote
3 answers
99 views

How should we design an IoT platform that handles dynamic device schemas and time-series ingestion at scale (100K writes/min)? [closed]

We’re a small dev team (3 full-stack web devs + 1 mobile dev) working on a B2B IoT monitoring platform for an industrial energy component manufacturer. Think: batteries, inverters, chargers. We have 3 ...
p_escobr's user avatar
0 votes
1 answer
70 views

Best practices for serving encrypted files in Laravel?

I'm building a Laravel-based web application that functions as a personal online photo archive. Each user uploads and manages their own private collection of images. These images are encrypted at rest ...
TimoFran's user avatar
2 votes
1 answer
268 views

Visibility between UML packages

I have been reading the book "OCUP 2 Certification Guide : Preparing for the OMG Certified UML 2. 5 Professional 2 Foundation Exam". Where-in I am unconvinced with the answer option provided ...
Nerdy's user avatar
  • 131
4 votes
3 answers
229 views

The applicability of functional core - imperative shell to a cli program which contains a wrapper around a binary

Not long ago while I was exploring for solutions to test without mocks I've found out about the functional core, imperative shell architecture. It sounds great, I also think that it would play nicely ...
 sentientbottleofwine's user avatar
3 votes
2 answers
275 views

"dimension" vs "extent", "axis" vs "dimension" - when should I use which term?

I'm defining a small API involving both uni-dimensional and multi-dimensional data. In addition to representing the data itself, I also have function/methods/operators for creating a new multi-...
einpoklum's user avatar
  • 2,808
0 votes
6 answers
255 views

Design pattern for exposing different parts of interface to different entities

In a certain program I would like to have three objects, say, a, b, and c, with c being a shared private member (sub-object) of a and b. The data between the three objects shall only go this way: a &...
Alexey's user avatar
  • 958
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 ...
bielu000's user avatar
  • 343

15 30 50 per page