Questions tagged [web-development]

Web development is a broad term for the work involved in developing a web site for the World Wide Web or an intranet.

Filter by
Sorted by
Tagged with
1 vote
0 answers
78 views

With cookie regulations (GDPR) in Europe and Google's phase out of 3rd party cookies, do analysis tools like Mixpanel etc. still work?

With the cookie regulations (GDPR) in Europe and Google's phase out of 3rd party cookies, do analysis tools like Mixpanel, Google Analytics, Heap etc. still work properly and continue to provide ...
user avatar
0 votes
1 answer
284 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 ...
user avatar
  • 75
1 vote
1 answer
58 views

Would invisible custom elements make sense?

The use case I was thinking about was something like this. I want to make a calendar for a month as a custom element, and I don't think passing up all the event data as JSON or something is the best ...
user avatar
0 votes
0 answers
24 views

Outbound HTTPS connection used as inbound control channel

I have an application which is configured through a web management interface accessed from the same network as the application is running on. I've been asked to make it manageable from the cloud using ...
user avatar
  • 101
5 votes
2 answers
525 views

Is "this" in JavaScript out of fashion?

I'm not a frontend dev, but I recall that a few years ago, the this keyword was commonplace in frontend codebases. In recent years, I haven't seen this get used anymore. In the last few frontend ...
user avatar
  • 168
0 votes
0 answers
41 views

gRPC streaming proxy | Architectural decision

I'm building microservices app that supposed to launch tests in separate containers. I also want to stream log messages to frontend and store them in database and I don't know what solution would be ...
user avatar
-3 votes
1 answer
79 views

Are there real examples of using reflection design pattern to achieve partial deployment? [closed]

This site mentions such thing: http://software-pattern.org/Reflection. It says that it is possible to replace part of the application behaviour dynamically. Does it mean that we can achieve partial ...
user avatar
  • 1
0 votes
1 answer
87 views

Passing set of flags from browser to backend by message header or body?

I am exploring two ways of passing certain flags representing user behaviour to the backend. When should I pass flags via headers and update routing based on header, and when is it more appropriate to ...
user avatar
0 votes
1 answer
29 views

Should I check the ownership of every "somethig_id" fields from a POST request?

I have an endpoint API for a POST request in a multi-tenant application, let's say it is for a Payment, where we have to store these fields: tenant_id (this is the account owner) amount date payer_id ...
user avatar
-1 votes
2 answers
101 views

What's the most appropiate http status code for 'not possible' or 'not available' [closed]

I am working on a booking app where I need to book appointments, I want to return the most appropriate HTTP code that says that the booking slot wanted by the user is not available, that it's not ...
user avatar
0 votes
2 answers
194 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 ...
user avatar
  • 151
3 votes
1 answer
144 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 | | | | ...
user avatar
  • 131
0 votes
0 answers
39 views

Should I use ETag Cache on all HTTP Responses?

I was wondering if there is any downside to using E-Tag cache for every request and response. To be more specific, I'm building a data heavy SPA connected to a Laravel API and the client insists that ...
user avatar
0 votes
0 answers
46 views

Is it possible to develop a web server microservice-backend with gRpc/bRpc

I've the experience of development of web servers with Go and Python. I knew that there were some web frameworks, such as Beego, Django. I have used Nginx and Beego/Django to develop and deploy some ...
user avatar
  • 211
0 votes
1 answer
49 views

How to model users in multiple workspaces

In Slack and other apps, a user's email can be tied to multiple workspaces. What’s the best approach to architecting that? Do you list workspace IDs on the user record, or do you maintain a list of ...
user avatar
  • 125
0 votes
0 answers
77 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 ...
user avatar
  • 135
0 votes
0 answers
59 views

Single Page Application with possibly multiple database served from the same API endpoint?

I'm developing a web application that has two main user roles : say role X and role Y. React will be used as the front-end interface, while Django will be used as the API endpoint. Say that it will be ...
user avatar
2 votes
5 answers
126 views

Storing scraping functions code inside a database

We are building a system that scrapes data from many websites (curated list of 200+). Same data is scraped from all websites every fixed amount of time, but every website is required its own unique ...
user avatar
  • 29
0 votes
3 answers
169 views

Should I separate the public and private portions of an application into two separate apps?

So I'm currently running an analysis task for my company. I won't go into too much detail but we are dealing with medical records and other confidential data. Previously this application was only used ...
user avatar
5 votes
5 answers
668 views

How should I handle software requirements as a developer?

I'm a junior web developer at my first company. We have a business analyst that communicates with the sales team and developers. The business analyst is responsible in creating specifications for the ...
user avatar
  • 69
-1 votes
3 answers
141 views

How do web apps provide support without revealing customer data?

I'm on a dev team where the product manager wants to allow internal users to "impersonate end-user and show the site exactly as the user sees it". I argue that this raises security flags and,...
user avatar
  • 149
0 votes
1 answer
70 views

Should integration tests cover calls from web app to API?

My solution consists of an API for data access and a web application that calls it. I have integration tests set up for the API. However, the actual Web application that calls the API is not a part of ...
user avatar
  • 103
0 votes
0 answers
66 views

Web application on multiple domains

