Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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 votes
0 answers
19 views

Manage local storage when data is updated [closed]

I have an app where an admin can assign tasks to various users. If one of the users (user A) are logged in somewhere, their number of tasks are assigned to a local storage (so i dont have to call the ...
gerl's user avatar
  • 99
0 votes
2 answers
147 views

Allow-Rendering-Prevent-Download Architecture

I am trying to devise a simple system that, with the use of tokens, allows a specific file to be rendered in the client's browser, yet prevents the user agent from being able to download the file. ...
oldboy's user avatar
  • 103
0 votes
1 answer
157 views

Is it a good idea to serve a Single Page Application as a static site?

I've built a small single-page web application in React and seen that it's possible to serve the app as a static site on something like S3. Previously, I considered using Nginx, but as this is lower ...
Connor's user avatar
  • 159
1 vote
1 answer
128 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 ...
scaryhamid's user avatar
5 votes
4 answers
4k views

Password reset email that is not considered spam

When my website sends emails to set or reset the password, they sometimes don't arrive at the recipient. This problem does not arise for email addresses at large providers (as Google or Microsoft), ...
J Fabian Meier's user avatar
-2 votes
2 answers
169 views

Designing a database schema for a website related to my town's history

I am working on digitizing old photographs, articles, ephemera, etc. related to my town's history, and I've been tasked to put these scans I've made onto a website for the public to see. There are ...
EdmundF's user avatar
  • 13
0 votes
0 answers
33 views

How to Web Distribution like Firebase App Distribution?

I am looking for a way to let Web QA tester to test website with specific version. So, Web QA tester can say things like "this X is broken since version A.B.C". The current test/release ...
Jason Rich Darmawan's user avatar
0 votes
4 answers
309 views

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
  • 167
0 votes
1 answer
304 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 ...
Bear Bile Farming is Torture's user avatar
0 votes
0 answers
49 views

Architecture Design using Queue and JWT Token for session management

I am planning to design a microservice system architecture for a ticketing platform. It will be similar to "TicketMaster". Here is the flow of my architecture: client web browser API ...
Isakkiii's user avatar
1 vote
3 answers
217 views

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
1 vote
3 answers
188 views

Handling a Refactoring Project with Limited Access to Source Code

I recently finished an interview with a company as a web developer. I'm the first and only developer that is about to be hired in this company. They have a web application that was created by a ...
Saud Alghamdi's user avatar
3 votes
1 answer
201 views

Is it good practice to always use "use strict" in modern web apps? [closed]

I'm learning JavaScript and just came across "use strict". It sounds like to me it should always be in play but me being a beginner I was wondering if there are scenarios/environments when ...
Meester Moo's user avatar
1 vote
2 answers
124 views

When writing automated tests for a website relying heavily on a template language, how do I gain confidence while maintaining fast feedback?

I'm working on a website that, for all intents and purposes, functions as a Choose Your Own Adventure book rendered as a single page app (SPA). Starting at the left, this is the user experience: Each ...
Daniel Kaplan's user avatar
2 votes
1 answer
158 views

What is the proper pattern for a singleton SETTINGS class load using composer?

I have a class file Settings.php that loads an ini file and assigns the content to a constant for global access and reducing clutter. The class file contains the logic for loading the settings and ...
theking2's user avatar
  • 141
1 vote
2 answers
216 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 ...
user2190492's user avatar
0 votes
2 answers
107 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 ...
Rain Man's user avatar
  • 109
-1 votes
1 answer
563 views

How should the structure of external API calls in an electron application be designed?

In this scenario, my renderer process' goal would be to make an HTTP request to an external web server and receive responses. My question is: which options below would be more secure, give a future ...
yokus's user avatar
  • 7
0 votes
0 answers
42 views

GRPC request from web client to backend

Suppose there is a third-party application which offers GRPC services with authentication. You want to use these services in your web application. So you will basically use that service behind the ...
Elgin Cahangirov's user avatar
0 votes
1 answer
78 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 ...
Alexey Romanov's user avatar
1 vote
1 answer
97 views

How should I approach the development of an app with an parallel independent library?

I'm currently working on an ERP Blazor WebAssembly app that works alongside its base Razor Class libraries. The app could have some custom pages that aren't the same for all the customers and are ...
ImZac's user avatar
  • 21
-1 votes
1 answer
41 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/...
oamandawi's user avatar
  • 101
-1 votes
1 answer
49 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 ...
Jordan Dantas's user avatar
1 vote
1 answer
91 views

How to develop data bound html with strong typing and intellisense?

I'm a huge believer in the value of Intellisense for showing you what syntax is expected and allowed (and also saving typing, though this is a secondary consideration). When you build a web component (...
Joshua Frank's user avatar
-2 votes
2 answers
451 views

What should my next SemVer version number be?

For a frontend web app version 3.9, we have a visual change that I would constitute as a backwards compatible (as far as the API) new feature. Therefor, my SemVer instinct is to bump the minor version ...
Kyle Vassella's user avatar
-1 votes
1 answer
159 views

Is the BEM methodology in the large project used correctly

I am creating SCSS for the large project, I decided to use BEM methodology. I will have a lot of containers. I have question about BEM and about best practices. My current code: .footer { &...
user avatar
0 votes
1 answer
107 views

How to estimate scaling up costs/resources-needed of a project? [closed]

Let's consider an entrepreneur decides to create a new company like Airbnb, Netflix, etc. The problem is about the software part. He doesn't know how long it takes to create the mobile/web app? How ...
GoodMan's user avatar
  • 109
1 vote
4 answers
830 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 ...
The Corn Inspector's user avatar
0 votes
0 answers
48 views

In (Django) web application should if-else logic be at a high level (view) or a low level (template)?

Given a (Django) web application following the model-template-view model, when returning a template based on an object should if-else logic be in the view or the template? The API endpoint (view) gets ...
M3RS's user avatar
  • 129
1 vote
0 answers
39 views

Storing SQL for table creation

I am currently working on a small web-app stored in a monorepo and using PSQL as database (hosted on GCP). It's my first time working for a web app and I have to create a lot of tables manually such ...
Pierre-Alexandre's user avatar
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 ...
AlePouroullis's user avatar
1 vote
0 answers
154 views

How do I make Design Templates like Canva Templates that are unique but can be modified & exported as an image? Should I use Canvas or WebGL?

Canva has Templates that are unique & can be easily modified by anyone & replaced with their own text, images, etc... I want to build something like that. I have multiple options to use but ...
deadcoder0904's user avatar
-1 votes
1 answer
102 views

How to measure the impact of a website speed optimization

Given: You have a list of opportunities* that may improve the speed metrics of your website. For example Total Blocking Time (TBT) is one metric that heavily impacts the experience of a visitor. You'...
Jeremy Gottfried's user avatar
2 votes
4 answers
539 views

When Is it worth writing your own CRUD generator for project?

I need to make an app for employees & employers. When is it worth writing your own CRUD generator for a project with the aim of process automation? With such a generator I wouldn’t need to create ...
Bekzod's user avatar
  • 129
-2 votes
2 answers
52 views

How to split and estimate work in multi layer application [closed]

So, I'm trying to understand how this is done in real life... If I have a website with an API and a UI, and a User Story comes in like... as a user I want to be able to login that requires changes ...
PedroC88's user avatar
  • 111
1 vote
0 answers
91 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 ...
Horst Walter's user avatar
2 votes
3 answers
612 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 ...
J.R.'s user avatar
  • 95
2 votes
1 answer
170 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 ...
art-solopov's user avatar
1 vote
0 answers
33 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 ...
Steve's user avatar
  • 111
6 votes
2 answers
569 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 ...
Newb's user avatar
  • 178
-2 votes
1 answer
173 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 ...
Mike's user avatar
  • 11
0 votes
1 answer
616 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 ...
Akash Ranjan's user avatar
0 votes
1 answer
38 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 ...
jacopo.galli's user avatar
-1 votes
2 answers
1k 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 ...
nermineslimane's user avatar
1 vote
2 answers
672 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 ...
dendog's user avatar
  • 201
4 votes
1 answer
502 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 | | | | ...
Stack's user avatar
  • 151
0 votes
0 answers
146 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 ...
Ali Rahimi's user avatar
0 votes
1 answer
129 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 ...
Nth.gol's user avatar
  • 125
0 votes
0 answers
211 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 ...
Peter's user avatar
  • 137
2 votes
5 answers
143 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 ...
Dana 's user avatar
  • 29

1
2 3 4 5
32