Skip to main content

All Questions

Tagged with
1vote
1answer
94views

How to deliver static frontend via CDN (https) to customer for an on-prem client (http)

Our customers have specific backend programs running on their local machines with no access to the internet, we want to deliver a UI to them to help visualizing their backend(s). The customers ...
John Whilton's user avatar
0votes
3answers
1kviews

Backend to client communication: WebSocket or Message Queue?

I have a hobby project, for simplicity imagine a poker game, consisting of a backend (Spring) and a client application (Flutter) where the client can join rooms in which he can take a seat. The client ...
mvi's user avatar
1vote
4answers
618views

How exactly is the cancellation token mechanism implemented over HTTP?

In a web application with a frontend and a backend part, how exactly is the cancellation token mechanism implemented over HTTP? HTTP is a stateless protocol and it does not allow "sharing" ...
Val's user avatar
  • 177
1vote
3answers
385views

frontend server obtain data from backend server, or frontend server return page with javascript that obtain data from backend server?

I'm currently learning how to separate frontend server and backend server. However, i'm not sure which approach should i take between the two Frontend server obtain data from backend server and ...
LLL's user avatar
  • 111
1vote
1answer
810views

How can we remove business logic from the frontend for complex, highly interactive UI's? Should business logic always live exclusively on the backend?

I have a UI for a tool with a fair amount of user interaction. Imagine a sports tournament predictor where you select which team will finish 1st in the group, 2nd in the group etc., with the winners ...
MSOACC's user avatar
1vote
2answers
662views

Whose job actually is to process data in the database to become something like a chart in frontend?

I'm new here, so please be gentle. I've been having issues at my workplace about the front-end team demanding me as a backend to provide every piece of data that has to be displayed in the front end. ...
Alif Irhas's user avatar
41votes
6answers
20kviews

Is the frontend or backend (API) responsible for formatting data in a specific locale?

In our company we had a discussion whether formatting data in a certain locale is the responsibility of the frontend application or of the API that provides data to it. Which of the following ...
Dario's user avatar
  • 1,065
0votes
2answers
1kviews

Front end (or View) classes compared to back end classes

I am developing an E-Commerce Web application using C# (back-end) and JavaScript (front-end) for a computing shop. This application mainly displays each stored computer, and all information about it (...
X Y's user avatar
  • 321
0votes
4answers
2kviews

Frontend/backend SPA communication: how to handle a list of string options

I have single page application with an Angular frontend and a Spring REST-backend. What is the proper way to handle a list of string-based options in the fronted the enduser can select from, which ...
yorika90's user avatar
-1votes
4answers
282views

How to avoid the accident that an item price is updated right after a user clicks purchase?

This is not a real scenario. This is just my assumption that such an accident may happen if the the following events really occur in this chronological order First, a user clicked "puchase" ...
Raymond Pang's user avatar
2votes
1answer
775views

Best way to handle and combine client side and server side validations

I want to know if the way that I handle form validations is a good way. What I actually do is a very detailed client side validation to validate each field and with custom error message for the UI ...
Christian LSANGOLA's user avatar
25votes
3answers
26kviews

Should frontend and backend be on separate GitHub repos?

We are new to git, but this fundamental question needs to be sorted out before we can begin. It's two devs who have been working standalone for a while. Now the time has come to adopt git (at the ...
Firsh - justifiedgrid.com's user avatar
-1votes
1answer
597views

Good practices for frontend-backend communication

What are some good practices for handling communication between a frontend and a backend? From what I know in order to keep things loosely coupled you shouldn't just have your frontend have a ...
user14092802's user avatar
-1votes
2answers
164views

How should process be different for front-end vs back-end?

I'm looking for references that might help explain what I've seen in software engineering regarding processes for developing in the front-end vs the back-end. They are both difficult, but I tend to ...
lucidquiet's user avatar
0votes
1answer
528views

What are differences in application architecture in frontend and backend applications?

I'm pretty experienced with developing both frontend as well as backend applications, with a variety of programming languages and frameworks. I know the problem space and concepts involved in both ...
Sven's user avatar
  • 109

153050per page
close