I am developing a web application that will be single-tenant (one customer, one server). /security reasons, based on customer requests, one customer has more functions than another.../ (currently web ...
user avatar
0 votes
1 answer
53 views

Anyone have data on impact on UX of shipping profiling build in production to users?

I understand that using the React Profiler in production should have a small or negligible impact on user experience at least for profiling 20-50 (guess) components on a page. I would like to know if ...
user avatar
4 votes
1 answer
252 views

Is module federation the right approach to microfrontends?

Background I'm trying to come up with an approach to building microfrontends. Here are the facts of my circumstance: Team 1: Develops the shell web app called "ShellApp" that will embed (...
user avatar
0 votes
1 answer
114 views

How encrypting website data works

If i wanted to encrypt a password on my website before its sent to the server, would i have to encrypt the password in javascript on the frontend for it to be hidden over the interent or could it be ...
user avatar
0 votes
0 answers
16 views

Abstracting resource permissions in noSQL

I'm building a booking system and my team is currently constructing a web application for the system where a staff member should be able to manage all the bookings related to a user with permission to ...
user avatar
  • 1
1 vote
3 answers
214 views

What cookies are sent to the server during an API call?

I have tried to look this up online a lot but have found no concrete explanation that answers my question hence hoping someone can help me answer my question—- My question revolves around cookies and ...
user avatar
0 votes
2 answers
235 views

How to measure the benefit of replacing big parts of the HTML DOM vs doing a new fresh request?

I am looking for a method to measure the time difference between: the time it takes to load and completely reach TTI for example.com/page-B given that example.com/page-A is loaded. the time it takes ...
user avatar
0 votes
0 answers
36 views

Web rendering - Trying to figure out the different kinds of rendering

I have a background as a full stack web developer, but didn't code professionally speaking for about 8 years, now focusing on technical and/or functional analysis. In the meanwhile, many things ...
user avatar
0 votes
1 answer
90 views

How to architect a collaborative web application for live updates?

When using collaborative applications like issue trackers, planning tools, etc. it can be very frustrating to have to keep hitting refresh to make sure you're viewing the same state as your colleagues....
user avatar
-2 votes
4 answers
339 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 ...
user avatar
  • 1,021
1 vote
1 answer
987 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 ...
user avatar
  • 1,401
0 votes
1 answer
72 views

Is it good practice to use the Django template system and/or its admin site for commercial applications?

As a beginner to web applications and front end stuff, I'm really confused about if it's good practice to use the Django template system and its admin interface in commercial applications. As far as I ...
user avatar
  • 103
-1 votes
1 answer
676 views

How do I know if my nodejs application is stateless or not?

According to documentation from PM: https://pm2.io/docs/runtime/guide/load-balancing/ To make use of its load balancing feature which uses node's clustering to spawn multiple node processes, I need a ...
user avatar
  • 13
0 votes
1 answer
49 views

Sync customers between shop and CRM-system (two-way)

I have a shop system that is based on a MySQL database and over which I have full control. On this system runs my synchronization plugin. And then there is an external CRM system with a fixed API. ...
user avatar
  • 111
1 vote
1 answer
156 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 ...
user avatar
  • 121
3 votes
2 answers
1k views

Solution to notify users Single Page Application (SPA) static resources have updated if users don't refresh their browsers

I need to design a way to notify my user the SPA has updated if they don't refresh their browsers, i.e. if no requests to get index.html is made after the initial load, how do I notify users the ...
user avatar
-2 votes
2 answers
180 views

What should be preferable "architecture" for college website: Responsive vs PWA / Hybrid / Native / Flutter

We have a college management system developed over a decade as and when requirements came along. The project team also comprised of students currently doing graduation in the course. These students ...
user avatar
  • 9
-2 votes
1 answer
98 views

Modify method behaviour at runtime

I have a scenario where user has multiple filters in a web application and a displayed list of items. In the gui it has multiple FilterGUI that he/she can tune interacting in the browser (these are ...
user avatar
  • 9
0 votes
2 answers
272 views

Is it fine to Copy a big chunk of code (function of 11 lines) and past it into my own project?

so I am making a website for myself. I need code about how to get distance from top to an element, and I found it from SO. I'm aware that copy pasting big chunks (a function of 11 lines) of code is ...
user avatar
1 vote
1 answer
42 views

POST-ing lists of new resources to add/merge/remove

I am working on the backend of a web application that exposes a REST-like API to the frontend of the application. Currently, I am exposing a "Users" resource, where each user can be ...
user avatar
0 votes
0 answers
296 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 ...
user avatar
  • 181
0 votes
1 answer
94 views

How would one go about connecting API routes from one GitHub repository to another?

This may be a basic question, but I'm having some difficulty finding an answer online. My project is a MERN application that draws from an existing open-source API. This API utilizes a database that I'...
user avatar
0 votes
1 answer
116 views

Communicating state from the backend to the frontend while the user is logged in

Please note: although this question mentions Angular and Spring Boot (Java), and it would be great to get an answer from someone with experience in that stack, I think this is more of an architectural ...
user avatar
31 votes
10 answers
7k views

What is a good approach to handling exceptions?

I have trouble reconciling "best practices" and real-world approaches to handling exceptions. In my day to day routine, I find myself running into the following examples: try: ...
user avatar
  • 465
-1 votes
2 answers
184 views

Is there a name for this common web application architecture?

It's an architecture where the client-side consumes data from, and sends data to, a back-end REST API. I would like to learn more about it, but I don't know the name of it.
user avatar
2 votes
2 answers
122 views

Authenticate users (REST-API)

What I'm trying to build REST-API using Express and SQLite 5 to 10 authors should be able to post articles to /articles except them, no one is allowed to post anything My approach to build it ...
user avatar
  • 129
4 votes
1 answer
167 views

Accessing Animal not belonging to User: 400, 401, 403, 404, other?

Consider animals being some REST resources. User has animals assigned to him. The endpoint /api/animals/{animalId}/feed is used to feed a given animal by the authenticated user. User should not be ...
user avatar
  • 241
-4 votes
1 answer
125 views

What is the best way to organize the folders and files in my web project? [closed]

I've been doing technical studies in web design for a while. I have developed several web pages, however, I have not published any. This year I plan to publish my first website. I would like to know ...
user avatar
  • 121

1
2 3 4 5
31