Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
475 views

Is it okay to combine bff and rest api?

I'm building an application related to donation on streams. And I have such models as "alert" and "alert-template". "alert" is a set of different parameters to understand ...
eugenedrvnk's user avatar
0 votes
1 answer
140 views

Best practices to link, associate, or abstract similar but different entities together

What are the best practices that I can follow that can simplify or help abstract out entity modeling when there are many similar but different entities? I have a large game system with different types ...
user21918's user avatar
  • 111
1 vote
2 answers
415 views

MVC-like architecture: Model-Controller communication of results/status

I'm struggling on designing a solid architecture for my project. In particular, I don't know how to handle the communication between the models and the controllers. My goals are: Following the ...
yes sure's user avatar
1 vote
1 answer
450 views

What design pattern to implement notifications for a .NET application?

I have an ASP .NET web application dashboard that is used to send notifications to several .NET desktop clients. The current implementation is that the web app writes the new notification to a ...
Watchdogs1499's user avatar
0 votes
2 answers
579 views

User-friendly parameter parsing from yaml

Problem I have designed an evaluation tool (in python) and need some help to make it more user friendly. The tool requires ~100 (nested) parameters, which it gets from a yaml file and stores ...
gebbissimo's user avatar
3 votes
1 answer
873 views

Does it make sense to apply interface segregation to a facade?

In my project, we have a couple different back-end APIs/endpoints that are called by the same front-end page at different times. All of these endpoints are sort of related to the overall "theme" or "...
Ryan Palmer's user avatar
1 vote
1 answer
292 views

mongodb queries architecture - resolving lots of nested referenced objects

I have an angular 8 application, with a Python + MongoDB API on the backend. At present, I have 4 collections, namely: Users, Tasks, Companies and Groups. All of these resource types are retrievable ...
Slepton's user avatar
  • 51
1 vote
2 answers
2k views

REST API Client Library Design

I'm working on a reusable client library to abstract a REST endpoint that we use in many of our in-house applications. It is actually split into 3 APIs, and certain endpoints/resources require ...
Michael Guinn's user avatar
3 votes
5 answers
2k views

Which layer should have responsibility for rounding numbers?

I am developing a financial system and want to have a defined policy for rounding monetary values. Given the following layers: View API Entity Model Persistence If I am passing a monetary value ...
James Close's user avatar
1 vote
1 answer
2k views

Why read and write API are good or why not?

While designing a complex system some of my colleges came back with the idea of having two separates APIs, one that will perform the writes into de databases and another one that will only do the ...
Javier Rodriguez's user avatar
10 votes
2 answers
4k views

Alert System Architecture

I would like to create a system which handles alert messages from various programs and can process those alerts to down-wind consumers via email. This would all be contained over one internal network. ...
Christopher's user avatar
14 votes
7 answers
8k views

How to architect user authentication from client applications?

I've been developing an application which will support many users. The thing is I'm unable to figure out, how to authenticate the client/user. I'm building an app like http://quickblox.com/ where I'...
Alok Patel's user avatar