All Questions
Tagged with web-development design
147 questions
-1
votes
1
answer
158
views
Designing a third-party web solution [closed]
I'm building a third-party solution for web applications, which consists of:
A client-side library
A web server library
A third-party service
I'm getting blocked on some architecture decisions, ...
2
votes
3
answers
857
views
How to Handle Concurrent Refresh Token Requests
I'm developing a web application that uses tokens for authentication. Users often open multiple browser tabs, and each tab has a client-side timer to refresh the authentication tokens before they ...
22
votes
11
answers
9k
views
How is Agile model more flexible than the Waterfall model?
I know one of the differences between Agile and Waterfall is to do with more customer and user feedback, but I'm trying to wrap my head around what makes the Agile/XP model more adaptable to change.
...
2
votes
1
answer
322
views
How do I properly organize JavaScript files for web development?
I am fairly new to web development and have been trying to figure out the best way to organize my JavaScript files for the front-end.
The first approach I started with was "one JavaScript file ...
1
vote
1
answer
217
views
Best Approach for Implementing User Watch Time Tracking
I am currently developing a feature for my web application that tracks the amount of time a user spends on a specific page. Our backend is built with Django, and the frontend is using React and ...
-1
votes
1
answer
51
views
What is the convention for deciding which resource to place an endpoint under? [closed]
I have an endpoint that teachers can use to invite students to a virtual classroom by providing their emails in a list format. Let's call it POST invite-students. I have these four resources:
api/v1/...
3
votes
4
answers
1k
views
Avoiding Synchronous Communication Between Microservices
Something that annoys me when reading about decoupling microservices is that the problem is often stated, with either poorly explained, bad, or no solutions provided, which seems to especially be the ...
0
votes
2
answers
2k
views
Store static data in public folder as json file or directly in .js file?
I'm busy working on a website – somewhat new to this – and I don't quite know where I should store static data: in the public folder as a separate json file, or within the .js file as an object.
In ...
1
vote
2
answers
786
views
Should a client / server share error codes?
I am in two minds about sharing client / server errors codes. We are writing both ends of the system, if our API was external this would not be possible, but that requirement is very unlikely.
So an ...
4
votes
1
answer
697
views
API Design for Error Handling
I'm working on a semi-complex web API, the high level design so far looks like this:
|--------| |------------| |------------|
| |--| | | |
| core | | | | ...
0
votes
0
answers
239
views
Blazor server side or client side, towards backend DB
I'm wondering, although as I think both options are possible.
Currently, there are two versions for Blazor projects in visual studio 2019.
If you want to connect to a backend DB then there are two ...
-1
votes
4
answers
1k
views
Do logic on the backend or front end? When handling the results of a "wizard"?
We are creating a SPA, and thus the frontend is more than just a view for backend generated pages.
Now to create an "entry" you normally press create, and then fill in the data for that ...
4
votes
1
answer
5k
views
Sharing form validation rules between backend and frontend (Having single source of truth)
I'm currently working on a web app using ASP.NET Core (C#) on the backend and Next.js (TypeScript) on the frontend. I have a lot of forms that need to be validated and I don't want to write validation ...
1
vote
1
answer
645
views
when and how to use class responsibility collaboration cards vs sequence diagrams?
I've recently come across CRC cards and sequence diagrams at my university.
Martin fowler has said that sequence diagrams are interchangeable with CRC cards when you're in the design phase of your ...
0
votes
0
answers
2k
views
Is it possible to run an Excel macro-powered file on a server?
I've an Excel file (offline, on my computer) that elaborates medium-large amount of data using VBA Macros. Basically, this Excel macro-powered file works with a person that adds the data to an Excel ...