Questions tagged [web-applications]
Web applications are applications that are accessed over the "web", which can mean the Internet, or an internal network (an intranet).
1,090 questions
1
vote
2
answers
241
views
What is a good strategy to avoid creating duplicate profiles for many individuals in a database?
I'm designing an application that is going to receive tens to hundreds of thousands of requests. Users submit requests on behalf of Customers (which are singular persons). Each request will contain ...
0
votes
1
answer
131
views
Best Practice for Managing Payment Subscription Tier Status
I'm trying to understand the best way to approach how to manage and update a user’s payment subscription status in a web application. Let’s say you have a subscriptions table in a database that is ...
1
vote
0
answers
489
views
How to manage user session in WebSocket
I'm developing a WebSocket server in Go where I read messages from clients and forward them to a tunnel. I want to integrate session management:
Check if a user's session is still valid.
Handle ...
1
vote
1
answer
140
views
Fixed vs dynamic properties for a system with customization and changing requirements
Edit: writing a more specific question, as per comment, I guess my question boils down to: are dynamic properties designs appropriate for applications with rich UI and complex business logic (as ...
-4
votes
1
answer
294
views
How to stop showing SQL queries of a web application in Browser's Inspect elements?
I have a web application written in express.js and php 8.2. Currently, anyone can right lick in chrome or edge chromium browser and go to inspect element>>network tab and click on data ...
1
vote
1
answer
986
views
Deciding between logic on the front-end or back-end
Before I begin, I want to say I am very new to this and I am a junior but also solo developer with no seniors to ask for guidance. Please feel free to explain to me that I am not approaching it ...
0
votes
1
answer
68
views
Best way to approach connection between game server to client connection with Django web server as middleman
I have a web game design question. I am trying to build a multiplayer web game with non-intensive graphics (ex tic-tac-toe, chess). I am trying to figure out how to take already authenticated users in ...
0
votes
0
answers
83
views
Distributed caching system that scales and enables real-time UI updates?
I have a NextJS app for which I want to cache data from our backend APIs to reduce the load when we have high volumes of concurrent users scrolling through (or search) years-worth of historical data.
...
-1
votes
1
answer
74
views
Processing messages sequentially in SQS FIFO
I need to process status changes related to an entity in a sequential order. Not in parallel.
Will an SQS FIFO Group with MessageGroupId = UserId be enough?
Let's say I have the folowing messages:
...
1
vote
1
answer
923
views
Is 10 KB a large amount of data to pass around each time a user makes an API call?
Each time a user of my APP / website interacts with the APP such that it makes an API call to the backend, the backend will make an API call to the mongoDB database to retrieve the document that holds ...
1
vote
1
answer
227
views
Safe Plugin Architecture for Python Web API
I am making a web application for parameterized procedural world generation. Given the computational resources involved, this application involves a server backend for generating the world with an API ...
4
votes
1
answer
954
views
In a web application, should "private" user images be protected with authentication/authorization?
When creating a web application that will allow users to upload images and mark them as private, should those images be protected by authentication and authorization mechanisms against access by other ...
1
vote
2
answers
325
views
Best way to protect action links from CSRF
An application has a multifactor login.
The user logs in with its e-mail and password, and then the following screen asks for a one time password received via e-mail or generated by a mobile app.
In ...
0
votes
2
answers
138
views
Resolvers and Adapters
In the web development application context, when someone says resolver, they talk about getting the data and modify it and then return it?
What about adapters? are adapters essentially resolver ...
-2
votes
1
answer
648
views
Storing a large number of user permissions [closed]
I am refactoring an old application which has about 200 user permissions.
Based on access permissions for the user, menu items for webpages will be Enabled or not.
Permissions are also checked on the ...
0
votes
1
answer
187
views
How can a web application distinguish between sessions from trusted and non-trusted devices?
For compliance reasons, we want admins of a web app to work on it from devices (phones or computers) approved by IT. Or rather, they can work from other devices, but should get logged out quickly, so ...
-1
votes
1
answer
137
views
Options for sharing frontend workflows across disparate applications
I am working on a form building feature that will be used across different applications within our organization. Since each app has a slightly different stack we are planning to implement this feature ...
1
vote
2
answers
204
views
Microservice Granularity: Should a service ever be broken into smaller services with a shared database?
I'm trying to understand the size of a micro service.
Fake situation: Data is read 1,000,000 times for every write. So when you scale out you generally only care about scaling out for the 'GET' ...
1
vote
0
answers
482
views
Do we really need a message brocker in WebSocket system?
I'm engineering architecture of a new web based software.
I've never worked on high-scale softwares before and I'm reading a lot about it.
To increase client-side speed and reduce load on servers, and ...
0
votes
0
answers
327
views
How to store multiple-users authorization tokens from a single service if I can't use a persistent storage?
I'm new to "web development" so I don't know much about ways to store data.
I'm trying to build a web app using Python-Django which accesses private data from multiple accounts. The data ...
-3
votes
1
answer
82
views
Best Practices for Designing Around Presence/Absence of Home Button on Tablets?
Older iPads used to have a home button:
Newer iPads don't have it. They have a line on the screen you're supposed to swipe up to get to the home screen:
Now if an app has a row of links or buttons ...
1
vote
1
answer
452
views
How to present my Actors and Objects inside Sequence diagram for an Online Management Exam system
I am working on an online exam management system, which have those main actors:-
Super Admin. Can manage questions/answers under all functional areas.
Functional Admin. Can add questions/answers ...
2
votes
3
answers
715
views
How do you reduce security risks when using NPM packages in commercial Web development?
This is a question for software engineers who are tasked with managing the development cycle for a Web application using NPM packages for deployment on a customer's Intranet or the Internet.
This is ...
-1
votes
1
answer
72
views
Navigating a many-to-many relationship and determining price from a bulk API Call
I think it will help to give a little context, not only about the DB architecture but the actual product. I am building a business where we will be selling pallets of liquidated merchandise. Think a ...
0
votes
1
answer
164
views
Architecture for SaaS that can run in my company's cloud or in clients' networks [closed]
I am working on a portable SaaS web application that has these requirements:
The application can run as a cloud service hosted by my organization.
Clients can run the application in their own on-...